body {
    color: #080808;
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 10vh;
}

::selection {
  background: #0c1e87;
  color: rgb(255, 255, 255);
}

.navlink {
    display: flex;
    border-radius: 10px;
    width: 8vw;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.topnav {
    height: 7vh;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* for Safari */
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px 0px 0px 20px;
}
.hero {
  position: relative;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.contenthighlight {
  color: #212104;
  font-weight: 500;
}

.content {
  position: relative;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg-image {
    position: absolute;
    inset: 0;          /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill the section, crop if necessary */
    z-index: 0;
}

.content h1 {
    position: relative;
    z-index: 1;         /* Keeps text above the image */
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* makes text visible */
  z-index: 1;
}

.text {
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: white;
  font-size: 5rem;
  font-family: "DM Sans", sans-serif;
}

.video-wrapper {
  width: 80%;
  height: 80%;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}





.box-link {
  position: relative;
  display: inline-block;
  padding: 6px 14px; /* controls distance between text and innermost box */
  text-decoration: none;
  color: rgb(0, 0, 0);
}

/* shared box style */
.box-link::before,
.box-link::after,
.box-link span {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid rgb(111, 85, 6);;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* OUTER box */
.box-link::before {
  inset: -10px;   /* distance from text */
  transition-delay: 0s;
}

/* MIDDLE box */
.box-link::after {
  inset: -6px;
  border-width: 1px;
  transition-delay: 0.1s;
}

/* INNER box */
.box-link span {
  inset: -2px;
  border-width: 1px;
  transition-delay: 0.2s;
}

/* hover fade-in cascade */
.box-link:hover::before,
.box-link:hover::after,
.box-link:hover span {
  opacity: 1;
}

/* optional smoother fade-out */
.box-link:not(:hover)::before { transition-delay: 0.2s; }
.box-link:not(:hover)::after  { transition-delay: 0.1s; }
.box-link:not(:hover) span    { transition-delay: 0s; }







/* SIGNUP */



select {
    padding: 10px 14px;
    font-size: 16px;
    border: 3px solid #ccc;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    
}

select:focus {
    outline: none;
    border-color: #0c1e87;
    
}

.select::after {
  border: 1px solid #ccc;;
}

.button:hover {
    background: #3451c7;
    transform: scale(1.05);
}



.box {
  border-radius: 6px;
  background: rgba(218, 227, 236, 0.562);
}
.box p {
  font-size: 1.6em;
  display: flex; 
  justify-content: center; 
  align-items: center;
  margin: 2vh;
}
.box h1 {
  font-size: 1em;
  padding-left: 2vw;
}




input {
    padding: 10px 14px;
    font-size: 16px;
    border: 3px solid #ccc;
    border-radius: 6px;
    background: white;
    cursor: text;
    transition: all 0.3s ease;
    
}

input:focus {
    outline: none;
    border-color: #0c1e87;
    
}

.input::after {
  border: 1px solid #ccc;;
}

.material-symbols-outlined {
    font-size: 1.2em;
    animation: iconFade 4s ease-in-out infinite;
}
@keyframes iconFade {
    0%,
    100% {
        color: black;
    }

    50% {
        color: white;
    }
}



.input_container {
  width: 37vw; 
  justify-content: flex-end; 
  display: flex;  
  align-items: center;
}
.text_input_container {
  width: 16vw; 
  justify-content: flex-end; 
  display: flex;  
  align-items: center;
}






.submit-btn {
    position: relative;
    width: 180px;
    height: 50px;
    overflow: hidden;
}

.text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.submit {
    opacity: 1;
    transition: opacity 0.4s;
}

.arrows {
    opacity: 0;
    transition: opacity 0.4s;
}

.arrow {
    opacity: 0;
    transition: opacity 0.2s;
}

.a1 { transition-delay: 0s; }
.a2 { transition-delay: 0.15s; }
.a3 { transition-delay: 0.30s; }

.submit-btn:hover .submit {
    opacity: 0;
}

.submit-btn:hover .arrow {
    opacity: 1;
}

.submit-btn:not(:hover) .a1 { transition-delay: 0.30s; }
.submit-btn:not(:hover) .a2 { transition-delay: 0.15s; }
.submit-btn:not(:hover) .a3 { transition-delay: 0s; }








/* ABOUT */

/*.sticky {*/
/*    position: sticky;*/
/*    top: 20px;*/
/*    align-self: flex-start;*/
/*}*/



.abt_us_spacer {
  width: 100%; 
  height: 35vh;
}



html,
body {
    margin: 0;
    width: 100%;
}

body {
    position: relative;
    min-height: 100vh;
}

.flashlight {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 0;

    --mouse-x: 50%;
    --mouse-y: 50%;
    --radius: 180px;
}

/* This image determines the height of the flashlight area */
.bottom-image {
    display: block;
    width: 100%;
    height: auto;
}

/* This image sits directly over the bottom image */
.top-image {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: fill;

    pointer-events: none;

    mask-image: radial-gradient(
        circle var(--radius) at var(--mouse-x) var(--mouse-y),
        black 0%,
        black 65%,
        transparent 100%
    );

    -webkit-mask-image: radial-gradient(
        circle var(--radius) at var(--mouse-x) var(--mouse-y),
        black 0%,
        black 65%,
        transparent 100%
    );
}



/* HOOOMMME */



.generated-text {
    font-family: monospace;
    white-space: pre-wrap;
}

.symbol-red {
    color: red;
}

.symbol-green {
    color: limegreen;
}

.finished-character {
    font-family: 'DM Sans', sans-serif;
    color: rgb(254, 253, 253);
}




.fade-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-item.visible {
    opacity: 1;
    transform: translateY(0);
}


.fade-heading {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.fade-heading.visible {
    opacity: 1;
    transform: translateY(0);
}


.scramble-button {
    min-width: 140px;
    padding: 12px 24px;
    font-family: monospace;
    font-size: 18px;
    cursor: pointer;
}

button {
  border: 3px solid #ccc;
  border-radius: 6px;
  background-color: rgba(215, 214, 214, 0.604);
}

.scramble-button .symbol-red {
    color: red;
}

.scramble-button .symbol-green {
    color: limegreen;
}


a,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: black;
}