body,
html {
    font-family: 'Poppins', sans-serif;
    height: 100%;
    margin: 0;
    background: #000000;
    overflow: hidden;
}

a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.1em;
    color: white;
    cursor: pointer;
    z-index: 8;
}

p {
    font-size: 18px;
    color: white;
    line-height: 1.6;
    margin-top: 3px;
    width: 130%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: -1;

}


h1 {
    font: 3em Poppins;
    color: white;
    text-align: center;
    font-weight: 700;
    z-index: 8;
    margin: 0;
    line-height: 1;
}

h2 {
    font: 2em Poppins;
    color: white;
    text-align: center;
    font-weight: 500;
    z-index: 8;
    line-height: 1;
}


h3{
    font: 1em Poppins;
    color: white;
    text-align: center;
    font-weight: 200;
    z-index: 8;
    line-height: 1;
    position: relative;
    top: calc(13vh + 3vw); 
     margin: auto;
     text-shadow: black 0px 0px 10px;

}



.middle-logo{
    margin-top: 1.8em;
    margin-bottom: -25px;
}

.subHead1 {
    
    font-weight: 500;
    line-height: 1;
    z-index: 12;

}

.subHead2 {
    
    font-weight: 500;
    line-height: 1;
    z-index: 12;

}

.spaced {
    margin: 1%; /* Adjust as needed */
}


.tex-landing-form{
    justify-content: center;
    padding: 0 50px 0 50px;
    border-radius: 5px;
    display: flex;
    width: 60%;
    z-index: 12;
    position: absolute;
    top: calc(10em + 6vw + 50px);
    
}

#top-text {
    position: absolute;
    top: 3em;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 8;
    /* Add this line */
}

.centered-box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2em;
    font-size: calc(1em + 1vw);
}

.column {
    flex: 0 1 auto;
    color: white;
    padding: 10px;
}

#centeredImage {
    position: fixed;
    bottom: 2%; /* Adjust as needed */
    left: 50%;
    height: 55vh;
    transform: translateX(-50%);
    z-index: 2; /* Adjust as needed */
}

.container {
    background-image: url('dark-bg-on.jpg');
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /*animation: pulse 3s ease-in-out infinite;*/
}

@keyframes pulse {
    0% {
        background-image: url('dark-bg-on.jpg');
    }

    50% {
        background-image: url('dark-bg-off.jpg');
    }
}

.container.next-animation {
    animation: next-animation 6s forwards;
}

@keyframes next-animation {
    0% {
        background-image: url('dark-bg-on.jpg');
    }

    /* Add more keyframes as needed */
    100% {
        background-image: url('dark-bg-off.jpg');
    }
}

#subscribed {
    background-image: url('dark-bg-on.jpg');
}

#truck-trailer {
    position: fixed;
    bottom: 70px;
    left: 100%;
    width: 300px; /* Adjust as needed */
    height: auto; /* Keep the aspect ratio */
    animation: move-across 16s ease-out 15s forwards;
    mix-blend-mode: hard-light; 
    opacity: 0.9;
}

@keyframes move-across {
    0% { left: 100%; }
    100% { left: -100%; }
}

#faded {
    opacity: .5;
}
/*
#mc_embed_signup {
    background: transparent;
    clear: left;
    font: 14px Helvetica, Arial, sans-serif;
    width: 100%;
}
*/
.button {
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: black;
    color: #fff;
    padding: 10px 20px;
    border-width: .5px;
    border-color: rgba(255, 255, 255, 0.4);
    border-radius: 35px;
    cursor: pointer;
    width: 55%;
    max-width: 400px;
}

.button:hover {
    background-color: #334d6e;
}

#TEXlogo {
    position: fixed;
    top: 15px;
    left: 10px;
    width: 130px;
    /* Adjust as needed */
    height: auto;
    /* Keep the aspect ratio */
    z-index: 12;
}
#TEXlogoText {
    position: fixed;
    font: 1em Poppins;
    color: white;
    text-align: left;
    font-weight: 200;
    z-index: 8;
    top: 40px;
    left: 10px;
    width: 170px;
    margin-top: 1em;
    height: 50;
    /* Keep the aspect ratio */
}



/*
#launching {
    object-fit: fit;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: auto;
    z-index: 12;
    animation: blink 5s steps(5, end);
}

@keyframes blink {
    0%, 20%, 40%, 60%, 80%, 100% {opacity: 1;}
    10%, 30%, 50%, 70%, 90% {opacity: 0;}
}
*/

.floating-letters {
    font-weight: 500;
    line-height: 1; 
    box-sizing: border-box;
    overflow: hidden;
    transform: translatey(0px);
    animation: float 9s ease-in-out infinite;

    img {
        width: 100%;
        height: auto;
    }
}

