/*main*/

body {
    background: #000;
}


a {
    cursor: pointer;
    color: white;
}

video {
  object-fit: cover;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

audio {
    max-width: 256px;
    height: 42px;
}

.nav {
    position: relative;
    height: 100%;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    font-family: 'Rye', cursive;
    color: white;
    z-index: 1;
  }

.title {
    float: left;
    position: fixed;
    font-size: 54px;
    width: 800px;
}

.mx-auto {
    margin: auto;
}

.title:before {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: 1px 0 #4e73df;
    top: 0;
    color: #5a5c69;
    background: #f8f9fc;
    overflow: hidden;
    clip: rect(0,900px,0,0);
    animation: noise-anim-2 3s infinite linear alternate-reverse;
}
.title:after {
    content: attr(data-text);
    position: absolute;
    left: 4px;
    text-shadow: -1px 0 #e74a3b;
    top: 0;
    color: #fff;
    background: #000;
    overflow: hidden;
    clip: rect(0,900px,0,0);
    animation: noise-anim 2s infinite linear alternate-reverse;
}
.text-gray-800 {
    color: #fff!important;
}
.mb-5, .my-5 {
    margin-bottom: 3rem!important;
}
.lead {
    font-size: 1.25rem;
    font-weight: 300;
}
@-webkit-keyframes noise-anim{
  0%{clip:rect(89px,9999px,100px,0)}
  5%{clip:rect(4px,9999px,62px,0)}
  10%{clip:rect(43px,9999px,16px,0)}
  15%{clip:rect(2px,9999px,58px,0)}
  20%{clip:rect(12px,9999px,6px,0)}
  25%{clip:rect(89px,9999px,25px,0)}
  30%{clip:rect(15px,9999px,38px,0)}
  35%{clip:rect(57px,9999px,77px,0)}
  40%{clip:rect(24px,9999px,72px,0)}
  45%{clip:rect(81px,9999px,3px,0)}
  50%{clip:rect(93px,9999px,26px,0)}
  55%{clip:rect(68px,9999px,85px,0)}
  60%{clip:rect(43px,9999px,28px,0)}
  65%{clip:rect(44px,9999px,11px,0)}
  70%{clip:rect(17px,9999px,33px,0)}
  75%{clip:rect(74px,9999px,66px,0)}
  80%{clip:rect(74px,9999px,4px,0)}
  85%{clip:rect(82px,9999px,31px,0)}
  90%{clip:rect(83px,9999px,78px,0)}
  95%{clip:rect(23px,9999px,57px,0)}
  100%{clip:rect(72px,9999px,8px,0)}
}

@keyframes noise-anim{
  0%{clip:rect(89px,9999px,100px,0)}
  5%{clip:rect(4px,9999px,62px,0)}
  10%{clip:rect(43px,9999px,16px,0)}
  15%{clip:rect(2px,9999px,68px,0)}
  20%{clip:rect(12px,9999px,6px,0)}
  25%{clip:rect(89px,9999px,25px,0)}
  30%{clip:rect(15px,9999px,38px,0)}
  35%{clip:rect(57px,9999px,77px,0)}
  40%{clip:rect(24px,9999px,72px,0)}
  45%{clip:rect(81px,9999px,3px,0)}
  50%{clip:rect(93px,9999px,26px,0)}
  55%{clip:rect(68px,9999px,85px,0)}
  60%{clip:rect(43px,9999px,28px,0)}
  65%{clip:rect(44px,9999px,11px,0)}
  70%{clip:rect(17px,9999px,33px,0)}
  75%{clip:rect(74px,9999px,66px,0)}
  80%{clip:rect(80px,9999px,4px,0)}
  85%{clip:rect(62px,9999px,31px,0)}
  90%{clip:rect(73px,9999px,78px,0)}
  95%{clip:rect(23px,9999px,57px,0)}
  100%{clip:rect(82px,9999px,8px,0)}
}

.replay {
    right: 0;
    margin-right: 2rem;
    position: fixed;
}

.replay:hover{
    border-bottom: #fff solid 2px;
    transition-duration: 0.5s;
}


.left_text {
    position: fixed;
    display: inline-block;
    margin-left: 2rem;
    bottom: 16rem;
    color: white;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 12px;
    transform: rotate(90deg);
    transform-origin: bottom left;
}

.right_text {
    position: fixed;
    width: 100vh;
    text-align: center;
    margin-right: 2rem;
    color: white;
    font-family: 'Rye', cursive !important;
    font-size: 24px;
    transform: rotate(270deg);
    transform-origin: right bottom;
    right: 0;
}

.description {
    position: relative;
    padding: 4rem 2rem;
    max-width: 600px;
}

.description p{
    font-family: 'Nanum Myeongjo', serif;
    font-size: 16px;
    line-height: 24px;
    color: white;
    opacity: 70%; 
    word-break: keep-all;
    margin-bottom: 16px;
}


.list {
    position: relative;
    margin: 0 auto;
    max-width: 1270px;
    padding: 2rem;
}

.btn {
    width: 20%;
    min-width: 280px;
    margin: 0 8px;
    position: relative;
    display: inline-block;
}

.thum {
    display: inline-block;
    position: relative;
    margin-bottom: 48px;
    height: 360px;
}

.thum>img {
    width: 100%;
}

.btn .thum_hover {
    color: white;
    height: 360px;
    background-color: rgb(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
}

.thum_hover .txt {
    overflow: hidden;
    position: relative;
    top: 43%;
}

h1 {
    font-family: 'Nanum Myeongjo', serif !important;
    font-weight: 800 !important;
    font-size: 32px !important;
    color: white;
    margin-bottom: 16px !important;
}

h2 {
    font-family: 'Nanum Myeongjo', serif !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    color: white;
}

hr {
    width: 30px;
    border: 1px solid white;
    margin: 16px auto;
    opacity: 30%;
}

.type {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 16px;
    color: white;
    margin: 8px;
}

.thum > img:hover {
    opacity: 0;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.thum_hover:hover {
    opacity: 100%;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}


/*illust, text*/

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95); /* Black w/ opacity */
    overflow: auto;
    text-align: center;
}

.modal-content {
    padding:2rem 2rem 4rem 2rem;
}

.info {
    text-align: center;
    color: white;
    margin-bottom: 32px;
}

.illust img{
    max-width: 900px;
    display: inline-block;
    width: 80%;
}

.wide {
    max-width: 1400px !important;
}

.close {
    margin-left: 2rem;
    font-family: 'Rye', cursive;
    position: fixed;
    font-size: 16px;
    display: inline-block;
    left: 0;
    color: white;
}

.close:hover{
    border-bottom: #fff solid 2px;
    transition-duration: 0.5s;
}

.modal-content hr {
    width: 100%;
    margin-bottom: 4rem;
}

.modal-content .text {
    max-width: 1000px;
    margin: 0 auto;
    background: rgb(0, 0, 0, 0.9);
    padding: 2rem;
    position: relative;
}

.text>p {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 18px;
    line-height: 36px;
    color: white;
    font-weight: bold;
    text-align: left;
    margin: 32px 0;
    word-break: keep-all;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 800px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: fixed;
  top: 50%;
  width: auto;
  padding: 2rem;
  color: white;
  font-weight: bold;
  font-size: 32px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.prev {
    left:0;
}

.next {
    right: 0;
}

.caption {
    font-size: 16px;
    color: #fff;
    position: relative;
    margin-bottom: 8px;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 2px;
  background-color: #757575;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #fff;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}



@media only screen and (max-width: 1260px){

    .list {
        text-align: center;
    }

}

@media only screen and (max-width: 1024px){

    .title {
        float: none;
        position: fixed;
        font-size: 42px;
        width: 800px;
    }

    .left_text,
    .right_text {
        visibility: hidden;
    }

}

@media only screen and (max-width: 600px){

    .video {
        visibility: hidden;
    }

    .title {
        float: none;
        position: relative;
        font-size: 42px;
        width: 100%;
        display: block;
    }

    .replay {
        float: none;
        position: relative;
        margin-top: 24px;
        display: inline-block;
    }

    .description {
        padding: 0rem 2rem;
    }

    .info {
        text-align: left;
        color: white;
        margin-bottom: 32px;
        margin-top: 42px;
    }


    .modal-content .text {
        padding: 0;
    }

    .text>p {
        font-size: 16px;
    }

    .illust>img {
        width: 100%;
    }

    .prev, .next {
        padding: 1rem;
        color: white;
        font-size: 24px;
    }

    .close {
        margin-left: 1.6rem;
    }

}