:root {
  --font-size-xl: 1.5em;
  --font-size-l: 1.4em;
  --font-size-m: 1.1em;
  --font-size-s: 0.8em;
  --line-height: 1.7em;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Gowun Batang";
  cursor: url('../media/pointer.png'), auto;
  overflow-x: hidden;
}

html, body {
  max-width: 100%;
  display: inline-block;
  scroll-behavior: smooth;
  color: rgb(92, 92, 92, 0.5);
  animation: fadeInAnimation ease 0.5s;
              animation-iteration-count: 1;
              animation-fill-mode: forwards;
}

        @keyframes fadeInAnimation {
            0% {
                opacity: 0;
            }
            100% {
                opacity: 1;
            }
        }

img {
/* This inherits all CSS values including `overflow` */
all: inherit;
}



.background {
  z-index: -30;
  position: fixed;
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color:rgb(250, 250, 250);
}


.cluster {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.info {
  padding: 20px 30px 0;
  display: inline-block;
  position: relative;
  z-index: 2;
  width: 100%;
}

.info > h2 {
    /* text-shadow: 0 0 0.3em #fff, 0 0 0.4em #707070, 0 0 0.7em #707070; */
    color: #262626;
    width: 180px;
    height: 35px;
    letter-spacing: 1pt;
    font-family: "Gowun Batang"
}

.info > a {
  position: relative;
  display: inline-flex;
  text-decoration: none;
  font-family: "Open Sans"
}

.info2 {
  display:  block;
  position: fixed;
  z-index: 2;
  bottom: 3%;
  width: 100vw;
  margin-left: 15em;
  top: 0;
  height: 90px;
  padding: 1em;
  background-color:rgb(250, 250, 250);
}


.info2 > h2 {
    /* text-shadow: 0 0 0.3em #fff, 0 0 0.4em #707070, 0 0 0.7em #707070; */
    width: 180px;
    height: 35px;
    text-decoration: none;
    letter-spacing: 1pt;
    font-family: "Gowun Batang"
}

.info2 > h2 > a {
  color: #262626;
  position: relative;
  display: inline-flex;
  text-decoration: none !important;
}

.info2 > a {
    text-decoration: none;
    font-family: "Open Sans";
}

#reload:hover {
  background-image: linear-gradient(rgb(255,255,255),#ffc6b8,rgb(255,255,255));
  color: white;
  cursor: pointer;
}


#mail {
  /* color:rgb(191, 214, 118); */
  color:#fa9dcb;
  }

#cv {
  /* color:rgb(136, 188, 222); */
  color:#8cc5a5;
}

#mail:hover {
    color: #ffc6b8;
    /* color:#fa9dcb; */
    cursor: url('../media/pointer2.png'), auto;
}

#cv:hover {
    color:#fa9dcb;
    cursor: url('../media/pointer2.png'), auto;
}

.info a:hover {
    color: #fa9dcb;
}

 .menu {
     display: inline-block;
     position: relative;
     width: 100%;
     height: auto;
     top: 0px;
     left: 10px;
     z-index: 2;
     padding: 20px 30px 0px;
 }


 nav ul {
   list-style: none;
 }

 nav ul li {
   margin-bottom: 5px;
   display: flex;
   position: relative;
 }

 nav ul li :hover {
  color: #fa9dcb;
  cursor: url('../media/pointer2.png'), auto;
 }

 nav ul li a {
   margin-left: 6px;
   position: relative;
   display: inline-flex;
   letter-spacing: 2pt;
   color: black;
   font-size: 13pt;
   text-decoration: none;
   font-family: "Gowun Batang";
 }

.icon {
  overflow: visible;
  width: 20px;
  height: 20px;
  margin-right: 13px;
  animation: binggle 8s infinite;
  align-self: center;
}


 @keyframes left{
  0%   {left:0px;}
  25%  {left:-10px;}
  50%  {left:0px;}
  75%  {left:-10px;}
  100% {left:0px;}
}

