@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;600&display=swap');

*{
    margin: 0;
    padding: 0;
}

:root{
    --fonte-titulo: 'Jost', sans-serif;
    --cor-titulo: #878787;
}

.titulo{
  font-family: var(--fonte-titulo);
  color: var(--cor-titulo);
  font-weight: 400;
  text-align: center;
  font-size: 70px;
}

.imagem_cabecalho{
    width: 100%;
    height: 500px;
    background-image: url(https://d17lbu6bbzbdc8.cloudfront.net/wp-content/uploads/2020/01/10220507/studio_ghibli.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition: 0.3s;
}

.cabecalho{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.descricao{
    text-align: center;
    font-size: 18px;
    max-width: 700px;
    font-family: var(--fonte-titulo);
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 15px;
}

.media{
    text-align: center;
    font-family: var(--fonte-titulo);
}

.seletores{
    margin-top: 30px;
    font-family: var(--fonte-titulo);
    justify-content: center;
    display: flex;
    grid-gap: 30px;    
}

.catalogo{
  font-family: var(--fonte-titulo);
  color: var(--cor-titulo);
  font-weight: 400;
  text-align: center;
  font-size: 40px;
  margin-bottom: 10px;
}

.filmes{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 50px;
}

.poster{
    width: 200px;
    height: 280px;
    font-family: var(--fonte-titulo);
    font-size: 10px;
    cursor:pointer;
}

img{
    width: 200px;
    height: 280px;
}

img:hover{
  cursor:pointer;
}

.modal{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: absolute;

}

.dialog{
    border-radius: 15px;
    background-color: var(--cor-titulo);
    border: 2px solid white;
    width: 580px;
    height: 550px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: 5ms;
    color: white;
    overflow: auto;
}

.informacoes{
    font-size: 18px;
    padding: 20px;
    font-family: var(--fonte-titulo);
}

.informacoes p{
    padding: 3px;
}

.fechar{
    padding: 2px;
    width: 25px;
    height: 25px;
    background-color:#3d3d3d ;
    border-radius: 50%;
    margin: 10px;
    right: 0px;
    text-align: center;
    position: absolute;
    font-family: var(--fonte-titulo);
    cursor: pointer;
}

.footer{
    background-color: #878787;
    height: 55px;
    padding: 10px;
}

.texto-footer{
    text-align: center;
    font-family: var(--fonte-titulo);
    color: white;
    margin-top:20px;
}

.texto-footer a {
    color: white;
    text-decoration: none;
}

.texto-footer a:hover{
    text-decoration: underline;
}

@media screen and (max-width:600px) {
    .imagem_cabecalho{
        height: 300px;
    }
    .dialog {
        width: 600px;
        height: 600px;
    }
    .fechar {
        margin-left: 400px;
    }
    .options{
        flex-direction: column;
    }
    .catalogo{
        font-size: 50px;
    }
    .descricao{
        font-size: 20px;
    }
    .media{
        font-size: 18px;
    }
    .seletores{
        flex-direction: column;
        gap: 10px;
        align-items: center;
        font-size: 20px;
    }
    .dialog{
        width: 80vw;
        height: 70vh;
    }
}

@media screen and (min-width:1200px) {
    .descricao{
        max-width: 800px;
    }
}
