* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "montserrat", sans-serif;
  color: #fff;
}

html,
body {
  height: 100%;
  width: 100%;
}
*::selection {
  background-color: #fff;
  color: #000814;
}

body::-webkit-scrollbar {
  display: block;
  width: 8px;
  background: #000814;
}

body::-webkit-scrollbar-thumb {
  background-color: #ccc7c7;
  border-radius: 50px;
}

body {
  overflow-x: hidden;
}
#loader {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: #111;
  color: #fff;
  z-index: 9999;
}

#loader #topheading {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, 0);
}

#topheading h5 {
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 300;
}

#loader h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4vw;
  font-weight: 500;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 9999;
}

#loader h1 span {
  font-family: "Mazius Review"

}
#green {
  position: absolute;
  top: 100%;
  width: 100%;
  height: 0vh;
  background-color: #0b8a48;
  z-index: 9999;
}
.reveal .parent {
  overflow-y: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
}

.reveal .parent .child {
  display: block;
}

.parent .child span {
  display: inline-block;
}
#cursor {
  height: 20px;
  width: 20px;
  background-color:#fff;
  border-radius: 50%;
  position: fixed;
  z-index: 99;
  transition: all linear 0.1s;
}
#cursor-blur {
  height: 500px;
  width: 500px;
  background-color:rgba(0, 0, 255, 0.3);
  border-radius: 50%;
  position: fixed;
  filter: blur(80px);
  z-index: 9;
  transition: all linear 0.4s;
}

/* Navigation */
#nav {
  height: 110px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 120px;
  gap: 50px;
  position: fixed;
  justify-content: space-between;
  z-index: 999;
}

#nav img {
  height: 6vw;
  border-radius: 50%;
}

#nav h4 {
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  font-size: 1em;
}

/* Video */
video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
  position: fixed;
}

/* Main container */
#main {
  position: relative;
  background-color: rgba(0, 0, 0, 0.39);
}

/* Page 1 */
#page1 {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  z-index: 10;
}

#page1 h1 {
  font-size: 5em;
  font-weight: 900;
  position: relative;
}

#page1 h1::before {
  content: "CODEJENCTURE";
  position: absolute;
  color: #000;
  top: -5px;
  left: -5px;
  -webkit-text-stroke: 3px #0b8a48;
  z-index: -1;
}

#page1 h2 {
  color: aqua;
  font-size: 2em;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 20px;
}

#page1 p {
  font-size: 1.2vw;
  font-weight: 500;
  width: 40%;
}

#neon {
  font-size: 3em;
  font-weight: 900;
  position: relative;
  height: 20px;
}

#neon::before {
  content: "Register now";
  position: absolute;
  color: #000;
  top: -5px;
  left: -5px;
  -webkit-text-stroke: 3px #0b8a48;
  z-index: -1;
}

/* CSS for club info layout */
.club-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.club-text {
  width: calc(50% - 20px); /* Adjust as needed */
}

.club-image {
  width: calc(50% - 20px); /* Adjust as needed */
  text-align: center;
}

.club-image img {
  max-width: 100%;
  height: auto;
}




/* Timeline */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400&display=swap');

.design-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1f1f1f;
  min-height: 100vh;
  padding: 100px 0;
  font-family: Jost;
}

h1 {
  color: white;
  font-weight: 700;
  font-size: 500%;
}

.design {
  display: flex;
  align-items: center;
  justify-content: center;
}

#timeline {
  width: 80%;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.timeline-content {
  padding: 20px;
  background: #1f1f1f;
  -webkit-box-shadow: 5px 5px 10px #1a1a1a, -5px -5px 10px #242424;
          box-shadow: 5px 5px 10px #1a1a1a, -5px -5px 10px #242424;
  border-radius: 5px;
  color: white;
  padding: 1.75rem;
  transition: 0.4s ease;
  overflow-wrap: break-word !important;
  margin: 1rem;
  margin-bottom: 20px;
  border-radius: 6px;
}

.timeline-component {
  margin: 0px 30px 30px 30px;
}

#timeline {
  display: grid;
  grid-template-columns: 1fr 3px 1fr;
}

.timeline-middle {
  position: relative;
  background-color: #fff;
  width: 3px;
  height: 100%;
}

.main-middle {
  opacity: 0;
}

.timeline-circle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-content {
  opacity: 1;
  visibility: visible;
  animation: upDown 1s infinite alternate;
}

@keyframes upDown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(10px);
  }
}

/* Page 3 */
.page3 ul li {
  font-size: 1.5em;
  font-weight: 200;
  width: 100%;
  padding-left: 50px;
}

#regulations-heading {
  font-size: 5em;
  color: aqua;
  opacity: 0;
  transform: translateY(50px) scale(0.5);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page3 {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-around;
  z-index: 8;
}

.c {
  height: 20vw;
  border-radius: 5px;
}


.page4{
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 1rem;
  z-index: 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.form{
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  z-index: 11;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2,1fr);
}


.contact-form{
  background-color: #009B6A;
  position: relative;
}

.circle{
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 20%, #066839);
  position: absolute;
}

.circle.one{
  width: 130px;
  height: 130px;
  top: 130px;
  right: -40px;
}

.circle.two{
  width: 80px;
  height: 80px;
  top: 10px;
  right: 20px;
}

