/* General styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  height: 100vh;
  overflow: visible;
}

.video-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5); /* Optional dark overlay */
}

/* Title styles */
h1 {
  color: #fff;
  font-size: 3rem;
  text-align: center;
  opacity: 0;
  transform: translateY(30px); /* Start slightly below */
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

h1.visible {
  opacity: 1;
  transform: translateY(0); /* Move to original position */
}

.brand-name {
  font-family: 'Baloo Tammudu 2', sans-serif;
  font-weight: 600;
  font-size: 3rem; /* Optional: Adjust size */
  line-height: 1;
}

/* Apply Open Sans font to the 'Labs' part */
.labs-name {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700; /* Optional: Adjust font weight */
  font-size: 1.6rem; /* Optional: Adjust size to match 'Lynova' */
  line-height: 1;
}

/* Subheading styles */
.subheading {
  font-size: 1.2rem; /* Smaller font size */
  color: #cdcdfb; /* Light purple color */
  text-align: center;
  margin-top: 0.5rem;
  opacity: 0; /* Hidden by default for fade-in effect */
  transform: translateY(30px); /* Start slightly below */
  transition: opacity 2s ease-in-out 1s, transform 2s ease-in-out 1s; /* Delay subheading fade-in */
}

.subheading.visible {
  opacity: 1;
  transform: translateY(0); /* Move to original position */
}

/* Button styles */
.button {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 40px;
  border: 1px solid #cccdfb;
  background-color: transparent;
  color: #cccdfb;
  font-size: 16px;
  text-decoration: none; /* Ensures no underlines */
  border-radius: 4px;
  opacity: 0;
  transform: translateY(20px); /* Start below its final position */
  transition: opacity 1.5s ease-in, transform 1s ease-in; /* Fade and move up */
  cursor: pointer; /* Make the cursor a pointer like a button */
}

.button.visible {
  opacity: 1;
  transform: translateY(0); /* Move to position */
}

.button:hover {
  background-color: #cccdfb;
  color: #0e1126;
}


/* Kit waiting list */
.formkit-form[data-uid="5ec84779c6"], .formkit-powered-by-convertkit-container{display: none!important;}
.seva-modal[data-active=true], .formkit-modal[data-active=true] {
  opacity: 1;
  margin-top: 63px!important;;
}
.formkit-form[data-uid="5ec84779c6"] .formkit-alert-success {
  background: #cdcdfb!important;;
  border-color: #504ec4!important;;
  color: #504ec4!important;;
}



/* Mobile-specific styles */
@media (max-width: 768px) {
  .brand-name {
    font-size: 2.2rem;
  }
  .labs-name {
    font-size: 1.5rem;
  }
  .subheading {
    font-size: 1rem; /* Adjust subheading size for smaller screens */
    color: #cdcdfb !important; /* Force the subheading color on mobile */
  }
  .button {
    position: fixed; /* Use fixed position to stay at the bottom when scrolling */
    bottom: 100px;
  }
  }
}


@media not all and (min-resolution:.001dpcm) { 
  @supports (-webkit-appearance: none) {
    .button {
      -webkit-appearance: none; /* Prevent Safari's default button styling */
      
    }
  }
}