@import url(tarjetas.css);
@import url(menu.css);

:root {
    --fuentePrincipal: 'Open Sans', sans-serif;
    --colorPrimario: #4df3ae;
    --colorSecundario: rgb(255, 129, 213);
    --negro: #000;
    --blanco: #fff;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
    /* 1 rem = 10px*/
}

*,
*::after,
*::before {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--fuentePrincipal);
    font-size: 1.6rem;
    line-height: 1.8;
    background-color: rgb(247, 233, 233);
}

.contenedor {
    max-width: 120rem;
    width: 90%;
    margin: 0 auto;
}

header {
    background-image: url(img/ghiblis.jpg);
    height: 65rem;
    width: 100%;
    background-size: cover;
    background-position: center;
    
}

.contenido__header {
    background-color: rgba(0, 0, 0, 0.7);
    height: 100%;

}

.navegacion {
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    text-align: center;
}

.logo {
    color: var(--blanco);
    font-size: 3.8rem;
    margin-bottom: 2rem;
}

.logo span {
    color: var(--colorSecundario);
}

nav {
    display: flex;
    flex-direction: column;
    transition: all 400ms ease;
}

.nav__link {
    color: var(--blanco);
    text-decoration: none;

}
/* movimiento al enlace */
nav:hover {
    transform: translateY(-3%);
}

.nav__link:hover {
    color: var(--colorPrimario);
}

/* -----------------------Header informacion-------------------------------*/
.header__informacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--blanco);
    margin-top: 8rem;
}

.header__informacion p {
    font-size: 2rem;
    font-style: italic;
    line-height: 1.3;
    text-align: center;
}

.header__informacion h1 {
    font-size: 4rem;
    line-height: 1;
    margin: 1rem 0;
    text-align: center;
}

/*---------------------Tablet:780px---------------------------------------*/
@media(min-width: 780px) {
    .navegacion {
        flex-direction: row;
        justify-content: space-between;
    }

    nav {
        flex-direction: row;
        gap: 2rem;
        align-items: center;
    }

    .logo {
        margin: 0;
    }

    .header__informacion {
        margin-top: 18rem;
        align-items: flex-start;
    }

    .header__informacion h1 {
        font-size: 6rem;
        margin: 2rem 0;
    }
}

   @media(max-width: 780px) {
    .contenedor_about_us {
        flex-direction:column;
        align-items: center;
    }
    .contenido-textos{
        margin-top: 25px;
    }
    .imagen-about-us{
        margin-left: 15px;
    }
}
/*----------------------seccion about us------------------------------------*/

.contenedor__about {
    padding: 60px 0;
    max-width: 120rem;
    width: 90%;
    margin: 0 auto;
    gap: 3.5rem;
    display: row;
}

.titulo {
    color: rgba(70, 60, 68);
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
    margin-top: 10px;

}

.contenedor_about_us {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.imagen-about-us {
    width: 370px;
    border-radius: 30px;
}

.contenido-textos p {
    padding: 0px 0px 30px 15px;
    text-align: justify;
    font-size: 15px;
    margin-left: 20px;
   
}
.contador{
    font-style: italic;
    font-family: var(--fuentePrincipal);
    color: rgb(66, 63, 63)

}
/* ---------------------------Seccion Filmography-----------------------------*/

.titulo2 {
    color: rgba(70, 60, 68);
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
    font-family: var(--fuentePrincipal);
}

#containerCard {
    color: rgba(70, 60, 68);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 12px;
    width: 90%;
    justify-content: center;
    margin: 10px;
}


div .cards {

    border-radius: 25px;
    padding: 10px;
    max-width: 280px;
    cursor: pointer;
    transition: all 400ms ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 5px 0px;
}

.cards:hover {
    transform: translateY(-3%);
}

#poster {
    border-radius: 20px;
    width: 210px;
    height: 255px;
    object-fit: cover;
    border: 8px double #636060;
}

#tittle {
    font-family: monospace;
    font-size: 15px;
    color: #414141;
}

#description {
    font-family: var(--fuentePrincipal);
    text-align: justify;
    font-size: 15px;
    color: #5f5c5c
}

#director {
    font-family: var(--fuentePrincipal);
    font-size: 15x;
    text-align: center;
    color: #5f5c5c;
}

#productor {
    font-family: var(--fuentePrincipal);
    font-size: 13px;
    text-align: center;
    color: #5f5c5c;
}

#relase_date {
    font-family: var(--fuentePrincipal);
    font-size: 13px;
    text-align: center;
    color: #5f5c5c;
}

#rt_score {
    font-family: var(--fuentePrincipal);
    font-size: 13px;
    color: #5f5c5c;
}

/*-------------------------------filtros de botones----------------------------*/
.filter-date,
.filter-score,
.filter-director,
.filter-producer,
.boton 
.filter-score{
    border-radius: 6px;
    color: rgb(15, 15, 14);
    border: #8d8989 solid;
    text-align: center;
    margin: 0 95px 0 85px;
    width: 87px;
    cursor: pointer;
    font-size: small;

}


.buscando {
    width: 26%;
    height: 15%;
    border-radius: 6px;
    border: #8d8989 solid;
    color: palevioletred;
}

.seccion-buscador {
    text-align: center;
    object-position: center;
    margin-bottom: 30px;
    margin-left: 0;
}
/*-----------------------------seccion pie de pagina--------------------------*/
footer {
    background: #5e5a5a;
    padding: 20px 0 20px 0;
    margin: auto;
    overflow: hidden;
    width: 100%;
}

.contenedor__footer {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: auto;

}