@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@600&display=swap');
*{
    margin: 0;
    padding: 0;
}
body{
    background-color: black;
}
.main{
    background-image: url("Assets/Images/bg.jpg");
    background-position: center center;
    background-size: max(1400px,100vw);
    background-repeat: no-repeat;
    height: 75vh;
    position: relative;
}
.main .box{
    height: 75vh;
    width: 100%;
    opacity: 0.69;
    position: absolute;
    top: 0%;
    background-color: black;
}
nav{
    max-width: 70vw;
    justify-content: space-between;
    margin: auto;
    display: flex;
    align-items: center;
    height: 75px;
}
nav img{
    position: relative;
    z-index: 10;
}
nav button{
    position: relative;
    z-index: 10;
}
.hero{
    font-family: "Martel Sans", sans-serif;
    height: calc(100% - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    position: relative;
    gap: 23px;
}
.hero> :first-child{
    font-weight: bolder;
    font-size: 48px;
    text-align: center;
}
.hero> :nth-child(2){
    font-weight: 400;
    font-size: 24px;
    text-align: center;
}
.hero> :nth-child(3){
    font-weight: 400;
    font-size: 20px;
    text-align: center;
}
.seperation{
    height: 4px;
    background-color: rgb(57, 57, 57);
}
.btn{
    padding: 3px 8px;
    font-weight: 400;
    background-color: rgba(255, 255, 255, 0.066);
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    cursor: pointer;
}
.btn-red-sm{
    background-color: red;
}
.main input{
    padding: 7px 101px 8px 14px;
    color: white;
    font-weight: 400;
    font-size: 12px;
    border-radius: 4px;
    background-color: rgba(23,23,23,0.7);
    border: 1px solid rgba(246,238,238,0.5);
}
.btn-red{
    background-color:red;
    padding: 3px 24px;
    font-size: 20px;
    border-radius: 4px;
}
.hero-buttons{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}
.first{
    display: flex;
    justify-content: center;
    max-width: 70vw;
    margin: auto;
    color: white;
    align-items: center;
}

/* The image box scales as one unit, so the video always stays inside the TV screen */
.secImg{
    position: relative;
    width: 563px;
    max-width: 100%;
    container-type: inline-size;
}
.secImg img{
    width: calc(100% - 8px);
    position: relative;
    z-index: 10;
    margin: 4px;
}
.secImg video{
    width: 81.7cqw;
    position: absolute;
    top: 12.1cqw;
    right: 4.1cqw;
}
.first > div{
    display: flex;
    flex-direction: column;
}
.first > div :first-child{
    font-size: 48px;
    font-weight: bolder;
}
.first > div :nth-child(2){
    font-size: 20px;
}
.faq h2{
    font-size: 48px;
    text-align: center;
    padding: 34px;
}
.faq{
    background-color: black;
    color: white;
}
.faqbox{
    display: flex;
    max-width: 55vw;
    margin: 18px auto;
    justify-content: space-between;
    background-color: grey;
    padding: 28px;
    cursor: pointer;
}
.faqbox:hover{
    background-color: rgb(159, 156, 156);
}
footer{
    color: white;
    margin: auto;
    max-width: 60vw;
    padding: 14px;
}
footer .questions{
    padding: 34px;
}
.footer a{
    font-size: 14px;
    color: white;
}
.footer{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    color:white;
    max-width: 60vw;
}
.footer-item{
    display: flex;
    flex-direction: column;
    gap: 23px;
}

/* ---------- Tablets ---------- */
@media (max-width: 900px){
    nav{
        max-width: 90vw;
    }
    .hero> :first-child{
        font-size: 38px;
    }
    .hero> :nth-child(2){
        font-size: 20px;
    }
    .hero> :nth-child(3){
        font-size: 17px;
    }

    /* stack the feature sections */
    .first{
        flex-direction: column;
        max-width: 90vw;
        text-align: center;
        padding: 30px 0;
        gap: 10px;
    }
    .first > div{
        align-items: center;
    }
    .first > div :first-child{
        font-size: 34px;
    }
    .first > div :nth-child(2){
        font-size: 18px;
    }

    .faqbox{
        max-width: 85vw;
    }
    footer,
    .footer{
        max-width: 90vw;
    }
    .footer{
        grid-template-columns: 1fr 1fr;
        gap: 23px;
    }
}

/* ---------- Phones ---------- */
@media (max-width: 600px){
    nav{
        height: 65px;
    }
    nav img{
        width: 90px;
    }

    /* let the hero grow with its content instead of a fixed height */
    .main{
        height: auto;
        min-height: 75vh;
    }
    .main .box{
        height: 100%;
    }
    .hero{
        height: auto;
        padding: 50px 20px 70px;
        gap: 18px;
    }
    .hero> :first-child{
        font-size: 28px;
    }
    .hero> :nth-child(2){
        font-size: 16px;
    }
    .hero> :nth-child(3){
        font-size: 15px;
    }
    .hero-buttons{
        flex-direction: column;
        width: 100%;
        max-width: 340px;
    }
    .main input{
        width: 100%;
        box-sizing: border-box;
        padding: 12px 14px;
        font-size: 14px;
    }
    .btn-red{
        font-size: 17px;
        padding: 8px 24px;
    }

    .first > div :first-child{
        font-size: 26px;
    }
    .first > div :nth-child(2){
        font-size: 16px;
    }

    .faq h2{
        font-size: 26px;
        padding: 24px 16px;
    }
    .faqbox{
        max-width: 90vw;
        padding: 18px;
        font-size: 15px;
        gap: 12px;
    }
    footer .questions{
        padding: 20px 0;
    }
}
/* ---------- Background fix for tablets and phones ---------- */
@media (max-width: 900px){
    .main{
        background-size: cover;
        background-position: center center;
    }
}

@media (max-width: 600px){
    .main{
        min-height: 70svh;
    }
}