@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@600&family=Poppins:wght@300;400;700&display=swap');


* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;

}

body {
    background-color: black;
}

.main {
    background-image: url(assets/images/netflixteaser.png);
    height: 80vh;
    width: 100%;
    background-position: center center;
    /* background-size: max(1200px, 100vw); */
    background-size: cover;
    background-repeat: no-repeat;
    height: 77vh;
    position: relative;

}

.main .box {
    height: 80vh;
    top: 0;
    width: 100%;
    opacity: 0.70;
    position: absolute;
    background-color: black;
}

nav {
    align-items: center;
    justify-content: center;
    display: flex;
    max-width: 100vw;
    height: 50px;

}

nav img {
    color: red;
    width: 130px;
    position: relative;
    z-index: 10;
    margin-right: 333px;
    background-position: center;
}

.hero {
    color: white;
    position: relative;
    justify-content: center;
    flex-direction: column;
    height: calc(100% - 62px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 25px;
}

.hero> :nth-child(1) {
    font-family: 'Poppins', sans-serif;
    font-weight: bolder;
    font-size: 40px;
    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;
}

.separation {
    height: 5px;
    background-color: gray;
    position: relative;
    z-index: 20;
    margin-top: -40px;
}

.btn {
    padding: 6px 8px;
    border-radius: 4px;
    background-color: rgba(248, 243, 243, 0.021);
    font-weight: 200px;
    border: 1px solid white;
    color: white;
    cursor: pointer;

}

.btn-red {
    background-color: red;
    cursor: pointer;
    color: white;
    padding: 6px 24px;
}

.btn-red-sm {
    background-color: red;
    color: white;
}

.hero-buttons {
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 18px;
}

.main input {
    padding: 7px 101px 8px 14px;
    color: white;
    font-size: 12px;
    border-radius: 4px;
    background-color: rgba(23, 23, 23, 0.7);
    border: 1px solid rgba(246, 238, 238, 0.5);
}
@media screen and (max-width: 1300px) {

    nav{
        max-width: 90vw;
    }
.first {
    color: white;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
    margin: auto;
    max-width: 78vw;
}

.secimg {
    position: relative;
}

.secimg img {
    width: 540px;
    position: relative;
    z-index: 10;
}

.secimg video {
    position: absolute;
    overflow: hidden;
    padding-top: 52px;
    right: 24px;
    width: 450px;

}

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: 18px;
}
}
.faq h2{
    text-align: center;
    font-size: 45px;
}

.faq {
    background-color: black;
    color: white;
    padding: 34px;

}
.faqbox svg{
    filter: invert(1);
}

.faqbox:hover {
    transition: all 1s ease-out;
    background-color: #6c6868;
    color: white;
}
.faqbox {
    display: flex;
    justify-content: space-between;
    background-color: #2d2d2d;
    max-width: 60vw;
    margin: 15px auto;
    padding: 20px;
}
footer{
    color: white;
    max-width: 65vw;
    margin: auto;
    padding: 60px;
}

.questions{
    padding: 34px 0;
}
.footer{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.footer-item{
    display: flex;
    flex-direction: column;
    gap: 22px;
}
 footer a{
    color: white;
}