* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scrollbar-width: none;
  scroll-behavior: smooth;
}
body {
  background: #0b0c10;
  font-family: "SUSE", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  color: white;
  text-align: justify;
  overflow-x: hidden;
  overflow-y: scroll;
}


/* stylesheets for preloader */



/* <-------------------> */



.websiteContainer {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("/images/pc_bg.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  overflow-y: scroll;
  height: 100vh;
  width: 100vw;
}
.websiteContainer::-webkit-scrollbar {
  display: none; /* Hide scrollbar */
}
/* .websiteContainer div{
    width: 100%;
    height: 100%;
  } */
#home {
  overscroll-behavior: none;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* animation-name: animate;
  animation-direction: alternate-reverse;
  animation-duration: 15s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-play-state: running;
  animation-timing-function: ease-in-out; */
  animation: backgroundChange 20s infinite ease-in-out;
  position: relative;
}
@keyframes backgroundChange {
  0% {
    background-image: url(/images/pc_bg.webp);
  }
  20% {
    background-image: url(/images/pcbg3.webp);
  }
  40% {
    background-image: url(/images/pcbg5.webp);
  }
  60% {
    background-image: url(/images/pcbg4.webp);
  }
  80% {
    background-image: url(/images/pcbg2.webp);
  }
  100%{
    background-image: url(/images/pc_bg.webp);
  }
}
.innerSection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}
.innerDetails {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: center;
  font-size: 25px;
}
#extravaganza-text {
  color: rgb(255, 179, 0);
  font-size: 1.5em;
}
#jashn-e-hunar {
  color: rgb(255, 146, 3);
  text-shadow: 5px 5px 10px grey, -5px -5px 10px gray;
  font-size: 0.8em;
  margin-left: 20px;
}
.innerDetails h3 {
  color: rgb(168, 168, 168);
  font-size: 20px;
}
.innerSection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(/images/akash.jpeg); */
}
.timer {
  margin-top: 50px;
  display: flex;
  gap: 20px;
}
.timer div {
  flex-basis: 100px;
}
.timer div p {
  color: rgb(255, 179, 0);
  font-size: 50px;
}
.timer div span {
  font-size: 16px;
  margin-left: 5px;
  text-align: center;
}
.main-reg-button {
  font-family: "SUSE", sans-serif;
  margin: 0px 10px;
  cursor: pointer;
  font-weight: 800;
  font-size: 20px;
  margin-top: 10px;
  outline: 2px solid rgb(255, 191, 0);
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  /* background: rgba(17, 17, 17, 0.076); */
  /* backdrop-filter: blur(80px); */
  background: transparent;
  color: rgb(255, 191, 0);
}
.main-reg-button:hover {
  outline: 4px solid rgb(176, 133, 5);
  background: rgba(132, 253, 71, 0.076);
  background: transparent;
  backdrop-filter: blur(5px);
  color: rgb(255, 191, 0);
  transition: 0.1s;
  box-shadow: 1px 1px 20px rgba(255, 255, 0, 0.543),
    -1px -1px 20px rgba(255, 255, 0, 0.563);
}
.afterSection {
  height: 30vh;
  width: 100vw;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.405),
    rgba(59, 59, 59, 0)
  );
}
#about {
  /* height: calc(100vh - env(safe-area-inset-bottom)); */
  width: 100vw;
  line-height: 30px;
  word-spacing: 0px;
}
.aboutContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 30px 100px;
  gap: 30px;
  font-size: 16px;
}
#about div div {
  width: 100%;
  overflow: hidden;
}
.aboutDiv {
  overflow: hidden;
  padding: 30px;
  /* padding: 100px; */
}
.aboutDiv div {
  border-radius: 20px;
  box-shadow: -5px -5px 20px rgba(255, 255, 0, 0.5),
    5px 5px 20px rgba(255, 255, 0, 0.5);
  width: 600px;
  height: 300px;
  position: relative;
}
#teasure-video video{
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#about div div {
  overflow: hidden;
}
#aboutText {
  display: flex;
  align-items: center;
  justify-content: center;
}
#about div p {
  font-size: 1.1em;
}
#registerButton{
  font-family: "SUSE", sans-serif;
  padding: 40px 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#registerButton button {
  font-family: "SUSE", sans-serif;
  cursor: pointer;
  padding: 10px 20px;
  color: rgb(52, 52, 52);
  font-size: 0.8em;
  border-radius: 20px;
  outline: none;
  border: none;
  background: rgb(255, 226, 4);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}
