:root{
    --primary-color: #000e14;
    --secondary-color-1: #009ae2;
    --secondary-color-2: #f9004d;
}


*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body{
    font-family: Montserrat, sans-serif;
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2;
}

nav{
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color, 0.3s;
}

nav.thick{
    background-color: var(--primary-color);
}

.logo-container{
    display: flex;
    align-items: center;
    font-size: 25px;
    color: var(--secondary-color-1);
    text-shadow: 1px 1px var(--secondary-color-2);
    cursor: pointer;
}

#logo{
    width: 50px;
    margin-right: 5px;
}

.sign{
    display: inline-block;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    background-color: transparent;
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid var(--secondary-color-2);
    transition: 0.2s ease;
}

.sign-in:hover{
    background-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}
.sign-up:hover{
    background-color: var(--secondary-color-2);
    color: #fff;
    transform: translateY(-3px);
}

.sign-in{
    background-color: black;
    border-color: white;
}

.landing{
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:linear-gradient(rgba(0, 0, 0, 0.8),rgba(0, 0, 0, 0.6),rgba(0, 0, 0, 0.9 ));
    background-position: center;
    background-size: cover;
    flex-direction: column;
}

.welcome-msg{
    text-align: center;
    color: white;
    width: 60%;
}

.welcome-msg h2{
    color: var(--secondary-color-1);
    font-size: 2rem;
    margin-bottom: 20px;
}

.welcome-msg h2 span{
    text-shadow: 1px 1px var(--secondary-color-2);
    font-weight: bolder;
}

.welcome-msg p{
    margin: auto;
    width: 70%;
    font-size: 1.2rem;
}

form{
    margin-top: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#email{
    width: 500px;
    height: 60px;
    padding: 10px 20px;
    padding-right: 150px;
    border-radius: 50px;
    font-size: 20px;
    border: none;
}

#email:focus{
    outline:1px solid var(--secondary-color-2);
}

#submit{
    padding: 13px 20px;
    margin-left: -150px;
    border-radius: 50px;
    background-color: var(--secondary-color-1);
    font-size: 20px;
    color: white;
    border: none;
    box-shadow: 1px 2px 10px black;
    cursor: pointer;
    transition: 0.3s;
}

#submit:hover{
    transform: scale(1.04) translateX(-5px);
}

.genres{
    background-color: var(--primary-color);
    padding: 50px 20px;
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

.genres div{
    position: relative;
    overflow: hidden;
    max-height: 350px;
}

.genres div:hover{
    background-color: var(--secondary-color-1);
}

.genres div p{
    color: var(--secondary-color-2);
    position: absolute;
    top: 20px;
    left: 50px;
    font-size: 30px;
    transform: translate(-50%, -50%);
    transition: 0.4s;
}

.genres div:hover p{
    top: 50%;
    left: 50%;
    color: white;
}


.genres img{
    opacity: 1;
    transition: 0.3s;
}

.genres img:hover{
    opacity: 0.85;
}

.genres .series img{
    width: 250px;
}
.genres .action img{
    width: 100%;
}
.genres .thriller img{
    width: 300px;
}


#faq-section{
    color: var(--secondary-color-2);
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    padding: 80px;
    background-color: black;
}

#faq-section .faq{
    color: white;
    display: flex;
    flex-direction: column;
    width: 70%;
    margin-bottom: 10px;
}

#faq-section .q-container{
    padding: 20px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#faq-section .answer{
    background-color: grey;
    overflow: hidden;
    height: 0px;
    transition: 0.3s;
    padding: 0px 20px;
}

#faq-section .faq.show .fa-plus{
    transform: rotate(135deg);
    transition: 0.2s;
}

#faq-section .faq.show .answer{
    padding: 20px;
    margin-top: 1px;
    height: fit-content;
}

footer{
    background-color: black;
    padding: 10px 30px;
}

footer .socials{
    display: flex;
    font-size: 30px;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.social-icon{
    cursor: pointer;
    margin: 0px 20px;
    color: white;
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 50%;
    transition: 0.2s;
}

.social-icon:hover{
    color: var(--secondary-color-2);
    transform: translateY(-4px);
}

footer .links{
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

footer .links li a{
    color: white;
    text-decoration: none;
    margin: 0px 20px;
}

footer .links li a:hover{
    color: var(--secondary-color-2);
}

footer .copyright{
    color: var(--secondary-color-2);
    text-align: center;
}

@media(max-width: 700px){
    nav{
        padding: 10px;
    }
    .sign-up{
        display: none;
    }
    .welcome-msg{
        width: 80%;
    }
    .welcome-msg h2{
        font-size: 1.7rem;
        margin-bottom: 10px;
    }
    
    .welcome-msg p{
        font-size: 1rem;
        width: 100%;
    }
    #email{
        font-size: 16px;
        width: 95%;
        height: 50px;
        padding-right: 140px;
    }
    #submit{
        font-size: 16px;
        margin-left: -125px;
    }
    #faq-section {
        padding: 30px 0px;
    }
    .faq{
        width: 100%;
    }

    footer .links{
        text-align: start;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

}

