*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Netflix Sans', sans-serif;
}
:root{
    --Black-1: #222222;
    --Black-2: #303030;
    --Netflix-red: #db0001;
    --hover-color: #404040;
    --footer-text: #777777;
}

body{
    background: black;
    color: white;
} 
header{
    width:  100%;
    height: 95vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0,0,0,0.7)), url(assets/images/header-image.png);
    background-size: cover;
    background-position: center;
    padding : 10px 8%;
    border-bottom: 8px solid  var(--Black-1);
    ;
}


header nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;

}

.logo{
    width: 150px;
    cursor: pointer;
}

nav button{
    border: 0;
    outline: 0;
    background: var(--Netflix-red);
    color: white;
    padding: 7px 20px;
    font-size: 12px;
    border-radius: 4px;
    margin-left: 10px;
    cursor: pointer;
}
.lang-btn{
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid white;
    padding: 7px 10px;
}

.lang-btn img{
    width: 10px;
    margin-left: 10px;
}

.hero{
    position: absolute;
    top: 45%;
    left:  50%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin-top: 100px;
}
.hero h1{
    font-size: 50px;
    line-height: 60px;
    font-weight: 600;
    max-width: 650px;

}
.hero h3{
    font-weight: 400;
    margin-bottom: 20px;
}
.email-signup{
    display: flex;
    background: white;
    border-radius: 4px;
    align-items: center;
    margin-top: 30px;
    overflow: hidden;
}
.email-signup input{
    flex: 1;
    border: 0;
    outline: 0;
    margin-left: 20px;
}
.email-signup button{
    background: var(--Netflix-red);
    border: 0;
    outline: 0;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 15px 30px;
}

/*--------------------Value props section----------------------------*/

.value-props{
    font-size: 22px;
}
.item{
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}
.value-props .item{
    border-bottom: 6px solid var(--Black-1);
    padding: 50px 12%;
}

.item-text{
    flex-basis: 50%;
    margin-bottom: 20px;
}
.item-img{
    flex-basis: 50%;
    margin-bottom: 20px;

}
.item-img img{
    display: block;
    width: 90%;
    margin: auto;
}
.value-props h2{
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ---------------------------FAQs------------------------ */

.faqs{
    padding: 10px 15%;
    text-align: center;
    font-size: 18px;
}
.faqs h2{
    font-weight: 500;
    font-size: 40px;
}
.accordion{
    margin: 60px auto;
    width: 100%;
    max-width: 750px;
}
.accordion li{
    list-style: none;
    width: 100%;
    padding: 5px;
}
.accordion li label{
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    background: var(--Black-2);
    margin-bottom: 2px;
    cursor: pointer;
}
.accordion li label:hover{
    background: var(--hover-color);
}
label::after{
    content: '+';
    font-size: 34px;
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
}
.accordion input[type="checkbox"]{
    display: none;
}
.accordion .content{
    background: var(--Black-2);
    text-align: left;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.5s ;
}
.accordion input[type="checkbox"]:checked + label + .content{
    max-height: 600px;
    padding: 30px 20px;
}
.accordion input[type="checkbox"]:checked + label::after{
    transform: rotate(45deg);
}
.faqs .email-signup{
    max-width: 600px;
    margin: 20px auto 60px;
}
.faqs small{
    font-size: 13px;
}

/* ------------------footer----------------------- */
.f-item{
    display: inline-flex;
  flex-wrap: wrap;
  align-items: start;
}
.f-item li{
    flex: 1 0 25%; /* explanation below */
    list-style: none;
    margin-bottom: 30px;
  flex-direction: column;
  
}

footer{
    padding: 50px 15% 10px;
    color: var(--footer-text);
}

footer h2{
    font-size:18px;
    font-weight: 400;
    margin-bottom: 30px;
}
footer .item{
    display: flex;
    align-items: start;
    padding: 10px 0;
}
footer .item-col{
    flex-basis: 25%;
    flex-grow: 1;
    margin-bottom: 20px;
}
footer .item-col a{
    color: #777;
    display: block;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
}
footer .lang-btn{
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
}
.copyright-text{
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* ------------------------------media queries for small screen-------------- */
@media only screen and (max-width: 600px){
    .logo{
        width: 100px;
    }
    nav button{
        padding: 5px 10px;
    }
    nav .lang-btn{
        padding: 4px 8px;
    }   
    .hero{
       position: unset;
       transform: none;
       padding-top: 15px; 
    }
    .hero h1{
        font-size: 30px;
    }
    .email-signup button{
        font-size: 12px;
        padding: 10px 15px ;
    }
    .item-text, .item-img{
        flex-basis: 100%;
    }
    .value-props h2{
        font-size: 30px;
    }
    .value-props p{
        font-size: 15px;
    }

    .item:nth-child(2), .item:nth-child(4){
        flex-direction: column-reverse;
    }
    .value-props .item{
        padding: 30px 12%;
    }
    .faqs h2{
        font-size: 20px;
    }
    .accordion .content{
        font-size: 14px;
    }
    .accordion li label{
        padding: 10px;
        font-size: 14px;
    }
    label::after{
        font-size: 22px;
    }
}