/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700;800&display=swap');
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'EB Garamond', serif;
}
body{
  /* background-color: #36597A; */
  overflow-x: hidden;
}
section{
  /* min-height: 100vh; */
  width: 100vw;
  height: min-content;
  min-height: 100vh;
}
.landing{
  background-image: url('./../static/igmun/Group\ 13.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  padding: 7% 0;
}
nav{
  position: fixed;
  width: 100vw;
  background-color: transparent;
  color: black !important;
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 15px );
  -webkit-backdrop-filter: blur( 15px );
  z-index: 9999;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3% 4% 0.3% 4%;
}
ul{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 30px;
}
ul li{
  list-style-type: none;
  width: min-content;
  font-size: 20px;
  color: white;
  min-width: max-content;
  padding: 1% 0%;
  transition: all 0.5s ease;
}
.res-nav{
  position: fixed !important;
}


section:nth-child(1){
  background-image: url('./../static/igmun/Group\ 13.png');
  background-repeat: no-repeat;
  background-size: cover;
}
.intro{
  height: 100vh;
  background-color: #36597A ;
  overflow-x: hidden;
  overflow-y: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

section:nth-child(3){
  height: fit-content;
  background-color: #E5E5E5;
}
.table{
  max-height: 70vh;
  clip-path: inset(2px 2px);
  max-width: 50vw;
  -webkit-animation:spin 80s linear infinite;
  -moz-animation:spin 80s linear infinite;
  animation:spin 80s linear infinite;
  mix-blend-mode: luminosity;
}

@-moz-keyframes spin { 
  100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
  100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
  100% { 
      -webkit-transform: rotate(360deg); 
      transform:rotate(360deg); 
  } 
}

nav img{
  height: 50px;
}

#nav_get_pass_btn{
  display: none;
}

#res_nav_get_pass_btn{
  display: none;
}