#current {
  /* font-style: italic; */
  text-decoration: underline;
}



 .navigation {
   width: 13em;
   height: 100vh;
   left: 10px;
   top: 5px;
   display: block;
   z-index: 2;
   position: fixed;
   padding-bottom: 50px;
   overflow-y: scroll;
   overscroll-behavior-inline:none;
       -ms-overflow-style: none;  /* IE and Edge */
 }

 .navigation::-webkit-scrollbar {
     display: none;
 }


  #link {
    text-align: center;
  }

  #icon {
    width: 50px;
    margin-left: auto;
    margin-right: auto;
    animation: binggle 8s infinite;
  }

 .navigation li {
   padding: 10px;
   padding-bottom: 4px;
   vertical-align: middle;
   margin-left: 15px;
   margin-right: 15px;
   display: block;
 }

 .navigation a {
   letter-spacing: 0.1em;
   color: grey;
   text-decoration: none;
 }

 .navigation a:hover {
   color:#fa9dcb;
   text-decoration: none;
   cursor: url('../media/pointer2.png'), auto;
 }

 .text {
   width: 35vw;
   margin-left: 190px;
   top: 10pt;
   display: block;
   border-right: 1px dashed rgb(230,230,230);
 }


 .detail {
   margin-top: 55px;
   margin-left: 15em;
   width: 80vw;
   display: block;
 }

   #title {
     vertical-align: text-top;
     width: 100%;
     height: auto;
     background-color:rgb(250, 250, 250);
     position: fixed;
     display: block;
     top: 0;
     padding-top: 0.7em;
     padding: 1em;
     margin-top: 80px;
     font-size: var(--font-size-m);
     font-family: "Gowun Batang";
     letter-spacing: 4pt;
     z-index: 2;
   }




   .project {
     width: 90vw;
     display: block;
     margin-left: auto;
     margin-right: auto;
     margin-bottom: 120px;
   }


   .workTitle {
     display: flex;
     position: relative;
     margin-top: 4px;
     margin-left: 1em;
     margin-bottom: 10px;
     margin-right: 10px;
     font-size: var(--font-size-s);
     letter-spacing: 1pt;
     border-left: 1px solid rgb(230,230,230);
     padding-left: 1.5em;
   }

   .imageContainer {
     width: 80%;
     height: auto;
   }

   #wide {
     width: 80%;
     height: auto;
   }

   #room {
     width: 100%;
     height: auto;
   }


   .pVideo > video {
     height: 70vh;
     width: auto;
     padding-left: 1em;
     padding-right: 1em;
   }

  .pImage {
    padding-left: .5em;
    padding-right: .5em;
  }

 .pImage > img{
   height: 70vh;
   width: auto;
   object-fit: cover;
 }


  .portraitTwo img {
  height: 60vh;
  }

.portraitFour {
  height: 80vh;
}

.four {
  display: inline-flex;
}

.twoSquare {
  padding-left: .5em;
  padding-right: .5em;
  width: 40%;
  height: auto;
}

.twoSquare img {
  width: 100%;
  object-fit: contain;
}


 #first {
   margin-top: 7em;
 }

#last {
  margin-bottom: 10px;
}


                    .written {

                    }



.given {
  width: 100%;
  margin-bottom: 100px;
  display: inline-flex;
  padding-left: 1em;
  line-height: var(--line-height);
}

.given > div > p {
  font-size: 11pt;
  font-family: "Open Sans";
  font-weight: thin 100;
  column-count: 2;
}

.written {
  width: 68vw;
  padding-left: 1em;
  margin-bottom: 100px;
  display: inline-flex;
  line-height: var(--line-height);
}

.written > div > p {
  font-size: 11pt;
  font-family: "Open Sans";
  font-weight: thin 100;
}

.youtube {
   margin-left: 1em;
   margin-bottom: 5em;
   display: inline-flex;
}

.youtube > iframe {
  margin-right: 1em;
}

/*
.youtube_2 {
  height: 0;
} */


.description {
  margin-left: auto;
  margin-right: auto;
  bottom: 0%;
  background-color:rgb(250, 250, 250);
  /* margin-bottom: 30pt; */
  height: auto;
  display: block;
  overflow-y: scroll;
  position: fixed;
  width: 100vw;
  line-height: 1.2em;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}



.description::-webkit-scrollbar {
    display: none;
}


 #sub_info {
   width: 90vw;
   padding-left: 1em;
   padding-right: 2em;
   padding-top: 5px;
   padding-bottom: 3px;
   margin-bottom: 0.5em;
   font-size: var(--font-size-s);
   font-family: "Gowun Batang";
   list-style: none;
   border-top: 1px dashed rgb(230,230,230);
   letter-spacing: 2pt;
   vertical-align: middle;
 }



