*{
    box-sizing: border-box;
}

body{
    margin: 0;
    color: white;
    background-color: black;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
    overflow-x: hidden;
}
.hero{
    background: url(netflix_cover01.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
}

.hero_overlay{
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.6), rgba(0, 0, 0, 0.4), rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    height: 100%;
    display: flex;
    flex-direction: column;
}

header{
    /* background: linear-gradient(rgba(0,0,0,0.4), rgba(0, 0, 0, 0)); */
    padding: 25px 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* background-color: antiquewhite; */
}

.nav_logo{
    fill: rgb(229,9,20);
    max-width: 145px;
    cursor: pointer;
}

.primary-btn{
    color: white;
    background-color: rgb(229,9,20);
    padding: 8px 17px;
    border-radius: 5px;
    font-size: medium;
    border: 0;
    cursor: pointer;
}

.primary-btn:hover{
    background-color: rgb(201, 0, 10);
}

.lang{

    padding: 8px 10px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    font-size: medium;
}

option{
    color: white;
    background-color: black;
}

.hero-main{
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
}

.hero-content{
    max-width: 600px;
    text-shadow: 0px 0px 25px black;
    /* padding: 0px 20px; */
}

.hero-content h1{
    font-size: clamp(2.2em, 5vw, 3.5em);
    font-weight: 800;
    padding: 0;
    margin: 0;
    line-height: 125%;
    text-shadow: 0px 0px 30px black;
}

.email-signup{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.email-signup svg{
    width: 32px;
    fill: white;
    padding-left: 10px;
}

#email{
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid grey;
    border-radius: 5px;
    padding: 20px 16px;
    color: white;
    flex: 1;
    height: auto;
    font-size: medium;
}

.email-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: rgb(229,9,20);
    padding: 16px 24px;
    border-radius: 5px;
    font-size: x-large;
    border: 0;
    cursor: pointer;
}

.email-btn:hover{
    background-color: rgb(201, 0, 10);
}

main{
    padding: 0px 148px;
}

@media (min-width: 1280px){
    .hero-content p{
        margin-bottom: 32px;
        font-size: large;
    }
}

@media (max-width: 1280px){
    main{
        padding: 0px 80px;
    }
}
@media (max-width: 960px){
    main{
        padding: 0px 32px;
    }
}

@media (max-width: 600px){
    main{
        padding: 0px 24px;
    }
}

.trend-title{
    font-family: sans-serif;
    font-size: larger;
    font-weight: lighter;
}

.trending-cards ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.trending-cards ul::-webkit-scrollbar{
    display: none;
}

.trending-cards ul li{
    position: relative;
    padding: 8px 24px;
    transition: all 0.2s linear;
}

.trending-cards ul li:hover{
    transform: scale(1.05);
    transition: all 0.2s linear;
}

.trending-cards ul li img{
    border-radius: 8px;
    width: 189px;
}


.trend-num{
    font-family: sans-serif;
    position: absolute;
    top: 135px;
    left: 0px;
    font-size: 100px;
    font-weight: 900;
    color: black;
    -webkit-text-stroke: 2px white;
}

h2, h3, h4{
    font-weight: 400;
}

h2{
    font-size: 24px;
}

h3{
    font-size: 20px;
}

.ft-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.ft-container{
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: linear-gradient(135deg, rgba(26, 33, 68), rgba(33, 14, 23));
    padding: 8px 16px;
    border-radius: 12px;

}

.ft-container p{
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.ft-icon{
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.faq{
    padding-top: 40px;
}

.accordian{
    /* background-color:cadetblue; */
    width: 100%;
}

.accordian li{
    list-style: none;
    width: 100%;
    padding: 5px;
    font-size: larger;
    padding-left: 0;
    /* background-color: burlywood; */
}

.accordian input{
    display: none;
}

.accordian label{
    background-color: #303030;
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 2px;
    cursor: pointer;
    position: relative;
}

.accordian label::after{
    content: "+";
    font-size: xx-large;
    font-weight: 200;
    position: absolute;
    right: 15px;
}

.accordian label:hover{
    background-color: #404040;
    transition: all 0.5 ease-in;
}

.description{
    background-color: #303030;
    /* padding: 5px 20px; */
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.accordian input[type="checkbox"]:checked + label + .description{
    max-height: 600px;
    padding: 5px 20px;
    transition: all 0.3s ease-in;
}

.footer-contact{
    padding: 50px 20px;
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
}

.ftr-email{
    max-width: 800px;
}

footer{
    color: lightgray;
}

footer div{
    margin-top: 36px;
}

footer ul{
    font-size: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-left: 0px;
}

footer li{
    margin: 12px 0px 0px 12px;
    list-style: none;
    margin-left: 0px;
}

footer a{
    color: rgba(211, 211, 211, 0.936);
}

footer p{
    margin-top: 36px;
}

footer span{
    color: grey;
    font-size: small;
}

    @media (max-width: 1280px){
        .trending-cards ul li img{
            width: 140px;
        }

        .trend-num{
            top: 100px;
            font-size: 70px;
        }

        .ft-content{
            grid-template-columns: repeat(2, minmax(230px, 1fr));
        }

        footer ul{
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    @media (max-width: 960px){
        .trend-title{
            font-size: medium;
            font-weight: 200;
        }

        .trending-cards ul li img{
            width: 117px;
        }

        .trend-num{
            top: 85px;
            font-size: 60px;
        }

        .trending-cards ul{
            padding-left: 0;
        }

        .trending-cards ul li{
            padding: 4px 10px;
        }

        .ft-content{
            grid-template-columns: 1fr;
        }

        .accordian li{
            font-size: large;
        }

        footer ul{
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 600px){
        .nav_logo{
            max-width: 90px;
        }

        .primary-btn{
            padding: 8px 17px;
            font-size: 14px;
        }

        .lang{
            padding: 8px 10px;
            font-size: small;
        }

        .hero{
            height: 80vh;
        }

        .email-signup{
            flex-direction: column;
            /* gap: 10px; */
        }
        
        .email-btn{
            padding: 12px 16px;
            font-size: large;
        }

        #email{
            width: 100%;
            padding: 16px 16px;
        }

        .accordian li{
            font-size: medium;
        }

        footer ul{
            grid-template-columns: repeat(1, 1fr);
        }
    }
