@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,slnt,wdth,wght,GRAD@6..144,-10..0,25..151,1..1000,0..100&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    font-family: "Google Sans Flex", sans-serif;

}

body {
    background: black;
}

.main {
    background-image: url("assets/images/netflix.jpg");
    background-position: center center;
    background-size: max(1500px, 100vw);
    background-repeat: no-repeat;

    height: 88vh;
    position: relative;

}

.main .box {
    height: 88vh;
    width: 100%;
    opacity: 0.74;
    background-color: black;
    position: absolute;
    top: 0;
}

nav {
    display: flex;
    max-width: 80vw;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    height: 63px;
}

nav img {
    color: red;
    width: 137px;
    position: relative;
    z-index: 1;
    bottom: -7px;
    left: -19px;
    top: 0px;

}

nav button {
    position: relative;
    z-index: 1;
}

.hero {
    height: calc(100% - 62px);
    /* calc function 62px is the nav bar height */
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    justify-content: center;
    color: white;
    position: relative;
    font-family: "Google Sans Flex", sans-serif;
    padding: 0 30px;
    gap: 5px;
}
.hero-buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.hero> :nth-child(1) {
    font-weight: 900;
    font-size: 56px;
}

.hero> :nth-child(2) {
    font-weight: 900;
    font-size: 56px;

}

.hero> :nth-child(3) {
       font-weight: 510;
    font-size: 19px;

}

.hero> :nth-child(4) {
     font-weight: 510;
    font-size: 18px;
    margin: 6px;
}

.line {

    height: 4px;
    background-color: #da3a3a;


}

.btn {
    padding: 4px 10px 4px 10px;
    font-size: 13px;
    color: white;
    background-color: rgba(248, 243, 243, 0.055);
    border: 1px solid white;
    cursor: pointer;

}

.red-btn {
    padding: 7px 24px;
    background-color: red;
    color: white;
    font-size: 19px;
    font-weight: 500;
    border-radius: 4px;

}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.main input {
    padding: 13px 122px 13px 7px;
    font-size: 12px;
    border-radius: 4px;
    background-color: rgba(23, 23, 23, 0.7);
    color: white;
    border: 1px solid rgba(246, 238, 238, 0.3);

}

.red-top-btn {
    padding: 3px 10px 4px 10px;
    background-color: #da3a3a;
    color: white;
    font-size: 14px;
    font-weight: 400;
    border-radius: 5px;
    cursor: pointer;

}

.first {
    gap: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 75vw;
    margin: auto;
    color: white;

}
@media screen and (max-width: 768px) {
    .secimg video {
        top: 18%;
        left: 12%;
        width: 75%;
        height: 60%;
    }
}
    


.secimg {
    position: relative;
    width: 100%;
    max-width: 500px;
      overflow: hidden;
    
    
    
}

/* .secimg img {
     width: 100%;
    position: relative;
    z-index: 1;
} */

.secimg video {
           /* height: 152px;
    position: absolute;
    top: 61px;
    right: 81px; */
    

    position: absolute;
    top: 18%;
    left: 18%;
    width: 63%;
    height: 42%;
    object-fit: cover;
    z-index: 1;
}
    .third .secimg video {
          position: absolute;
    top: 19%;
    left: 10%;
    width: 80%;
    height: 56%;
    z-index: 2;
}

.third-sec {
    position: relative;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}
/* .third-sec img {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
} */
/* .third-sec video {
    border: 2px solid red;
    position: absolute;
    top: 28%;
    left: 18%;
    width: 64%;
    height: 52%;
    object-fit: cover;
    z-index: 0;
} */

.overlay-img{
    position: relative;
    top: 20px;
    right: 40px;
}




section.first>div {
    display: flex;
    flex-direction: column;
    padding: 34px 0;
}

.first>div :nth-child(1) {
    font-size: 62px;
    font-weight: bolder;
}

.first>div :nth-child(2) {
    /* font-size: 24px; */
    font-size: 22px;

}

.separtion {
    height: 4px;
    background-color: rgb(173, 164, 164);

}

.faq h2 {
    text-align: center;
    font-size: 42px;
    padding: 13px;
}

.faq {
    font-size: 21px;
    background: black;
    color: white;
    padding: 77px;

}

.faqbox:hover {

    background-color: grey;
}

.faqbox {
    transition: all 1s ease-out;
    display: flex;
    justify-content: space-between;
    background-color: rgb(65, 65, 65, 1);
    padding: 20px;
    max-width: 88vw;
    margin: 5px auto;
    cursor: pointer;
}

footer {
    color: white;
    max-width: 86vw;
    margin: auto;
    padding: 14px;
}
 @media screen and  (max-width: 1500px){
 .red-btn{
    display: grid;
   
 }
}  

footer .question {
 
     padding: 33px 0;
    cursor: pointer;
}

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    /* 4 colomns  */
    color: white;
}

.footer a {
   font-size: 14px;
    color: white;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 23px;
}