#col1 {
    animation-delay: 1s;
    /* adjust as needed */
}

#col2 {
    animation-delay: 4s;
    /* adjust as needed */
}

#col3 {
    animation-delay: 3s;
    /* adjust as needed */
}

#col4 {
    animation-delay: 6s;
    /* adjust as needed */
}

#col5 {
    animation-delay: 5s;
    /* adjust as needed */
}

@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-8px);
    }

    100% {
        transform: translatey(0px);
    }
}

.overflow-hidden {
    overflow: hidden;
}

#drop-in {
    animation: drop-in 1s ease 200ms backwards;
}

#drop-in-2 {
    animation: drop-in 1200ms ease 300ms backwards;
}

#drop-in-3 {
    animation: drop-in 1600ms ease 400ms backwards;
}


@keyframes drop-in {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translate(0px);
    }
}





.animate.pop {
    animation-duration: 0.5s;
    animation-name: animate-pop;
    animation-timing-function: cubic-bezier(.26, .53, .74, 1.48);
}

@keyframes animate-pop {
    0% {
        opacity: 0;
        transform: scale(0.5, 0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1, 1);
    }
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}


#concrete-wall {
    opacity: 0 !important;
    display: block;
    position: fixed;
    background-image: url('concrete-wall.webp');
    background-size: 100% 100%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 11;
    /* Just below the signup form */
}



/*
.signup-form,
#signupForm {

    text-align: center;
    background-image: url('remote-bg-on.png');
    background-size: cover;
    padding: 160px 20px 50px 20px;
    border-radius: 5px;
    z-index: 11;
    transform: translateX(-50%);
    width: 450px;
    height: 559px;
    min-height: 30vh;
    max-height: 50vh;
    position: absolute;
    bottom: -100%;
    left: 50%;
    transition: bottom 0.5s ease-in-out;
}
*/

#rising-image {

    position: fixed;
    width: auto;
    height: auto;
    max-height: 60vh;
    /* Limit height to 75% of viewport height */
    bottom: 0;
    left: 50%;
    /* Center horizontally */
    transform: translateX(-50%);
    /* Adjust for image width */
    transition: opacity 1s;
    /* Transition for fade in */
    animation: rise 2s ease-out forwards;
}


#black-room {

    position: fixed;
    /* Fixed position */
    bottom: 0;
    /* Align to the bottom */
    left: 0;
    /* Align to the left */
    width: 100%;
    /* Full width */
    min-height: 100vh;
    /* At least as tall as the viewport height */
    height: auto;
    /* Auto height to maintain aspect ratio */
    z-index: 9;
    transition: opacity 2s;
    /* Transition for fade in */
    mix-blend-mode: normal;
}

#black-room.closed {
    opacity: 0;
    z-index: 9;
}

#trailer-wrapper {
    opacity: 0.0;
    transition: opacity 1s;
    /* Transition for fade in */
    background-color: none;
}

#trailer-video {
    position: fixed;
    /* Fixed position */
    top: 36%;
    /* Center vertically */
    left: 50%;
    /* Center horizontally */
    width: 75%;
    /* 75% width */
    height: 69vh;
    /* 70% of the viewport height */
    transform: translate(-50%, -50%);
    /* Offset for centering */
    z-index: 14;
    /* Set stack order above other elements */
    
}


#rising-image.fade-out {
    animation: fade-out 1s forwards;
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes rise {
    0% {
        bottom: -60%;
        /* Adjust this value based on your image height */
        transform: translateX(-50%) scale(0.8);
        /* Start from half size */
        opacity: 0;
        /* Start from completely transparent */
    }

    100% {
        bottom: 0;
        transform: translateX(-50%) scale(1);
        /* End at full size */
        opacity: 1;
        /* End at completely opaque */
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*
.signup-form form {
    display: flex;
    flex-direction: column;
    z-index: 11;
    margin-top: 40px;

}

.signup-form input,
.signup-form button {
    font-size: 20px;
    padding: 15px;
    width: 60%;
}
*/

.bottom-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 100%;
    min-height: 30vh;
    max-height: 85vh;
    z-index: 4;
}

.countdown,
#countdown {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    transition: opacity .5s ease-in-out;
    z-index: 7;
    mix-blend-mode: multiply;
}

#devices {
    opacity: 1;
    transition: opacity .5s ease-in-out;
    z-index: 7;
}


