:root {
  --accent: #FCE324;
  font-size: 16px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: peridot-devanagari, sans-serif;

}

body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  background-color: var(--accent);
}


/* TYPOGRAPHY */

h1 {
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1;
  font-size: 8rem;
}

h2 {
  font-size: 6rem;
  text-transform: uppercase;
  
}

h3 {
  text-align: center;
  font-size: 5rem;
  line-height: 1.2;
}

h4 {
  font-size: 2rem;
  line-height: 1;
}


h5 {
  font-size: 1.6rem;
  line-height: 1;
}


h6 {
  font-size: 2.5rem;
  text-transform: uppercase;
  line-height: 1.2;
}

p {
  line-height: 1.5;
}

a {
 text-decoration: none;
 color: var(--accent);
 text-transform: uppercase;
}

a:hover {
  text-decoration: underline;
  background-color: rgba(255,255,255, .3);
}


/* BASICS */
.bg-accent {
  background-color: var(--accent);
}

/* HERO SECTION */

.header {
    width: 100%;
    height: 80px;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

#logo {
    display: flex;
    height: 100%;
    align-items: center;
    padding: 0 40px 0 40px;
}

nav {
    height: 100%;
}

#dropdown {
  list-style: none;
  height: 100%;
  display: flex;
  box-sizing: border-box;
}

nav li {
  height: 100%;
}

nav li a {
    padding: 0 40px;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    align-items: center;
}


.hero {
    height: calc(100vh - 80px);
    position: relative;
    background-color: var(--accent);
    overflow-x: hidden;
}

.printmark {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 300px;
}

.heroheading {
    position: absolute;
    z-index: 99;
    width: 100%;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* background-color: rgba(220, 200, 60, 0.5); */
}

.heroheading img {
  width: 75%;
  filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));

}

.heroheading :nth-child(2) {
  transform: translate(-5px);
}

/* NEW SLIDER  */


.slider-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
}


.slidercontainer3 {
  position: relative;
  width: 100vw;
  height: 100%;
  display: flex;
  animation: 16s infinite slider3;
}

.slidercontainer5 {
  position: relative;
  width: 100vw;
  height: 100%;
  display: flex;
  animation: 28s infinite slider5;
}

.sliderimage {
  object-fit: cover;
  width: 100vw !important;
  min-width: 100vw;
  object-position: top;
}


.slidercontainer4 {
  position: relative;
  width: 100vw;
  height: 100%;
  display: flex;
  opacity: .5;
  animation: 20s infinite slider4;
}

@keyframes slider3 {
    0% {
    left: 0;
    }

    30% {
    left: 0;
    }

    33% {
    left: -100%;
    }

    60% {
    left: -100%;
    }


    63% {
    left: -200%;
    }

    93% {
    left: -200%;
    }

    96% {
    left: -300%;
    }

    100% {
    left: -300%;
    }

}


@keyframes slider4 {
  0% {
  left: 0;
  }

  22% {
  left: 0;
  }

  25% {
  left: -100%;
  }

  47% {
  left: -100%;
  }


  50% {
  left: -200%;
  }

  72% {
  left: -200%;
  }

  75% {
  left: -300%;
  }

  97% {
  left: -300%;
  }

  99% {
    left: -400%;
  }
  100% {
    left: -400%;
  }

}
@keyframes slider5 {
  0% {
    left: 0;
  }

  18% {
    left: 0;
  }

  20% {
    left: -100%;
  }

  38% {
    left: -100%;
  }

  40% {
    left: -200%;
  }

  58% {
    left: -200%;
  }

  60% {
    left: -300%;
  }

  78% {
    left: -300%;
  }

  80% {
    left: -400%;
  }

  98% {
    left: -400%;
  }

  100% {
    left: 0;
  }
}



/* ABOUT US */

.aboutus {
  height: 80vh;
  display: flex;
  flex-direction: column;
  padding: 80px;
  font-family: peridot-devanagari, sans-serif;
  justify-content: space-between;
  background-color: var(--accent);
}

.divright {
  align-self: flex-end;
  width: 500px;
}

.divleft {
  align-self: flex-start;
  width: 500px;
}

/* THE SHOW */
.event {
    position: relative;
    height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 80px;
  }

  .event::before {
    position: relative;
    top: 0;
    left: 0;
    background-color: white;
    z-index: -1;
  }

.show {
  margin: auto 0;
  color: var(--accent);
  font-size: 10rem;
  line-height: 1;
  display: flex;
  margin: auto 0;
  font-size: 10rem;
  font-weight: 900;
  text-shadow: 0px 4px 10px black;
}