.bomb {
    z-index: -20;
    position: fixed;
    /* transform: scale(0.8); */
    width: 75px;
    height: 75px;
    opacity: 1;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit:
    background: url('../media/bomb/1.png');
    overflow: hidden;
    animation: dungdung 5s infinite;
    filter: blur(2px);
}

.bomb2 {
    z-index: -10;
    position: fixed;
    width: 50px;
    height: 50px;
    opacity: 1;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit:
    background: url('../media/bomb/1.png');
    overflow: hidden;
    animation: dungdung 3s infinite;
    filter: blur(5px);
}


.bomb3 {
    z-index: -5;
    position: fixed;
    width: 75px;
    height: 75px;
    opacity: 1;
    background-repeat: no-repeat;
    background-size: cover;
    animation: dungdung 4s infinite;
    object-fit:
    background: url('../media/bomb/1.png');
    overflow: hidden;
}

.credit {
  bottom:3%;
  text-align: right;
  width: 100%;
  display: block;
  position: fixed;
  font-weight: lighter;
  letter-spacing: 0.2em;
  padding: 20px 30px 0;
  font-size: var(--font-size-s);
}

#cLink {
  color: rgb(92, 92, 92, 0.5);
  text-decoration: none;
  letter-spacing: 0.2em;
}

#cLink:hover{
  color: #fa9dcb;
  cursor: pointer;
}




          @media only screen and (max-width: 768px) {
            .navigation {
              display: none;
            }

            .detail {
              width: 100vw;
              margin-left: 0em;
            }

            #title {
              height: auto;
              padding: 1em;
              font-size: var(--font-size-s);
              margin-top: 80px;
              letter-spacing: 2.5pt;
            }

            .project {
              display: block;
              width: 100vw;
              margin-top: 50px;
              margin-bottom: 0px;
            }

            .workTitle {
              writing-mode: horizontal-tb;
              display: block;
              height: auto;
              margin-bottom: 10px;
              border-left: 1px solid rgb(230,230,230);
              padding-left: 1.5em;
            }



            .four{
              padding-left: 5px;
              padding-right: 5px;
              margin-bottom: 15px;
              display: block;
            }

            .pImage > img{
              width: 100%;
              height: auto;
            }

            .portraitTwo {
              height: auto;
            }

            .portraitFour {
              height: auto;
            }

            .imageContainer {
              width: 100vw;
            }

            #wide {
              width: 100%;
              height: auto;
            }

            #room {
              width: 100%;
              height:auto;
            }

            .twoSquare {
              width: 100%;
            }

            .pVideo > video {
              height: auto;
              width: 100vw;
            }

            #first {
              /* margin-top: 13vh; */
            }

            #last {
              margin-bottom: 10px;
              height: auto;
            }

            #long {
              height: 30vh;
            }

            .written {
              display: none;
            }

            .given {
              display: none;
            }

            .description {
              position: relative;
              bottom: 0%;
              height: auto;
              line-height: 1.2em;
            }

            #sub_info {
              padding-left: 1em;
              margin-bottom: 0.5em;
            }

            .info {
              padding: 1em;
              display: inline-block;
              position: relative;
              z-index: 2;
              width: 100%;
            }

            .info2 {
              width: 100vw;
              top: 0;
              height: 90px;
              padding: 1em;
              margin-left: 0em;
              background-color:rgb(250, 250, 250);
            }

             .menu {
               left: 0;
               padding-top: 0;
               padding-left: 25px;
             }

              nav ul li {
                margin-bottom: 8px;
              }

              nav ul li a {
                letter-spacing: 1.5pt;
              }

             .credit {
               position: relative;
             }

             /* .youtube {
               height: 0;
               display: none;
             }

             .youtube > iframe {
               height: 0;
               display: none;
             } */

             .youtube {
               margin-bottom: 1em;
               display: block;
             }


             .youtube > iframe {
               width: 90vw;
               height: 40vh;
               margin-top: 1em;
               margin-bottom: 1em;
             }
/*
             .youtube_2 {
               visibility: visible;
               height: auto;
               margin-top: -200px;
               padding-left: 1em;
             }

             .youtube_2 > iframe {
               width: 90vw;
               height: 30vh;
               margin-bottom: 10px;
             } */
          }

@keyframes dungdung {
    50% {transform: translateY(3px);}
    10% {transform: translateY(0px);}
}

@keyframes binggle {
    100% {transform: rotate(360deg);
}
