@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

html{
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-weight: 100;
  scroll-behavior: smooth;
}
a{
  text-decoration: none;
  color: black;
  font-weight: 300;
}
a:hover{
  color: cadetblue;
  cursor: pointer;
}

button{
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  border: none;
  background: transparent;
  padding: 0;
  color: black;
}
button:hover{
  color: cadetblue;
  cursor: pointer;
}
.navigation{
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    font-size: 1.2rem ;
    font-weight: 400 ;

}
.shortcutbtn{
  a{
    margin: 0 1rem ;
    font-size: 1rem ;
    font-weight: 300 ;
  }
}

#filtermenu{
  width: 30vw;

  display: flex;
  display: none;

  justify-content: center;
}




/*    dropdown css */


.dropbtn {
    background-color: transparent;
    border: none;

    font-size: 1.2rem;
    font-weight: 400;
  }


#myDropdown{
    transform-origin: 0 0;
}
.dropdown {
    float: left;
    overflow: hidden;
  }
  
  
  .dropdown:hover .dropbtn,  .dropbtn:hover{
      color:cadetblue;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    border: 0.2px solid cadetblue;
    background-blend-mode: screen;
    border-radius: 2rem;
    margin-top: 0.5rem;
    padding: 1rem;

    z-index: 1;
  }
  
  .dropdown-content button {
    float: none;
    border: none;
    background-color: transparent;
    padding: 0.5rem 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content button:hover {
      color:cadetblue;
  }
  
  .show_list {
    display: block;
  }


/*p5 canvas part*/




.maingraphic{
  height: 30vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
  width: 100%;
}
.maingraphic_text{
  text-align: center;
  position: absolute;
  font-size: 1.5rem;
  font-weight: 200;
  .keyword{
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
  }
}


/*contents css*/





.contents_container{
  min-height: calc(70vh);

  display: flex;
  flex-direction: column;
  align-items: center;
}


.category{
  margin: 4rem 0;
  font-size: 1.5rem;
  font-weight: 600;
 /* padding: 2rem 4rem;
  border-radius: 2rem;
  border: 1px solid cadetblue;*/
}




.contents{
    display: none;
    width: 80vw;
    transform-origin: 0 0;

}
.thumbnailimg{
  min-width: 30%;
  
  aspect-ratio: 16/10;
}
.thumbnailimg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
	-webkit-transition: .2s ease-out;
	transition: .2s ease-out;
}

.thumbnailimg img:hover{
  opacity: 0.5;
  cursor: pointer;
}

.textcontainer{
  width: 100%;
  align-self: flex-end;
  margin-left: 3rem;
  margin-bottom: 1rem;
}

.taglist{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.tag{
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  border: 1px solid cadetblue;
  color: black;
  background-color: white;
}

.tag:hover{
 cursor: default;
}

.worktitle{
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: left;
}
.subtitle{
  display: flex;
  flex-direction: row;
  align-items:center;
  margin-top: 0.2rem;
  margin-bottom: 1rem;

}
.year{
 
}
.role
{
  margin-left: 1rem;
font-weight: 200;
}

.description{
  font-size: 1.05rem;
  line-height: 1.5rem;
}

.more{
  margin-top: 1rem;
  font-size: 1rem;
}

.contents_show{
    display: flex;
}







/*modal*/


.modalback{
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: rgba(0, 0, 0, 0.8); 

}
.modal{
  transform-origin: 50%,50%;
  position: fixed;
  opacity: 0;
  top: 7.5%;
  left: 15%;
  width: 70%;
  height: 85%;
  border-radius: 1rem;
  display: none;
  background-color: rgba(255, 255, 255); 
}
.modal_contents_container{
  width:calc(100% - 5*1rem);
  height: calc(100% - 5*1rem);
  position:absolute;
  top: 2.5rem;
  left: 2.5rem;
  overflow-y: auto;

}
#aboutcontainer{
  white-space:pre-wrap;
  line-height: 1.5rem;
}

.modaltitle{
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;

}
.contentslink{
  margin: 2rem 0;
  font-size: 0.8rem;
  a {
    color: black;
    font-weight: 500;
    background-color: white;
    padding: 0.5rem;
    border-radius: 3rem;
    border: solid 1px #5f9ea0;
  }
  a:hover{
    background-color: #5f9ea0;
    color: white;
  }

}

.modal_extrainfo{
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 200;
}

.mainimg{
  width: 80%;
  position:relative;
  aspect-ratio: 16/9;
  margin: 0 auto;
  img{
    width: 100%;
    object-fit: cover;
  }
}

.modal_subtitle{
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.modaltext{
  line-height: 1.3rem;
  margin-bottom: 1rem;

}


.gallerycontainer{  
  margin-top: 2rem;
  ul {
    list-style: none;
    margin: 0;
    padding: 0;
    
    li img {
      display: block;
      height: auto;
      max-width: 100%;
    }
    li video{
      display: block;
      height: auto;
      max-width: 100%;
    }
  }
}

.gallerycontainer ul {
	
		columns: 30rem;
		column-gap: 1rem;

		li {
			break-inside: avoid;
			margin: 0 0 1rem;
		}
	
}








.modal_close{
  background-color: transparent;
  border: none;
  display: block;
  position:absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight:400;
}
.modal_close:hover{
  color: #5f9ea0;
}



/*slide css*/

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

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

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

/* 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}
}

















footer{
  width: 100%;
}
.footerline{
  border-top: 1px solid black;
}
.footertext{
  margin: 1rem 0;
  text-align: center;
}
button{
  text-decoration: none;
}





.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}







/* mobile layout */



@media ( max-width: 768px ) {
  html {
    font-size: 12px; 
  }
  #filtermenu{
    width: 25vw;
  }
  .maingraphic{
    height: 20vh;
    .maingraphic_text{
      width: 70%;
      font-size: 1rem;
    
    .keyword{
      font-size: 0.8rem;
      font-weight: 400;
    }
    }


  }

    


  .contents{
    flex-direction: column;
  }
  .textcontainer{
    align-self:flex-start;
    margin-left: 0;
    margin-top: 2rem;
  }


  .modal{
    transform-origin: 50%,50%;
    position: fixed;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    border-radius: 2rem;
    display: none;
  }

  .modal_contents_container{
    width:calc(100% - 3*1rem);
    height: calc(100% - 5*1rem);
    position:absolute;
    top: 2.5rem;
    left: 1.5rem;
    overflow-y: auto;
  
  }



}