/* FOOTER */
.footer {
  width: 100%;
  display: flex;
  padding: 80px;
  justify-content: space-between;
  background-color: black;
}

.boilerplate {
  color: var(--accent);
}

.socials {
  color: white;
}

.socialicons img {
  height: 40px;
  margin-top: 10px;
}


/* GRADUATES */

h1#graduates {
  text-align: center;
  padding-top: 30px;
}

#searchField {
  flex-grow: 1;
}

.filters {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 30px 80px;
  position: sticky;
  top: -20px;
}

.filter, #searchField {
  margin: 5px 15px;
  padding: 5px 15px;
  background-color: black;
  border-radius: 30px;
  font-weight: bold;
  color: var(--accent);
  font-size: 1rem;
  min-width: 100px;
}

button.active {
  background: grey !important;
}

.hidden {
  display: none;
}

.cardgrid {
  display: flex;
  padding: 0 80px;
  flex-wrap: wrap;
}

.card {
  box-sizing: border-box;
  margin: 10px;
  flex-basis: 30%;
  flex-grow: 1;
  min-width: 300px;
  margin-bottom: 50px;
  max-width: calc(33% - 20px);
}

.card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.cardtitle, .cardname {
  color: black;
  font-size: 2rem;
  margin: 0;
  padding: 5px 0;
  text-align: left;
  line-height: 1;
}

.cardtitle {
  text-transform: capitalize;
  font-weight: 400;
  font-size: 1.5rem;
}

.cardname:hover {
  text-decoration: underline;
}


/* REGISTER PAGE */

.heroregister {
  width: 100%;
  height: calc(100vh - 80px);
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: black;
}

#elevator {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#down {
  display: block;
  position: absolute;
  z-index: 99;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  line-height: .1;
  text-decoration: none;
}

.registercontent {
  background-color: var(--accent);
  padding: 80px 0 0 0;
  display: flex;
  width: 100%;
  justify-content: center;
}

#registration {
  width: 600px;
  height: 900px;
}




@-webkit-keyframes blinker {
  from {opacity: 1.0;}
  to {opacity: 0.0;}
}

.blink{
	text-decoration: blink;
	-webkit-animation-name: blinker;
	-webkit-animation-duration: 0.6s;
	-webkit-animation-iteration-count:infinite;
	-webkit-animation-timing-function:ease-in-out;
	-webkit-animation-direction: alternate;
}




/* MEDIA QUERIES */

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

 :root {
  font-size: 12px;
 }



 p {
  font-size: 1.2rem;
 }


 h3 {
  text-align: left;
 }

.header {
  position: relative;
  width: 100% !important;
  flex-wrap: wrap;
  height: auto;
  background-color: black;
  justify-content: center;
}

#logo {
  height: 80px;
  justify-content: center;
}

#dropdown {
  width: 100vw;
  display: flex;
  justify-content: space-around;
} 

nav li a {
  padding: 0;
  margin: 0;
  font-size: 1.2rem;
}

  
  .divleft, .divright {
    align-self: center;
    width: auto;
    padding: 0;
    margin: 0;
  }

  .aboutus {
    height: auto;
    gap: 60px;
    padding: 40px;
  }  

  .event {
    padding: 30px;
  }

  .heroheading {
    padding-bottom: 50px;
  }

  .heroheading img {
    width: 90%;
  }
  
  /* GRADUATES PAGE  */

  h1#graduates {
    text-align: center;
    font-size: 14vw;
  }

  .cardgrid {
    padding: 0px;
    justify-content: center;
  }

  .filters {
    padding: 30px 0px 0px 0px;
    position: relative;
  }

  .filter {
    margin: 5px 5px;
  }

  #top {
    display: block;
    position: fixed;
    bottom: 50px;
    right: 30px;
    background-color: black;
    padding: 5px 8px 3px 8px;
    border-radius: 15px;
  }

  #down {
    display: block;
    position: relative;
    z-index: 99;
    bottom: 50px;
    right: 30px;
    background-color: black;
    padding: 5px 8px 3px 8px;
    border-radius: 15px;
  }

  .arrow {
    border: solid var(--accent);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
  }
  
  .up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }

  .down {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  

  /* REGISTER PAGE  */

  .heroregister {
    height: auto;
    width: 100%;
  }

  #elevator {
    display: none;
  }

  #registration {
    width: 100%;
    overflow-y: hidden;
    height: 900px;
  }

  .registercontent {
    padding: 0;

  }

  #down {
    padding: 10px 0px;
    bottom: 0px
  }


}

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

  h3 {
    font-size: 15vw;
  }

  h2.show {
    font-size: 20vw;
  }

}

.page-layout {
  height: 100vh;
  
}



