/* ---- heading ----- */

#anveshan-heading-pre {
  font-family: 'Spy Agency', sans-serif;
  font-size: 15rem;
  margin: 1rem 0 0 0;
  background: transparent;
}

#anveshan-heading {
  font-family: 'Spy Agency', sans-serif;
  color: white;
  text-align: center;
  font-size: 13rem;
  margin: 0;
  background: transparent;
}


/* ---- subheading ---- */

#anveshan-subheading {
  margin-top: 5rem;
  font-family: 'Spy Agency', sans-serif;
  color: white;
  text-align: center;
  font-size: 6rem;
}

.purple {
  color: #8A2BE2;
}

@keyframes smoothBlink {
  0% {
    border-color: #8A2BE2;
  }

  50% {
    border-color: transparent;
  }

  100% {
    border-color: #8A2BE2;
  }
}

#change-text {
  border-right: 2px solid #8A2BE2;
  animation: smoothBlink 1s infinite;
}

/* ---- about content ---- */

#about-anveshan {
  font-family: 'VT323', serif;
  color: white;
  text-align: center;
  margin: 2rem 0 1rem 0;
  padding: 0 3rem;
}

#about-text {
  text-align: right;
}

#about-anveshan h2 {
  margin: 0;
  font-size: 5rem;
}

#img-with-description-about {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  padding-right: 5rem;
}

.stacked-btn {
  transform: rotate(-25deg) skew(25deg);
  transform-style: preserve-3d;
  position: relative;
  list-style: none;
  width: 25rem;
  height: 6rem;
  border: none;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  z-index: 0;
}

.stacked-btn:before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: -5px;
  width: 100%;
  height: 10px;
  background: #2a2a2a;
  transform: skewX(-41deg);
}

.stacked-btn:after {
  content: '';
  position: absolute;
  top: 5px;
  left: -9px;
  width: 9px;
  height: 100%;
  background: #2a2a2a;
  transform: skewY(-49deg);
}

.stacked-btn span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2a2a2a;
  color: #fff;
  transition: 1.1s ease-out;
  font-size: 3rem;
}

.stacked-btn:hover span {
  z-index: 1;
  transition: .3s;
  color: #8A2BE2;
}

.stacked-btn:hover span:nth-child(5) {
  transform: translate(40px, -40px);
  opacity: 1;
  color: white;
  background-color: #8A2BE2;
}

.stacked-btn:hover span:nth-child(4) {
  transform: translate(30px, -30px);
  background-color: #8A2BE2;
  opacity: .8;
}

.stacked-btn:hover span:nth-child(3) {
  transform: translate(20px, -20px);
  background-color: #8A2BE2;
  opacity: .6;
}

.stacked-btn:hover span:nth-child(2) {
  background-color: #8A2BE2;
  transform: translate(10px, -10px);
  opacity: .4;
}

.stacked-btn:hover span:nth-child(1) {
  transform: translate(0px, 0px);
  opacity: .2;
  background-color: #8A2BE2;
}

.stacked-btn:active span:nth-child(5) {
  transform: translate(20px, -20px);
  opacity: 1;
}

.stacked-btn:active span:nth-child(4) {
  transform: translate(15px, -15px);
}

.stacked-btn:active span:nth-child(3) {
  transform: translate(10px, -10px);
}

.stacked-btn:active span:nth-child(2) {
  transform: translate(5px, -5px);
}

.stacked-btn:active span:nth-child(1) {
  transform: translate(0px, 0px);
}

.stacked-btn:nth-child(1):hover span {
  background: #8A2BE2;
}

/* ---- events content ---- */

#events-anveshan {
  font-family: 'VT323', serif;
  color: white;
  text-align: center;
  padding: 0 2rem;
}

#events-text {
  text-align: left;
  margin: 0;
}

#events-anveshan h2 {
  margin: 0;
  margin-bottom: 1rem;
  font-size: 5rem;
}

#img-with-description-events {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  padding-left: 5rem;
}

/* ---- contact content ---- */

#contact-anveshan {
  font-family: 'VT323', serif;
  color: white;
  text-align: center;
  margin: 2rem 0 1rem 0;
  padding: 0 3rem;
}

#contact-text {
  text-align: right;
}

#contact-anveshan h2 {
  margin: 0;
  font-size: 5rem;
}

#img-with-description-contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  padding-right: 5rem;
}

/* ---- sponsors content ---- */

#sponsors-anveshan {
  font-family: 'VT323', serif;
  color: white;
  text-align: center;
  margin: 2rem 0 1rem 0;
  padding: 0 3rem;
}

#sponsors-text {
  text-align: left;
}

#sponsors-anveshan h2 {
  margin: 0;
  font-size: 5rem;
}

#img-with-description-sponsors {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  padding-left: 5rem;
}

