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

}

body {
    font-family: 'Times New Roman', Times, serif;
    background: rgb(97, 126, 180);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.pintarposter {
    width: 100%;
    height: 100%;

}

.pintartitulo {
    text-align: center;
}

/*Pantalla para dispositivos moviles*/


.container {
    width: 100%;
    max-width: 40%;
    margin: 0 auto;
    display: flex;
}

.header {
    background-color: rgb;
    box-shadow: 0 1px 4px rgba(121, 135, 149, 0.15);
}

.header .container {
    display: flex;
    flex-direction: column;
    text-align: center;

}

.header_nav {
    display: flex;
    flex-direction: column;
    padding-bottom: 25px;
    align-items: center;
    justify-content: center;
}

.header a {
    padding: 5px 5px 5px 5px;
    text-decoration: none;
    font-weight: bold;
    color: rgb(212, 185, 185);
    margin-right: 20px;
}

.header a:hover {
    color: black;
}

.img1 {
    width: 40%;
}

.img2 {
    width: 15%;
}

.img3 {
    float: left;
    width: 15%;
}

.title {
    text-align: center;
}

.search {
    width: 70%;
    text-align: center;
    font-size: x-large;
    color: black;
    display: inline-block;
}

.input {
    width: 80%;
    background: white;
    border: 3px solid transparent;
    border-radius: 3px;
    height: 45px;
    padding: 0 40px 0 10px;
    transition: .1s ease all;
}

article {
    width: 80%;
    height: 90%;
    display: flex;
    border-radius: 4px;
    padding: 15px 15px 10px;
    box-shadow: 0 2px 2px rgba(228, 231, 235, 0.2);
    overflow: hidden;
    margin: 20px;
    text-align: center;
    transition: all 0.25s;
    background-color: rgba(245, 245, 245, 0.159);
    justify-content: center;
    flex-direction: column;
    align-items: center;


}

#recorrido {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 50px;
    margin: 3%;
}




.cards .card:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(228, 231, 235, 0.2);

}


.ordenar {
    flex: 1;
    padding: 0px;
    display: inline-block;
    height: 50px;
    
}

#years {

    flex-direction: column;
    padding:10px;
    color: black;
    font-family: "Times New Roman";
    left: 10%;
    font-size: 15px;
}


/*------------------------------------------------------------------------*/


@media (max-width: 800px) {
    .header {
        width: 100%;

    }


    /*area superior del navegador*/
    .header_nav {
        align-items: center;
        flex-direction: row;
        padding-bottom: 0;
    }


    /*input de busqueda por nombre*/
    .input {
        width: 50%;
        position: left;
    }


    .title {
        margin: 0;
        padding: 0;
    }

    /* contenedor de imagen y titulo */


    .card {
        width: 100%;
        height: 100%;

    }

    .header a {
        padding-right: 40px;
    }

    .cards {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        text-align: center;

    }

    .search {
        width: 80%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        display: inline-block;
        font-size: x-large;
    }


    .ordenar {
        border: 0;
        font-size: 70px;
    }

   
    /* tamaño de imagen  */
    .pintarposter {
        width: 100%;
        height: 100%;

    }
}