#menu-icon{
  height: 25px;
  display: none;
}
button{
  background-color: transparent;
  border: 2px solid white;
  outline: none;
  color: white;
  padding: 1% 2%;
  border-radius: 50px;
  font-weight: bold;
}
button:hover{
  background-color: white;
  color: #4F4F4F;
  cursor: pointer;
}
.container{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  row-gap: 30px;
}
.container img{
  height: 30vh;
}
a{
  color: white;
  text-decoration: none;
}
button:hover a{
  color: #4F4F4F;
}
.container button{
  background-color: white;
  color: #4F4F4F;
  font-size: 19px;
  margin: 30px 0;
}
.countdown-container{
  width: 65%;
  height: 20vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 5%;
  margin-bottom: 20px;
}
.countdown-tile{
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 4px );
  -webkit-backdrop-filter: blur( 4px );
  border: 1px solid rgba( 255, 255, 255, 0.18 );
  width:25%;
  height: 20vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.countdown-tile span{
  font-size: 70px;
  font-weight: bold;
}
.about-us{
  max-width: 38vw;
  margin: 0 7vw;
  color: white;
  height: fit-content;
  overflow-y: scroll;
}
.about-us::-webkit-scrollbar {
  display: none;
}
.about-us h1{
  font-size: 75px;
  margin: 0 0 30px 0;
}
.about-us-text{
  line-height: 25px;
  font-size: 18px;
}
.committees{
  padding: 7vh 0;
  display: flex;
  flex-direction: column;
  color: #616161;
  align-items: center;
  overflow-x: hidden;
}
.committees h1{
  font-size: 75px;
  margin-bottom: 20px
}
.committee-container{
  width: 75vw;
  height: fit-content;
  background-color: #cecece;
  border-radius: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #616161;
  margin-top: 40px;
  padding: 20px 10px;
  transition: height 0.5s ease-in-out;
  -webkit-transition: height 0.5s ease-in-out;
}
.card-container{
  display: flex;
  margin: 10% 0;
  /* display: none; */
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  column-gap: 15px;
}
.commitee-info a{
  color: #4F4F4F !important;
}
.card{
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.card img{
  border-radius: 50%;
  min-width: 38%;
  max-width: 38%;
  aspect-ratio: 1/1;
  margin-bottom: 10%;
}
.card h4{
  text-align: center;
}
.card h4:nth-child(3){
  font-weight: 100;
  margin-top: 2%;
}
.committee-container-mobile{
  display: none;
}
.commitee-info{
  max-width: 40%;
}
.commitee-info h1{
  font-size: 35px;
}
.committee-container img{
  width: 28%;
}


footer{
  background-color: #616161;
  height: 30vh;
  padding: 40px 50px;
  padding-bottom: 50px;
  display: flex;
  color: white;
  column-gap: 30px;
  max-width: 100vw !important;
  overflow-y: hidden;

}
.contact, .address{
  line-height: 29px;
  font-size: 18px !important;
  margin-left: 80px;
  max-width: 25%;
}
footer img{
  max-height: 40% !important;
}
.social-media-handles{
  display: flex;
  justify-content: space-around;
  align-items: center;
  column-gap: 20px;
  height: fit-content;
  margin-left: 30px;
}
.social-media-handles button{
  border: none;
}
.social-media-handles button:hover{
  background-color: transparent;
}

.side-social{
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  margin-right: 20px;
  transform: translate(-50%, -50%);
}
.side-social button{
  border: none;
}
.side-social button:hover{
  background-color: transparent;
}

.res-nav{
  height: 100vh;
  width: 100vw;
  background-color: #cecece;
  position: absolute;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.res-nav{
  overflow: hidden;
  height: 0;
  transition: height 1s ease-in-out;
}

/* Snack Bar */
#snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 80px;
  font-size: 17px;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 4.5s;
  animation: fadein 0.5s, fadeout 0.5s 4.5s;
}

@-webkit-keyframes fadein {
  from {top: 0; opacity: 0;} 
  to {top: 80px; opacity: 1;}
}

@keyframes fadein {
  from {top: 0; opacity: 0;}
  to {top: 80px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {top: 80px; opacity: 1;} 
  to {top: 0; opacity: 0;}
}

@keyframes fadeout {
  from {top: 80px; opacity: 1;}
  to {top: 0; opacity: 0;}
}

@media screen and (max-width: 1000px) {
  .about-us h1, .committees h1{
    font-size: 50px !important;
  }
}

/* tablet  */
@media screen and (max-width: 900px) {
    .table{
      display: none;
    }
    .landing{
      padding: 11% 0;
    }
    .table{
      top: 200%;
    }
    .intro{
      flex-direction: column;
    }
    .about-us{
      max-width: 100vw;
      text-align: center;
      padding: 0 10vw;
      margin-top: 8vh;

    }
    .about-us h1, .committees h1{
      font-size: 40px !important;
    }
    h1{
      font-size: 18px !important;
    }
    .countdown-tile span{
      font-size: 40px;
    }
    .countdown-tile h2{
      font-size: 17px !important;
    }
    .committee-container-laptop{
      display: none;
    }
    .committee-container-mobile{
      display: flex;
    }
    .committee-container{
      min-height: 300px;
      height: fit-content;
      flex-direction: column;
      row-gap: 20px;
    }
    .commitee-info{
      min-width: 90%;
      text-align: center;
    }
    .commitee-info h1{
      font-size: 24px !important;
    }
    .commitee-info div{
      font-size: 18px !important;
    }
    .card-container{display: flex;}
    .card img{
      min-width: 30%
    }
    footer{
      flex-direction: column;
      height: fit-content;
      row-gap: 20px;
    }
    footer img{
      display: none;
    }
    .social-media-handles img{
      display: block;
    }
    .contact, .address{
      min-width: 100%;
      text-align: center;
      margin: 0;
    }
    .side-social{
      display: none;
    }
    .scrollmagic-pin-spacer{
      display: none;
    }
    .person-details{
      width: 80%;
      padding: 5% 7%;
    }
    .person-details p{
      width: 90%;
    }
}

@media screen and (max-width: 690px){
  ul{display: none;}
  #menu-icon{display: block;}
  .res-nav ul{
    display: flex;
    flex-direction: column;
    row-gap: 30px;
  }
  .res-nav ul li a{
    color: #616161;
    font-weight: bold;
  }
  
}

@media screen and (max-width: 540px) {
  .about-us{
    padding: 0px !important;
  }
}

@media screen and (max-width: 500px) {
  .countdown-container{
    display: none;
  }
  .landing{
    padding: 18% 0;
  }
  h1{
    text-align: center;
    font-size: 13px !important;
  }
  .side-social{
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 90vh;
    width: 100vw;
    left: 50%;
    justify-content: space-evenly;
    row-gap: 0;
    column-gap: 10px;
    margin-right: 0;
  }
  .card img{
    min-width: 50%;
  }
  

}

@media screen and (max-width: 415px) {
  .about-us{
    margin: 20px !important;
  }
  .person-details{
    width: 95%;
    padding: 7% 5%;
  }
}

@media screen and (max-width: 350px) {
  h1{
    text-align: center;
    font-size: 10px !important;
  }
}

@media screen and (max-width: 300px) {
  .about-us-text{
    font-size: 14px !important;
  }
}


.reg-btn{
  border-radius: 100px;
  padding: 13px 17px;
  min-width: max-content;
  font-weight: 600;
  background-color: #1d3557 !important;
  color: #fff !important;
  border: none !important;
}