@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700&display=swap');

@media (max-width: 600px) {
    .input-container {
      flex-direction: column !important;
    }
  }

body {
  background-color: #00011D;
  text-align: center;
  font-family: 'Archivo', sans-serif !important;
  color: white;
  height: 75vh;
}

.landing-page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 5%;
}

.overundr-logo {
    width: 320px;
    padding-top: 3%;
    padding-bottom: 2%;
}

.soon-text {
    padding-top: 2%;
    font-size: 25px;
    font-weight: 400;
}

.form-style {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.input-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.checkbox-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Container centering & padding */
.checkbox-container {
  display: flex;
  padding: 1rem 2rem;
  justify-content: center;
}

/* Make the entire label a flex row, center-aligned and tappable */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 2vw, 0.5rem);
  background: #00011D;
  border-radius: 0.5rem;
  cursor: pointer;
  user-select: none;
}

/* Responsive font sizing */
.checkbox-label-text {
  font-size: 20px;
  font-weight: 400;
  color: white;
}

/* Hide native checkbox visuals */
.custom-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: clamp(1.25rem, 5vw, 1.5rem);
  height: clamp(1.25rem, 5vw, 1.5rem);
  border: 0.15rem solid #1ce783;
  border-radius: 0.25rem;
  background-color: transparent;
  position: relative;
  flex-shrink: 0;
}

/* The checkmark */
.custom-checkbox input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  clip-path: polygon(41% 52%, 26% 35%, 10% 51%, 37% 88%, 91% 33%, 78% 18%);
  background-color: white;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease-in-out;
}

/* Show the checkmark when checked */
.custom-checkbox input[type="checkbox"]:checked::before {
  transform: translate(-50%, -50%) scale(1);
}

.input-style {
    min-width: 200px;
    min-height: 40px;
    background-color: #00011D;
    color: white;
    border: 2px solid #1ce783;
    border-radius: 5px;
    text-align: center;
    font-family: 'Archivo', sans-serif;
    font-size: 20px;
}

.submit-button {
    min-width: 250px;
    min-height: 45px;
    background-color: #1ce783;
    color: black;
    border: 2px solid #1ce783;
    border-radius: 5px;
    text-align: center;
    font-family: 'Archivo Black', sans-serif;
    font-size: 20px;
}

.submit-button:hover {
    background-color: #00011D;
    color: white;
    cursor: pointer;
}

/* Glitch Text CSS */
.glitch {
  position: relative;
  font-size: 65px;
  line-height: 70px; /* Ensure element height matches font size */
  font-weight: 800;
  font-family: 'Archivo Black', sans-serif;
  color: white;
  letter-spacing: 2px;
  display: inline-block;
  overflow: hidden;
  text-transform: uppercase;
}

.glitch:before,
.glitch:after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: #1ce783;
  z-index: -1;
  /* Base state: only the top slice is visible */
  -webkit-clip-path: inset(0 0 50px 0);
  clip-path: inset(0 0 50px 0);
  -webkit-animation: glitch-animation 5s infinite;
  animation: glitch-animation 5s infinite;
}

.glitch:before {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.glitch:after {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

/* WebKit keyframes */
@-webkit-keyframes glitch-animation {
  0% {
    transform: translate(0);
    -webkit-clip-path: inset(0 0 50px 0);
    clip-path: inset(0 0 50px 0);
  }
  5% {
    transform: translate(-5px, -5px);
    -webkit-clip-path: inset(25px 0 25px 0);
    clip-path: inset(25px 0 25px 0);
  }
  10% {
    transform: translate(5px, 5px);
    -webkit-clip-path: inset(50px 0 0 0);
    clip-path: inset(50px 0 0 0);
  }
  15% {
    transform: translate(-5px, 5px);
    -webkit-clip-path: inset(25px 0 25px 0);
    clip-path: inset(25px 0 25px 0);
  }
  /* Hold static for the rest of the cycle */
  20%, 80%, 100% {
    transform: translate(0);
    -webkit-clip-path: inset(0 0 50px 0);
    clip-path: inset(0 0 50px 0);
  }
}

/* Standard keyframes */
@keyframes glitch-animation {
  0% {
    transform: translate(0);
    -webkit-clip-path: inset(0 0 50px 0);
    clip-path: inset(0 0 50px 0);
  }
  5% {
    transform: translate(-5px, -5px);
    -webkit-clip-path: inset(25px 0 25px 0);
    clip-path: inset(25px 0 25px 0);
  }
  10% {
    transform: translate(5px, 5px);
    -webkit-clip-path: inset(50px 0 0 0);
    clip-path: inset(50px 0 0 0);
  }
  15% {
    transform: translate(-5px, 5px);
    -webkit-clip-path: inset(25px 0 25px 0);
    clip-path: inset(25px 0 25px 0);
  }
  /* Hold static for the rest of the cycle */
  20%, 80%, 100% {
    transform: translate(0);
    -webkit-clip-path: inset(0 0 50px 0);
    clip-path: inset(0 0 50px 0);
  }
}
