/* 폰트 불러오기 */
/* 경기천년바탕 */
@font-face {
    font-family: 'GyeonggiBatang';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/GyeonggiBatang.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
/* 나눔바른고딕 */
@font-face {
    font-family: 'NanumBarunGothic';
    font-style: normal;
    font-weight: 400;
    src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.eot');
    src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.eot?#iefix') format('embedded-opentype'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.woff') format('woff'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.ttf') format('truetype');
   }
   
   @font-face {
    font-family: 'NanumBarunGothic';
    font-style: normal;
    font-weight: 700;
    src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.eot');
    src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.eot?#iefix') format('embedded-opentype'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.woff') format('woff'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.ttf') format('truetype')
   }
   
   @font-face {
    font-family: 'NanumBarunGothic';
    font-style: normal;
    font-weight: 300;
    src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.eot');
    src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.eot?#iefix') format('embedded-opentype'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.woff') format('woff'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.ttf') format('truetype');
   }
   
   .nanumbarungothic * {
    font-family: 'NanumBarunGothic', sans-serif;
   }

   body {
       font-family: 'GyeonggiBatang';
   }
   * {
       margin: 0;
       padding: 0;
       list-style: none;
       text-decoration: none;
   }

   .sidebar{
       position: fixed;
       right: -250px;
       width: 250px;
       height: 100%;
       background: #FFFFFF;
       transition: all .5s ease;
   }

   .sidebar header{
       width: 20px;
       height: 20px;
       display: flex;
       align-content: flex-end;
       user-select: none;
       background: #FFFFFF;
   }

   .sidebar ul a {
       display: block;
       height: 100%;
       width: 100%;
       line-height: 65px;
       font-size: 20px;
       color: #0D1117;
       padding-right: 40px;
       box-sizing: border-box;
       border-top: 1px solid rgba(255,255,255,.1);
       border-bottom: 1px solid #0D1117;
       trainsition: .4s;
   }

   ul li:hover a{
    padding-right: 50px;
   }

   #check {
       display: none;
       display: flex;
   }

   check #btn, label #cancel{
       position: absolute;
   }

   label #btn {
       right: 40px;
       top: 25px;
       font-size: 35px;
       transition: all .5s;
   }

   label #cancel{
       z-index: 1111;
       right: -195px;
       top: 17px;
       font-size: 30px;
       color: #0D1117;
       transition: all .5s ease;
   }

   #check:checked ~ .sidebar{
       right: 0;

   }

   #check:checked ~ label #btn{
    right: 250px;
    opacity: 0;
    pointer-events: none;
   }

   #check:checked ~ label #cancel{
    right: 195px;  
   }

   #check:checked ~ section{
    margin-right: 250px;  
   }

   section {
       background: url(icon/bg_test.png) no-repeat;
       background-position: center;
       background-size: cover;
       height: 100vh;
       transition: all .5s;
   }


