@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@600&family=Poppins:wght@300;400;700&display=swap');

* {
    font-family: 'Poppins';
    margin: 0;
    padding: 0;

}

body {
    background-color: black;
}


.main {
    background-image: url(assets/img/bg.jpg);
    background-position: center center;
    background-size: max(1200px, 100vw);
    background-position: 0px 0px;
    height: 700px;
    background-repeat: no-repeat;
    /*prevents img from repeating to fill the container */
    position: relative;
    /* reference point for absolute positioning */

}

.main .box {
    background-color: #000;
    height: 700px;
    position: absolute;
    width: 100%;
    opacity: 0.75;
    top: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 2px 10%;
    align-items: center;
    height: 100px;
    margin: auto;
    position: relative;
    z-index: 10;
}

.heading {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 20px;
    padding: 0 30px;
    height: calc(100% - 100px);
    /*calc() function to set the element’s height to the full height of its parent (100%) minus 100 pixels */
}

.heading> :nth-child(1) {
    width: 600px;
    font-family: 'Poppins', sans-serif;
    font-weight: bolder;
    font-size: 55px;
    text-align: center;
}

.heading> :nth-child(2) {
    margin: -17px 0px 0px 0px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 19px;
    text-align: center;
}

.heading> :nth-child(3) {
    margin: 0px 0px 90px 0px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    padding: 10px 0 0 0;
}

.btn {
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    padding: 5px 12px;
    font-weight: 510;
    background-color: rgb(255, 0, 0);
    color: white;
    border: 2px solid;
    border-color: rgba(0, 0, 0, 0);
    border-radius: 4px;
    cursor: pointer;
}

.btn-lang {
    background-color: #1b1a1a9b;
    border: 1px solid rgba(255, 255, 255, 0.377);
    padding: 5px 30px;
    font-weight: 400;
    font-size: 16px;
}

.nav-btn {
    display: flex;
    gap: 14px;
}

.btn-started {
    font-size: 25px;
    font-weight: 400;
    padding: 7px 17px;
}

.btn-red:hover {
    background-color: #d30a0a;

}

.heading-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: -83px 0 0 0;
}

.heading input {
    padding: 16px 140px 16px 18px;
    background-color: #1b1a1aac;
    border: 1px solid rgba(255, 255, 255, 0.377);
    border-radius: 4px;
    font-size: 15px;
    color: white;
}

.heading input::placeholder {
    font-weight: bold;
}

.separation {
    margin: -3px 0 0 0;
    height: 7px;
    background-color: rgb(46, 44, 44);
    position: relative;
    z-index: 20;
}

/* Curved separation just after the hero section (Netflix-style red glow) */
.separation-hero {
    margin: -12px 0;
    padding: 1px 0;
    height: 12px;
    background-color: #000;
    position: relative;
    overflow: hidden; /* hides lower part of the big circle */
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;

}

.separation-hero::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 198%;
    height: 260px;
    top: -210px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 85%,
            rgba(229, 9, 20, 0.95) 0%,
            rgba(229, 9, 20, 0.75) 20%,
            rgba(229, 9, 20, 0.25) 45%,
            transparent 60%);
    box-shadow: 0 -10px 35px rgba(229, 9, 20, 0.9);
}

.first {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 70vw;
    margin: auto;
    color: white;
}



.secImg {
    position: relative;
}

.secImg img {
    width: 555px;
    position: relative;
    z-index: 10;
}

.secImg video {
    position: absolute;
    top: 75px;
    right: 1px;
    width: 485px;
}

section.first>div {
    display: flex;
    flex-direction: column;
    padding: 34px 0;
}

section.first>div :nth-child(1) {
    font-size: 48px;
    font-weight: bolder;

}

section.first>div :nth-child(2) {
    font-size: 24px;
}

.third video {
    top: 90px;
}

.faq {
    background-color: black;
    color: white;
    padding: 34px;
}

.faq h2 {
    font-size: 40px;
    text-align: center;
}

.faqbox {
    background-color: #2d2d2d;
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: space-between;
    padding: 24px;
    max-width: 60vw;
    margin: 34px auto;
    cursor: pointer;
    transition: all 0.5s ease-out;
}

.faqbox:hover {
    background-color: #4b4a4a;
}

footer {
    color: white;
    max-width: 60vw;
    height: 50vh;
    margin: 0 60px;
    padding: 50px;
}

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 100px;
}


footer .question {
    padding: 34px 0;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.footer a {
    color: rgb(200, 196, 196);
    font-size: 14px;
}

.credit {
    color: rgb(144, 145, 145);
    margin: 18px 0px;
    padding: 53px 0px;
    font-size: 13px;
}

.author {
    font-size: 16px;
    margin: -50px 0px;
    color: rgb(144, 145, 145);
}

@media screen and (max-width: 1300px) {
    .main{
        background-size: max(1300px);
    }
    .first {
        flex-wrap: wrap;
    }
    .heading input {
        padding: 13px 96px 13px 16px;
    }

    .footer {
        grid-template-columns: 1fr 1fr;
    }

    .secImg img {
        width: 280px;
    }

    .secImg video {
        width: 250px;
    }

    .third video {
        top: 70px;
    }

    .heading> :nth-child(1) {

        font-size: 32px;
        width: 300px;


    }

    .heading> :nth-child(2) {

        font-size: 18px;
    }

    .heading> :nth-child(3) {

        font-size: 18px;
    }

    nav img {
        width: 90px;
    }

    .heading-buttons {
        flex-wrap: wrap;
        gap: 20px;

    }

    .heading input {

        font-size: 15px;
    }

    .btn-red {
        font-size: 15px;
        font-weight: bold;
    }

    .btn-lang {
        font-size: 15px;
    }

    section.first>div :nth-child(1) {
        font-size: 32px;
        text-align: center;
    }

    section.first>div :nth-child(2) {
        font-size: 18px;
        text-align: center;
    }

    .faq h2 {
        font-size: 26px;
    }

    .faqbox {
        font-size: 16px;
    }
    .footer-item{
        text-align: center;
        align-items: center;

    }
    footer{
        max-width: 90vw;
        margin: auto;
        height: 70vh;

    }
    .author {
    font-size: 16px;
    margin: -60px 0px;
    color: rgb(144, 145, 145);

    }
}