#foregroundVideo {
    object-fit: cover;
    z-index: 0;
    position: fixed;
    top: -20px; /* Extend beyond the top of the screen */
    left: -20px; /* Extend beyond the left of the screen */
    width: calc(100% + 40px); /* Extend beyond the right of the screen */
    height: calc(100% + 40px); /* Extend beyond the bottom of the screen */
    opacity: .2;
    transition: opacity 1s ease-in-out;
    mix-blend-mode: hard-light;
}

input[type="text"],
input[type="email"] {
    background: rgba(47, 47, 47, 0.5);
    color: #bdbdbd;
    border-radius: 5px;
    border-width: .5px;
    border-color: rgba(255, 255, 255, 0.4);
    margin-bottom: 5px;
}

button {
    background-color: black;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #334d6e;
}

#mc-embedded-subscribe:hover {
    background-color: #334d6e;
}

.hamburger-menu,
#hamburgerMenu {
    font: 36px Poppins;
    font-weight: 900 !important;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 99;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
}

.hamburger-menu-items,
#menuItems {
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hamburger-menu-items a,
#menuItems a {
    z-index: 99;
    color: white;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 24px;
}

.hamburger-icon,
#hamburgerIcon {
    position: fixed;
    z-index: 99;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.hamburger-icon div {
    z-index: 99;
    width: 35px;
    height: 5px;
    background-color: white;
    margin: 6px 0;
}

.info-box {
    display: none;
    /* js to 'grid' */
    justify-content: center;
    align-content: center;
    position: absolute;
    top: 10vh;
    width: 80%;
    z-index: 5;
    text-align: center;
}

.top-image {

    width: 60%;
    height: auto;
    max-width: 230px;
    margin-bottom: 0;
}



#thankYou {
    top: 20%;
    font: 36px Poppins;
    font-weight: 900 !important;
    color: white;
    margin: 10px 0;
    text-align: center;
    z-index: 20;

}

#buttonContainer {
    position: relative;
    height: 100var(--vh);
    width: 100%;
}

#triggerButton,
.trigger-button {
    background: transparent;
    /* background: rgba(47, 47, 47, 0.6);
    font: 26px Helvetica, Arial, sans-serif;
    color: white;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: .25px;
    border-bottom: 0;
    border-color: rgba(255, 255, 255, 0.6);
    z-index: 5;
    border-radius: 25px 25px 0 0;
    width: 300px;
    height: 5var(--vh);
    max-height: 75px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.5s;*/

}

/*

#triggerButton:hover, .trigger-button:hover {
    background: rgba(47, 47, 47, 0.8);
    border-color: white;
    color: white;
    box-shadow:
        0 0 10px white,
        0 0 20px white;

}

#trailerButton, .trailer-button {
    width: 100px;
    height: 100px;
    background: rgba(47, 47, 47, 0.8);
    font: 46px Helvetica, Arial, sans-serif;
    color: white;
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 2px;
    border-color: white;
    z-index: 5;
    border-radius: 0 30px 30px 0;
    width: 100px;
    height: 100px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.5s;

}


#trailerButton:hover, .trailer-button:hover {
    border-color: white;
    color: white;
    box-shadow:
        0 0 10px white,
        0 0 20px white;

}

#closeButton {
    background-image: url('remote-close-btn-dark.png');
    background-color: transparent;
    background-size: cover;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 105px;
    top: 84px;
    width: 50px;
    height: 50px;
    z-index: 15;
}

#closeButton:hover {
    background-image: url('remote-close-btn-active.png');
    background-color: transparent;
    background-size: cover;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 105px;
    top: 84px;
    width: 50px;
    height: 50px;
    z-index: 15;
}

*/

#closeTrailerButton,
.close-trailer-button {


    background-repeat: no-repeat; background-image: url('closeTrailerButton.png');
    background-size: cover;
    cursor: pointer;
    position: fixed;
    right: 10px;
    top: 10px;
    width: 50px;
    height: 50px;
    z-index: 100;
}

#closeTrailerButton:hover,
.close-trailer-button:hover {
    background-size: fit;
    background-repeat: no-repeat; background-image: url(closeTrailerButton.png);
    cursor: pointer;
    position: fixed;
    right: 10px;
    /* Adjust as needed */
    top: 10px;
    /* Adjust as needed */
    width: 50px;
    height: 50px;
    z-index: 100;
}

