@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');



html {
    font-size: 62.5%;
    
}

body {
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    font-size: 1em;
    
}

#wrap {
    
    overflow: hidden !important;
}


ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
}

#header {
    position: relative;
    width: 100%;
    height: auto;
}

#header .bg_video {
    width: 100%;
    height: 100vh;
    position: fixed;

    top: 0%;
    left: 0%;
    background-repeat: no-repeat;
}

#header .bg_video video {
    /* position: absolute; */
    /* top: 0;
    left: 0; */
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* 선생님이 해준거는 position 지우고, 위에 .bg_video에 height: 120vh; */
}

#header .bg_color {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0%;

}

#header .gnb {
  z-index: 9;
  position: fixed;
  padding: 0 7.5%;
  height: 5rem;
  width: 100%;
  z-index: 119;
  opacity: 1;
  visibility: visible;
  transition: 0.3s;
}

#header .gnb ul {
  width: 85%;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between !important; 
}

#header .gnb ul li {
  cursor: pointer;
}


#header .gnb ul li a {
  font-size: 2.5rem;
  color: rgb(0, 0, 0);
  font-weight: 500;
}

#header .gnb ul .menu_works a {
  font-size: 2.5rem;
  color: rgb(92, 92, 92);
  font-weight: 500;
}

#header .gnb ul li:hover a {
}

#container {
    width: 100%;
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 19;
    background-attachment: scroll;
}

#container .side_bg {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  /* background-color: rgba(44, 44, 44, 0.7); */
  z-index: 59;
}


#container .work_text {
    width: 100%;
    height: 32.4%;
    background-color: rgba(163, 163, 163, 0.815);
    display: flex;
    justify-content: flex-start;
    position: absolute;
    top: -33%;  
    z-index: 9;
    transition: 1s;
}

#container .work_text p {
  width: 600px;
  /* 가정한것 */
  font-size: 2rem;
}

.work_text .cancel_img {
    width: 3vw;
    height: 3vh;
    position: absolute;
    right: 0;
}

.work_text .cancel_img img {
    width: 100%;
    opacity: 1;
}

#container .c_cont {
    width: 85%;
    height: 116rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* background-color: brown; */
    position: relative;
    top: 0;
    transition: 1s;
}


.c_cont .c_box1 {
    width: 20rem;
    height: 20rem;
    background-color: rgba(255, 127, 80, 0);
    position: relative;
    padding: 1% 1%;
    box-sizing: border-box;
}

.c_box1 p {
  font-size: 2rem;
  text-align: center;
  line-height: 2.5rem;
  color: rgb(180, 180, 180);
}


.c_cont::-webkit-scrollbar {
    display: none;
    width: 0 !important;
}





/* 박스안에 About This Work */
#container .c_box1 .about_this_work {
    position: absolute;
    top: 60%;
    left: 13.5%;
}

#container .about_this_work p {
    font-size: 2.2vh;
    z-index: 29;
    cursor: pointer;
    text-decoration: underline;

}


/* 제이쿼리 */

.active .work_text {
  top: 0 !important;
}

.active .c_cont {
   top: 35rem !important;
   height: 143rem;
}

.active .about_this_work {
   transition: 1s;
}

.active .side_bg {
  right: 0 !important;
}

.gnb.active {
  visibility: hidden !important;
  opacity: 0 !important;
}









/* 배경의 지지직 효과들  */
/* .outer-scratch, .inner-scratch {
    height: inherit;
  } */
  
  /* .outer-scratch:after, .inner-scratch:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 100px;
    opacity: .003;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/662025/scratch.png') repeat center center;
    -webkit-animation: scratch 0.45s steps(1) infinite;
    animation: scratch 0.45s steps(1) infinite;
  } */
  
  /* .inner-scratch:after {
    left: 30%;
    -webkit-animation: inner-scratch 4s infinite;
    animation: inner-scratch 3s infinite;
  }
  
  .grain:after {
    content: '';
    width: 100%;
    height: 120%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.11;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/662025/grain.jpg') repeat center center;
    -webkit-animation: grain 0.5s steps(1) infinite;
    animation: grain 0.5s steps(1) infinite;
  }
 */




/* Film Animations */

/* 
@keyframes

grain {
  0%, 100% {
    transform: translate(0, 0, 0);
  }

  10% {
    transform: translate(-0.1%, -0.1%);
  }

  20% {
    transform: translate(3, -0.21%);
  }

  30% {
    transform: translate(-1.2%, 10);
  }

  40% {
    transform: translate(-1.5%, -1.5%);
  }

  50% {
    transform: translate(8, -1.3%);
  }

  60% {
    transform: translate(-0.8%, 8);
  }

  70% {
    transform: translate(2, 4);
  }

  80% {
    transform: translate(-0.12%, -0.12%);
  }

  90% {
    transform: translate(5, -1.3%);
  }
}



@keyframes 


scratch {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.005;
  }

  10% {
    transform: translateX(5%);
  }

  20% {
    transform: translateX(-1.2%);
  }

  30% {
    transform: translateX(8%);
        opacity: 0.009;
  }

  40% {
    transform: translateX(3);
  }

  50% {
    transform: translateX(-0.7%);
    opacity: 0.002;
  }

  60% {
    transform: translateX(10%);
  }

  70% {
    transform: translateX(-1.5%);
  }

  80% {
    transform: translateX(7%);
    opacity: 0.012;
  }

  90% {
    transform: translateX(-0.5%);
  }
}



@keyframes 


inner-scratch {
  0% {
    transform: translateX(0);
    opacity: 0.02;
  }

  10% {
    transform: translateX(-1%);
  }

  20% {
    transform: translateX(-1%);
  }

  30% {
    transform: translateX(-9%);
  }

  40% {
    transform: translateX(0%);
  }

  50% {
    transform: translateX(-3%);
    opacity: 0.02;
  }

  60% {
    transform: translateX(-1.5%);
  }

  70% {
    transform: translateX(-3%);
  }

  80% {
    transform: translateX(-8);
    opacity: 0.02;
  }

  90% {
    transform: translateX(-0.5%);
  }

  100% {
    transform: translateX(-1.5%);
  }
} */