#registerButton button:hover {
  background: gray;
  padding: 10px 30px;
  transform: scale(1.1);
  transition: 0.1s;
}
#evntchild a{
  text-decoration: none;
}
#cmptnchild a{
  text-decoration: none;
}
.events {
  margin-top: 200px;
  /* min-height: 100vh; */
  width: 100%;
}
.events div {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.events div .eventCard {
  height: 450px;
  width: 300px;
  background: rgba(255, 0, 0, 0.1);
  color: rgb(231, 226, 226);
  backdrop-filter: blur(0px);
  border: 5px solid rgba(247, 103, 6, 0.3);
  background-color: rgba(143, 6, 6, 0.433);
  /* box-shadow: -5px -5px 10px rgba(255, 0, 0, 0.5),5px 5px 10px rgba(255, 0, 0, 0.5); */
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 20px;
  overflow: hidden;
}
.eventCard:hover{
  box-shadow: 1px 1px 10px rgba(247, 103, 6, 0.3), -1px -1px 10px rgba(247, 103, 6, 0.3);
}
#event-poster {
  height: 300px;
  width: 100%;
  background: url(media/images/rangoli-banner.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
  border: 0.5px solid red;
}
#event-details {
  height: 150px;
  width: 100%;
  font-size: 16px;
}
.eventCard p {
  font-size: 12px;
}
.eventCard img {
  height: 250px;
  border-radius: 15px;
  border: 2px solid rgba(247, 103, 6, 0.3);
}
.events div button {
  cursor: pointer;
  padding: 10px 20px;
  color: rgb(255, 255, 255);
  font-size: 0.8em;
  border-radius: 20px;
  outline: none;
  border: none;
  background: rgba(255, 0, 0, 0.671);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}
.events div button:hover {
  background: gray;
  padding: 10px 30px;
  transform: scale(1.1);
  transition: 0.1s;
}
#moreEventsButton {
  margin-top: 50px;
}
.competitions {
  margin-top: 200px;
  width: 100%;
}
.competitions div {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.competitions div .competitionCard {
  height: 450px;
  width: 300px;
  background: rgba(1, 111, 255, 0.245);
  color: rgb(231, 226, 226);
  backdrop-filter: blur(0px);
  border: 5px solid rgba(6, 191, 247, 0.3);
  /* box-shadow: -5px -5px 10px rgba(255, 0, 0, 0.5),5px 5px 10px rgba(255, 0, 0, 0.5); */
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 20px;
  overflow: hidden;
}
.competitionCard:hover{
  box-shadow: 1px 1px 10px rgba(6, 191, 247, 0.3), -1px -1px 10px rgba(6, 191, 247, 0.3);
}
.competitionCard img {
  height: 250px;
  border-radius: 15px;
  border: 2px solid rgba(6, 191, 247, 0.3);
}
.competitions div button {
  cursor: pointer;
  padding: 10px 20px;
  color: rgb(3, 3, 3);
  font-size: 0.8em;
  border-radius: 20px;
  outline: none;
  border: none;
  background: rgb(0, 191, 255);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}
.competitions div button:hover {
  background: gray;
  color: white;
  padding: 10px 30px;
  transform: scale(1.1);
  transition: 0.1s;
}
#moreCompetitionsButton {
  margin-top: 50px;
}
.specialEvents{
  margin-top: 100px;
  display: flex;
  justify-content: center;
  gap: 100px;
}
.specialEvents .left, .specialEvents .right{
  width: 500px;
  /* border: 2px solid rgba(255, 255, 255, 0.432); */
  background: rgba(255, 255, 255, 0.158);
  backdrop-filter: blur(10px);
  border-radius: 20px;
}
.specialEvents .left img, .specialEvents .right img{
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.468);
  border-radius: 20px;
}
.specialEvents .left div:nth-child(2){
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.specialEvents .left span {
  font-size: 800;
  font-size: 30px;
  text-align: center;
}
.specialEvents .left p{
  font-size: 12px;
}
.kaviDetails{
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.specialEvents .right div:nth-child(2){
  width: 100%;
}
#sammelanDiv {
  display: flex;
  justify-content: center;
  align-items: center;
}

.specialEvents .right div section img{
  width: 70px;
  border-radius: 50%;
}
#sammelanText{
  font-size: 35px;
  text-align: center;
}
.kaviDetails{
  padding: 0 20px 20px 20px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.kaviDetails div section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#kaviName{
  text-align: center;
  font-size: 10px;
}
.kaviDetails div p{
  font-size: 12px;
}
.sponsors {
  width: 100%;
  margin-top: 100px;
}
.sponsors div:nth-child(1) {
  text-align: center;
  font-size: 35px;
}
.sponsorContainer {
  padding: 50px;
  width: 100%;
  display: flex;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
}
.sponsorContainer img{
  width: 200px;
  /* border: 1px solid green; */
  border-radius: 10px;
}
.addressBar {
  height: 20vh;
  width: 100vw;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.205),
    rgba(59, 59, 59, 0.04)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.addressBar div:nth-child(1) {
  width: 100%;
  display: flex;
  padding: 0px 90px;
  justify-content: space-around;
  align-items: center;
  visibility: hidden;
}
.addressBar div:nth-child(1) a img {
  height: 20px;
}

