:root {
    --vermelho: #E50914;
    --preta: #141414;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*elementos base*/
body {
    background: var(--preta);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: white;
}

.container {
    padding: 20px;
}

/* HEADER */
header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header img {
    height: 65px;
    padding: 16px;
}

header .logo {
    margin-left: 5px;
    color: var(--vermelho);
    font-family: 'Arial Black', Times;
    font-size: 40px;
}

header nav a {
    display: inline-block;
    padding: 6px;
    text-decoration: none;
    color: #AAA;
    margin-right: 10px;
}

header nav a:hover {
    color: #fff;
}

/* PRINCIPAL */
.filme-principal {
    position: relative;
}

.filme-principal .container {
    width: 100%;
}

.filme-principal .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 70vh;
}

.filme-principal .item img {
    display: block;
    position: absolute;
    z-index: -5;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center top;
}

.filme-principal .texto {
    padding: 20px;
}

.filme-principal .descricao {
    margin-top: 10px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.filme-principal .titulo {
    margin-top: 15%;
    font-size: 40px;
}

.botao {
    background-color: rgba(0, 0, 0, .50);
    border: none;
    color: white;
    padding: 15px 30px;
    margin-right: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: .3s ease all;
}

.botao:hover {
    background-color: white;
    color: black;
}

.botao i {
    margin-right: 8px;
}

/* SEÇÃO CONTINUAR ASSISTINDO*/
.continuar__assistindo .container,
.lancamentos .container {
    margin-top: 20px;
}

.box-filme {
    height: 100%;
    width: 100%;
    display: block;
    cursor: pointer;
}

.carrosel-filmes {
    margin-top: 20px;
}

.item .card {
    position: relative;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    width: 100%;
    opacity: 0;
    transition: .7s ease-in;
    background-color: black;
    overflow: hidden;
    cursor: pointer;
}

.overlay.open{
    opacity: 0.7;
    height: 100%;
}

.text {
    color: white;
    width: 90%;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.text h1 {
    font-size: 20px;
}

.text p {
    margin-top: 16px;
    line-height: 1.7;
}