.contact-form::before{
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-color:#009B6A;
  transform: rotate(45deg);
  top: 70px;
  left: -13px;
}

form{
  padding: 2.3rem 2.2rem;
  z-index: 10;
  overflow: hidden;
  position: relative;
}

.contact-title{
  color: #fff;
  font-family: Bebas Neue;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 65px;
  line-height: 1;
}

.input-container{
  position: relative;
  margin: 2rem 0;

}

.input{
  width: 100%;
  outline: none;
  border: 2px solid #fafafa;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.5px;
  border-radius: 25px;
  transition: 0.3s;
}


.input-container label{
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: #fafafa;
  font-size: 18px;
  font-weight: 500;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}

.submit-button{
  padding: 0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fafafa;
  font-size: 0.95rem;
  color: #009B6A;
  line-height: 1;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  margin: 0;
  font-weight: bold;
  transition: background-color 0.15s, color 0.15s;
}

.submit-button:hover{
  background-color: transparent;
  color: #fff;
}

.input-container span{
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span::before,
.input-container span::after{
  content : "";
  position: absolute;
  width: 50%;
  height: 5px;
  opacity: 0;
  transition: 0.3s;
  background-color: #009B6A;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

label{
  background-color: #009B6A;
}

.input-container span::before{
  left: 50%;
}

.input-container span::after{
  right: 50%;
}

.input-container.focus label{
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
  ;
}

.input-container.focus span::before,
.input-container.focus span::after{
  width: 50%;
  opacity: 1;
}

.flex-container {
  display: flex;
  justify-content: space-between;
}

.input-container {
  flex: 1;
  margin-right: 20px; /* Adjust as needed */
}

.input-container:last-child {
  margin-right: 0;
}

.input-container input,
.input-container label,
.input-container span {
  display: block;
}

.input-container input {
  width: 100%;
}

.input-container span {
  margin-top: 8px; /* Adjust vertical alignment */
}

.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.left-title{
  color:#009B6A;
  font-family: Bebas Neue;
  font-size: 40px;
  margin-bottom: 0;
}

.text {
  color: #333;
  margin: 0.4rem 0 2rem 0;
  font-weight: 400;
}

.information {
  display: flex;
  color: #333;
  margin: 1.5rem 0;
  align-items: center;
  margin-bottom: 2rem;
}

.information p{
  color:#009B6A;
  margin: 0;
  font-size: 17px;
  margin-left: 10px;
}

.icon {
  width: 28px;
  margin-right: 0.7rem;
}

.social-media {
  padding: 2rem 0 0 0;
}

.social-media p {
  color: #333;
  font-size: 17px;
  font-weight: bold;
}

.social-icons {
  display: flex;
  margin-top: 0.5rem;
}


.social-icons a:hover {
  transform: scale(1.05);
}

.contact-info:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 100px;
  border: 22px solid #009B6A;
  border-radius: 50%;
  bottom: -77px;
  right: 50px;
  opacity: 0.3;
}


@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
  }

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .page4 {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }


  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .left-title,
  .contact-title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    width: 23px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .submit-button {
    padding: 0.45rem 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  #left-section,
  #right-section {
    width: 90%;
    max-width: none;
  }

  #contact-info-container > div {
    width: 100%;
  }

  #button {
    max-width: none;
  }
}


/* Footer */
.footer {
  position: relative;
  width: 100%;
  background:#009B6A;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}
.social-icon__link:hover {
  transform: translateY(-10px);
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}

.wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("wave\ \(2\).png");
  background-size: 1000px 100px;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

/* .nav-item {
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: bolder;
}

.nav-item a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-item a:hover {
  color: black;
}

.col {
  padding: 0 15px;
}

@media (min-width: 576px) {
  .col {
    flex-basis: 0;
    flex-grow: 1;
    max-width: none;
  }
}

.text-body-secondary {
  color: white;
} */

@media screen and (max-width: 600px) {
  #page1{
    background-color: #000;
    width: 460px;
  }
  html,body{
    background-color: black;
    width: 460px;
  }

  #nav {
    align-items: flex-start;
    gap: 5px;
    position:absolute;
    margin-top:30px;
    
  }

  #nav img {
    height: 30px;
  }

  #nav h4 {
    font-size: 0.7em;
  }

  #nav a {
    text-align: left; 
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  #a {
    display:none;
    background-color: #000;
    width:460px;
    }
  #page1 h1{
    font-size: 3em;
  }
  video{
    display: none;
  }
  #regulations-heading{
    font-size: 4.5vw;
  }
  .c{
    display: none;
  }
  .design-section{
    width: 460px;
  }
  
}

@media screen and (max-width: 768px) {
  #nav {
    padding: 0 3%;
  }

  #nav img {
    height: 40px;
  }

  #nav h4 {
    font-size: 0.8em;
  }
}

.message-container {
  display:none;
  color: #fff; /* Text color */
  padding: 30px; /* Padding */
  margin-top: 10px;
  border-radius: 5px; /* Border radius */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Box shadow */
  background: linear-gradient(45deg, #4CAF50, #2E7D32); /* Gradient background */
  transition: background-color 0.3s ease; /* Transition effect */
 
}
.error {
  background: linear-gradient(45deg, #f44336, #d32f2f); /* Gradient background */
}

.message-container:hover {
  background: linear-gradient(45deg, #66BB6A, #388E3C); /* Hover gradient background */
}