.addressBar div:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 0px 10px 0px;
  font-size: 22px;
}

/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup Box */
.popup-content {
  background: #a1a102;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 350px;
}

/* Header */
.popup-content h2 {
  margin: 0 0 10px;
  color: #333;
}

/* Close Button */
.close-btn {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  margin-top: 15px;
  font-size: 16px;
  outline: 1px solid rgb(217, 214, 214);
  margin-left: 4px;
}

.close-btn:hover {
  background-color: #d32f2f;
}

/* CTA Button */
.cta-btn {
  background-color: #2c682e;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
  margin-top: 15px;
  border: 1px solid rgb(217, 214, 214);
}

.cta-btn:hover {
  background-color: #45a049;
}



@media only screen and (max-width: 1024px) {
  .innerDetails {
    padding: 0px 20px;
    font-size: 12px;
  }
  #extravaganza-text {
    font-size: 1.7em;
  }
  #jashn-e-hunar {
    font-size: 0.7em;
    margin-left: 5px;
  }
  .innerDetails h3 {
    font-size: 10px;
  }
  .timer {
    margin-top: 20px;
    display: flex;
  }
  .timer div {
    flex-basis: 50px;
  }
  .timer div p {
    color: rgb(255, 179, 0);
    font-size: 30px;
    margin-left: 2px;
  }
  .timer div span {
    font-size: 10px;
    margin-left: px;
  }
  .main-reg-button {
    margin-left: 5px;
    padding: 7px 10px;
    margin-top: 5px;
    font-size: 12px;
    outline: 2px solid rgb(255, 191, 0);
  }
  
  .navbar {
    background: linear-gradient(
      to bottom,
      rgb(0, 0, 0),
      rgba(0, 0, 0, 0.706),
      rgba(0, 0, 0, 0.455),
      rgba(70, 69, 69, 0)
    );
  }
  .aboutContainer {
    padding: 0px;
    width: 100vw;
    flex-direction: column;
  }
  .aboutContainer div {
    width: 100%;
    overflow: hidden;
  }
  .aboutDiv{
    padding: 40px;
  }
  .aboutDiv div {
    height: 200px;
  }
  #aboutText{
    padding:0 30px;
  }
  .navbar div:nth-child(odd) {
    display: none;
  }
  .menuNav {
    display: block;
  }
  /* .navbar div:nth-child(even){
          position: fixed;
          top: 0;
          left: 0;
      } */
  #eventTitleText h1 {
    font-size: 1.5em;
  }
  #about div p {
    font-size: 1em;
    line-height: 20px;
    text-align: center;
  }
  #about div:nth-child(1) {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #about div iframe {
    height: 200px;
  }
  #about img {
    width: 100%;
  }
  .infoDiv {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* .infoDiv div {
      width: 90vw;
      height: 100vh;
      background-image: url(media/images/graduation-scroll.jpg);
    } */
  .footer {
    display: none;
  }
  .footerContent {
    display: none;
  }
  .navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0px;
  }
  .events div,
  .competitions div {
    flex-direction: column;
    gap: 50px;
  }
  .events,
  .competitions {
    margin-top: 100px;
  }
  .events div .eventCard {
    width: 280px;
    height: 400px;
  }
  .competitions div .competitionCard {
    width: 280px;
    height: 400px;
  }
  .eventCard img,
  .competitionCard img {
    width: 200px;
    height: 200px;
  }
  .eventCard p {
    font-size: 12px;
  }
  .addressBar div p {
    font-size: 15px;
  }
  .addressBar div:nth-child(1) {
    visibility: visible;
  }

  /* Events Wale Page ka mediaQuery */

  .childContainer {
    grid-template-columns: 1fr;
  }
  .eventTitleBar h2 {
    font-size: 25px;
  }
  .eventTitleBar p {
    font-size: 10px;
  }

  /* Particular Event Wale Page ka */
  .leftArea button {
    font-size: 10px;
    padding: 7px 15px;
  }
  .middleArea {
    display: none;
  }
  .particularEventParent div:nth-child(odd) {
    width: 100%;
  }
  .particularEventParent {
    flex-direction: column;
  }
  .eventOverview div:nth-child(even) {
    display: none;
  }
  .eventOverview {
    flex-direction: column;
    gap: 20px;
    text-align: justify;
  }
  .rightArea {
    padding: 50px;
  }

  /* Timeline wala page ke liye */

  .timeline {
    margin: 50px auto;
  }
  .timeline::after {
    left: 31px;
  }
  .container {
    width: 100%;
    padding-left: 80px;
    padding-right: 25px;
  }
  .textBox {
    font-size: 13px;
  }
  .textBox small {
    margin-bottom: 10px;
  }
  .rightContainer {
    left: 0;
  }
  .leftContainer img,
  .rightContainer img {
    left: 10px;
  }
  .leftContainerArrow,
  .rightContainerArrow {
    border-right: 15px solid #fff;
    border-left: 0;
    left: -15px;
  }
  .sponsors div h3 {
    font-size: 25px;
  }
  .specialEvents{
    margin-top: 30px;
    flex-direction: column;
    padding: 30px;
    gap: 40px;
  }
  .specialEvents .left, .specialEvents .right{
    width: 100%;
  }
  .left div:nth-child(2){
    padding: 0px;
  }
  .left div:nth-child(2) span ,#sammelanText{
    font-size: 25px;
  }
  .left div:nth-child(2) p {
    font-size: 11px;
  }
  .kaviDetails{
    margin-top: 5px;
  }
  .kaviDetails div p{
    font-size: 10px;
  }
  .specialEvents .left div:nth-child(2){
    padding: 0 20px 15px 20px;
    gap: 1px;
  }
  .specialEvents .right div section img{
    width: 50px;
  }
  .sponsorContainer{
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sponsorContainer img{
    width: 100px;
  }
  .aboutDiv div{
    height: 150px;
  }
  .afterSection{
    height: 70px;
  }





  .popup-content {
    width: 90%; /* Adjust width for small screens */
    padding: 15px; /* Reduce padding */
  }

  .popup-content h2 {
    font-size: 18px; /* Adjust font size */
  }

  .cta-btn {
    font-size: 14px; /* Adjust button font size */
    padding: 8px 16px; /* Adjust button padding */
  }

  .close-btn {
    padding: 6px 12px; /* Adjust close button padding */
  }
}