@media only screen and (max-width: 1000px) {

    #TEXlogoText {
    }

    #centeredImage {
        display: none;
    }

    .tex-landing-form{
        background:rgba(0, 0, 0, 0);
        
        border-radius: 15px;
        border-color: transparent;
        border-width: 1px;
        border-style: solid;
        padding-bottom: 5px;
        padding-top: 5px;
        position: fixed;
        top: 55%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%);  /*Adjust for element's own dimensions */
        margin: auto;

    }

    #top-text {
        top: 10vh;
        font-size: .9em;
        left: 0;
        right: 0;
        text-align: center;
        
    }
    .centered-box {
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        font-size: 2.5vh;
        margin-top: 5px;
        top: 5vh;
        padding: 0 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .centered-box > div:nth-child(odd) {
        grid-column: 1;
    }
    .centered-box > div:nth-child(even) {
        grid-column: 2;
    }
    .centered-box > div:last-child {
        grid-column: 1 / span 2;
    }

    .subHead2 {
        font-size: 1.3em;
        font-weight: 100;
        width: 90%;
        top: 35vh !important;
        position: fixed;
        top: 50%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%); /* Adjust for element's own dimensions */
        margin: auto;
    }
}

@media only screen and (max-width: 768px) {

    p {
        font-size: 12px !important;
        max-width: 90% !important;
        background-color:rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        padding: 10px;
    }

    .button {
        margin-top: 5px !important;
        margin-bottom: 5px;
        background-color: black;
        color: #fff;
        padding: 10px 20px;
        border-width: .5px;
        border-color: rgba(255, 255, 255, 0.4);
        border-radius: 35px;
        cursor: pointer;
        width: 55%;
        max-width: 400px;
    }

    .centered-box {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 2em;
        font-size: calc(1em + 1vw);
        margin-top: -10px;
    }

    
    .centered-box > div:last-child {
        display: none;
    }

    .tex-landing-form{
        position: relative;
        top: 150px; 
        
 
    }
    .floating-letters {

        font-weight: 500;
        line-height: 1; 
        box-sizing: border-box;
        overflow: hidden;
        transform: translatey(0px);
        animation: float 9s ease-in-out infinite;
    
        img {
            width: 80%;
            height: auto;
        }
    }
    

    .subHead2 {
        font-size: 1.3em;
        font-weight: 100;
        width: 90%;
        top: 35vh !important;
        position: fixed;
        top: 50%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%); /* Adjust for element's own dimensions */
        margin: auto;
    }

    h1 {
       font-weight: 800;
    }

    h2 {
        font-weight: 600 !important;
        padding-top: 5px;
    }

    h3 {
        font-weight: 300 !important;
    }

    

    .floating-logo {
        width: 60px !important;
    }

    #foregroundVideo {
        opacity: 0.1 !important;
        mix-blend-mode: hard-light !important;
    }

    #top-text {
        top: 13vh;
        font-size: .7em;
        left: 0;
        right: 0;
        text-align: center;
        
    }
    
    .subHead1 {
        font-size: .6em;
        top: 0;
        margin: auto;
        position: relative;
        margin: auto;
    }

    
    
    
    
    




    /*
    #closeButton,
    #closeButton:hover {
        right: 70px;
        top: 60px;
    }
    */

    #triggerButton,
    .trigger-button {
        position: fixed;
        max-width: 75%;
        height: 7var(--vh);
        max-height: 70px;
        bottom: 0;
        left: 50%;

    }

    #trailerButton,
    .trailer-button {
        position: fixed;
        max-width: 100px;
        max-height: 300px;
        top: 50%;

    }

    /*
    .signup-form {
        width: 90%;
        height: 200px;
        max-width: 100%;
        padding-bottom: 150px;

    }

    input[type="text"],
    input[type="email"],
    .signup-form form {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    */
    
    #rising-image {
        max-height: 90vh;
        max-width: 100vw;
        opacity: 0 !important;
    }

    .info-box {
        top: 20vh;
        width: 85%;
        margin-bottom: 0;
    }

    .top-image {
        width: 80%;
        margin-bottom: 0;
    }


    .bottom-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        min-width: 380px;
        width: auto;
    }

}

@media (max-height: 600px) {

    .subHead2 {
        font-size: 1.3em;
        font-weight: 100;
        width: 90%;
        top: 35vh !important;
        position: fixed;
        top: 50%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%); /* Adjust for element's own dimensions */
        margin: auto;
    }

    /*
    .signup-form {
        width: 450px;
    }
    */

    p {
        font: 16px Helvetica, Arial, sans-serif;
    }

    #rising-image {
        max-height: 90vh;
        max-width: 100vw;
    }

    .info-box {
        top: 30px;
        margin-bottom: 5px;
    }

    input[type="text"],
    input[type="email"] {
        width: 70%;
        margin-left: -5px;
    }

    #triggerButton,
    .trigger-button {
        position: fixed;
        bottom: 20px;
        max-width: 75%;
        top: 80%;
        left: 50%;
        height: 200px;

    }

    .bottom-image {
        min-width: 480px;
    }
}