@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/*RESET CSS*/
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

/*BODY/FUNDO*/
body {
    width: auto;
    height: auto;
    background-color: #000;
}

.video {
    width: 100%;
    height: 100%;
    z-index: -1;
    position: fixed;
    
}

.container-video::after {
    content: "";
    z-index: -1;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0,);
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 45%, rgba(0, 0, 0, 1) 100%);
}

/*CABEÇALHO*/
.header {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    max-width: 100vw;
    margin: 0 auto;
}

.logo {
    width: 65px;
}

ul {
    display: flex;
    height: 100%;
    align-items: center;
    list-style: none;
}

ul li a {
    font-size: 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    padding: 10px 20px;
    margin: 0 10px;
    transition: background-color 0.2s;
}

ul li a:hover {
    background-color: blue;
}

/*MAIN*/
.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100vw;
    height: calc(100vh - 126px);
    margin: 0 auto;
    margin: 0 30px 30px;
}

.container .img-sonic {
    max-width: 23%;
}

.info .titulo {
    max-width: 600px;
}

.info p {
    width: 800px;
    font-size: 18px;
    padding: 0 0 30px;
    
}

.info button {
    padding: 15px;
    background-color: blue;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
}

.info button:hover {
    transform: scale(1.1);
}

/**/
#detalhes {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50vw;
    height: 100vh;
    gap: 10px;
    font-size: 18px;
    text-align: center;
    border-radius: 10px;
    margin: 0 auto 30px;
}

.divisao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 50px 0 10px;
}

.divisao .barra {
    width: 40vw;
    height: 2px;
    background-color: #fff;
}

.fundo {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000;
    height: auto;
    margin: auto;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
}

#detalhes .netflix {
    width: 200px;
    border-radius: 20px;
}

#detalhes #assistir {
    padding: 15px;
    margin: 10px;
    background-color: rgb(255, 0, 0);
    font-size: 18px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

#detalhes #assistir:hover {
    transform: scale(1.1);
}


.modal {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(52, 52, 50, 0.749);
    visibility: hidden;
}

.modal.aberto {
    visibility: visible;
}

.modal .content-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.modal .fechar-modal {
    text-align: center;
    background-color: #000;
    width: 40px;
    font-size: 20px;
    border-radius: 10px;
    cursor: pointer;
}

.modal #video {
    border: none;
    border-radius: 10px;
}

@media (max-width: 1000px) {

    body {
        background-color: #000;
    }

    .container-video {
        display: none;
    }

    .container {
        display: flex;
        justify-content: center;
        gap: 20px;
        height: auto;
        flex-wrap: wrap;
    }

    .container .img-sonic {
        max-width: 150px;
    }

    .container .info {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .container p {
        text-align: center;
        max-width: 300px;
    }

    #detalhes {
        width: 70vw;
    }

    .divisao {
        margin-top: 100px;
    }

}

@media (max-width: 540px) {
    .header {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    ul li a {
        font-size: 13px;
    }

    .container .titulo {
        max-width: 60%;
    }

    .modal .fechar-modal {
        width: 30px;
        line-height: 30px;
    }

    .modal #video {
        width: 300px;
        height: 169px;
    }

    .divisao .barra{
        width: 85px;
    }
}

@media (max-width: 300px) {
    ul li a {
        font-size: 10px;
    }

    .container p {
        text-align: center;
        max-width: 200px;
        font-size: 15px;
    }

    .divisao .barra{
        width: 20px;
    }

    #detalhes {
        max-width: 200px;
        font-size: 15px;
    }
}
