@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Jaro:opsz@6..72&family=Oswald:wght@200..700&family=Parkinsans:wght@300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Jaro:opsz@6..72&family=Oswald:wght@200..700&family=Parkinsans:wght@300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    padding: 1rem;
    margin: 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 999;
    background-color: rgb(20, 20, 20);
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 2px black;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
}

header img {
    max-width: 3rem;
}

header a {
    text-decoration: none;
    color: white;
    
}

header a:hover {
    color: rgb(83, 83, 83);
}

.inicio {
    display: flex;
    align-items: center;
    margin: auto;
    gap: 0.5rem;
}

.inicio h1 {
    color: rgb(32, 210, 255);
}

.pesquisar {
    display: flex;
    align-items: center;
    margin: auto;
    gap: 0.2rem;
}

.topo {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-left: 3rem;
}

body {
    margin-top: 5rem;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    background-color: rgb(7, 1, 20);
    color: white;
    max-width: 100%;
    max-height: 100%;
}

main {
    max-width: 80%;
    height: 100%;
    margin-left: 10%;
}


.titulo {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    color: rgb(32, 210, 255);
    text-shadow: 3px 3px 3px black;
    font-size: 3rem;
    margin-top: 30rem;
    margin-bottom: 3rem;
}

p {
    margin: 5rem;
    max-width: 60%;
}


.container2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    display: flex;
    background-color: rgb(22, 7, 53);
    box-shadow: 5px 5px 5px black;
    font-size: 1em;
    align-items: center;
    align-content: center;
    margin: 0.5rem;
    max-width: 60%;
    text-align: left;
    border-radius: 3px;
    text-shadow: 2px 2px 2px black;
    align-items:start;
}

.card img {
    width: 180px;
    height: 250px;
    border-radius: 3px;
    box-shadow: 3px 3px 3px black;
    margin: 0.5rem;
}

.card h3, h5 {
    text-align: left;
    margin: 0.2rem;
    color: gray;
    margin-bottom: 1rem;
}

.card h6 {
    color: gray;
}

.card h2 {
    margin-top: 1rem;
    font-size: 1em;
    margin-right: 2rem;
}

.card h4 {
    font-size: 0.8rem;
}

.nome_filme {
    font-family: "Bebas Neue", sans-serif;
}

.conteiner1 {
    display: flex;
    align-items: center;
    justify-content: center ;
    max-width: 100%;
}

.cartaz {
    margin: 1rem;
}

.cartaz h2 {
    color: rgb(32, 210, 255);
    margin: 0.5rem;
    font-size: 1rem;
    font-weight: 900;
    text-align: center;
}

.cartaz img {
    width: 15rem;
    height: 22rem;
    margin-left: 2rem;
    margin-bottom: 1rem;
    border-radius: 3px;
    box-shadow: 3px 3px 3px black;
}

.lancamentos {
    margin-top: 10rem;
}

.lancamentos h3 {
    font-weight: 900;
    font-size: 2rem;

}

.lancamentos img {
    width: 30rem;
    border-radius: 3px;
    box-shadow: 3px 3px 3px black;
}

footer {
    max-width: 100%;
    margin: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10rem;
    font-family: "Bebas Neue";
    font-weight: 400;
    background-color: rgb(20, 20, 20);
    text-shadow: 2px 2px 2px black;
}

footer h2 {
    color: rgb(32, 210, 255)
}

@media screen and (max-width: 768px) {

    .destaque img {
        box-shadow: 16px 16px 16px black;
        max-width: 440px;
        max-height: 520px;
    }

    .inicio {
        margin-left: 5%;
    }

    .pesquisar {
        display: none;
    }

    .destaque {
        width: 100%;
        flex-direction: column;
        margin: auto;   
    }

    main {
        max-width: 100%;
        flex-direction: column;
        margin: auto;
    }

    .card {
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
        margin: 1rem;
        max-width: 80%;
    }

    .lancamentos img {
        width: 20rem;
    }

    .card img {
        width: 280px;
        height: 380px;
    }

    .card h2 {
        margin: 1rem;
    }

    .card h5 {
        text-align: center  ;
    }

    .card h4 {
        margin: 0.5rem;
    }

    .conteiner1 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}