@media (max-width: 768px) {
  #anveshan-heading-pre {
    font-size: 5rem;
    padding-top: 25%;
  }

  #anveshan-heading {
    font-size: 3rem;
  }

  #anveshan-subheading {
    font-size: 2rem;
  }

  #about-anveshan h2,
  #events-anveshan h2,
  #contact-anveshan h2,
  #sponsors-anveshan h2 {
    font-size: 3rem;
  }

  #about-anveshan,
  #events-anveshan,
  #contact-anveshan,
  #sponsors-anveshan {
    margin: 0;
  }

  #img-with-description-about,
  #img-with-description-events,
  #img-with-description-contact,
  #img-with-description-sponsors {
    font-size: 1rem;
    flex-direction: column;
    padding: 0 5% 0 5%;
    height: 80vw;
    gap: 10%;
  }

  #img-with-description-events,
  #img-with-description-sponsors {
    flex-direction: column-reverse;
  }

  #events-anveshan-btn span {
    font-size: 2.2rem;
    padding-bottom: 10px;
  }

  #about-text,
  #contact-text,
  #sponsors-text,
  #events-text {
    text-align: center;
  }

  .stacked-btn {
    width: 7rem;
    height: 4rem;
    transform: none;

  }

  .stacked-btn:before {
    display: none;
  }

  .stacked-btn:after {
    display: none;
  }

  .stacked-btn span {
    border: 1px solid #8A2BE2;
    padding: 5px;
    border-radius: 10px;
    font-size: 2rem;
    text-align: center;
  }
}

@media (min-width: 300px) and (max-width: 500px) {
  #anveshan-heading-pre {
    font-size: 2.5rem;
    padding-top: 25%;
  }

  #anveshan-heading {
    font-size: 2rem;
  }

  #anveshan-subheading {
    font-size: 1.5rem;
  }

  #about-anveshan h2,
  #events-anveshan h2,
  #contact-anveshan h2,
  #sponsors-anveshan h2 {
    font-size: 2rem;
  }

  #img-with-description-about,
  #img-with-description-events,
  #img-with-description-contact,
  #img-with-description-sponsors {
    font-size: 1rem;
    flex-direction: column;
    padding: 0 5% 0 5%;
    height: fit-content;
    gap: 3rem;
    margin-bottom: 20%;
  }

  #img-with-description-events,
  #img-with-description-sponsors {
    flex-direction: column-reverse;
  }

  #events-anveshan-btn span {
    font-size: 2.2rem;
    padding-bottom: 10px;
  }

  #about-text,
  #contact-text,
  #sponsors-text,
  #events-text {
    text-align: center;
  }

  .stacked-btn {
    width: 7rem;
    height: 4rem;
    transform: none;
  }

  .stacked-btn:before {
    display: none;
  }

  .stacked-btn:after {
    display: none;
  }

  .stacked-btn span {
    border: 1px solid #8A2BE2;
    padding: 5px;
    border-radius: 10px;
    font-size: 2rem;
    text-align: center;
    height: fit-content;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  #anveshan-heading-pre {
    font-size: 7rem;
    padding-top: 20%;
  }

  #anveshan-heading {
    font-size: 5rem;
  }

  #anveshan-subheading {
    font-size: 3rem;
  }

  #about-anveshan h2,
  #events-anveshan h2,
  #contact-anveshan h2,
  #sponsors-anveshan h2 {
    font-size: 5rem;
  }

  #img-with-description-about,
  #img-with-description-events,
  #img-with-description-contact,
  #img-with-description-sponsors {
    font-size: 2rem;
    flex-direction: column;
    padding: 0 5% 0 5%;
    height: 70vw;
    gap: 10%;
  }

  #img-with-description-events,
  #img-with-description-sponsors {
    flex-direction: column-reverse;
  }


  #img-with-description-events {
    margin-top: 10%;
  }

  #about-text,
  #contact-text,
  #sponsors-text,
  #events-text {
    text-align: center;
  }

  #events-anveshan-btn span {
    font-size: 3.2rem;
    padding-bottom: 10px;
  }

  .stacked-btn {
    width: 10rem;
    height: 6rem;
    transform: none;
  }

  .stacked-btn:before {
    display: none;
  }

  .stacked-btn:after {
    display: none;
  }

  .stacked-btn span {
    border: 1px solid #8A2BE2;
    padding: 5px;
    border-radius: 10px;
    font-size: 3rem;
    text-align: center;
    padding-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) and (max-width: 1600px) {
  #anveshan-heading-pre {
    font-size: 8rem;
    padding-top: 10%;
  }

  #anveshan-heading {
    font-size: 6rem;
  }

  #anveshan-subheading {
    font-size: 4rem;
  }

  #about-anveshan h2,
  #events-anveshan h2,
  #contact-anveshan h2,
  #sponsors-anveshan h2 {
    font-size: 5rem;
  }

  #img-with-description-about,
  #img-with-description-events,
  #img-with-description-contact,
  #img-with-description-sponsors {
    font-size: 1.5rem;
    flex-direction: column;
    padding: 0 5% 0 5%;
    height: fit-content;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  #img-with-description-events,
  #img-with-description-sponsors {
    flex-direction: column-reverse;
  }

  #events-anveshan-btn span {
    font-size: 3.2rem;
    padding-bottom: 10px;
  }

  #about-text,
  #contact-text,
  #sponsors-text,
  #events-text {
    text-align: center;
  }

  .stacked-btn {
    width: 10rem;
    height: 6rem;
    transform: none;
  }

  .stacked-btn:before {
    display: none;
  }

  .stacked-btn:after {
    display: none;
  }

  .stacked-btn span {
    border: 1px solid #8A2BE2;
    padding: 5px;
    border-radius: 10px;
    font-size: 3rem;
    text-align: center;
  }
}