@import url('https://fonts.googleapis.com/css?family=Italiana');
@import url('https://fonts.googleapis.com/css?family=Roboto');

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

header {
    font-family: 'Italiana';
    background-color: rgb(42, 92, 99);
    padding: 15px;
    /* margin-bottom: 15px; */
    font-size: 30px;
    text-align: center;
    color: #fff;
}

.main-options {
    font-size: 30px;
}

.mainbutton {
    color: #fff;
    background-color: rgb(79, 118, 123);
    padding: 20px;
    border-radius: 15px;
    border: none;
    margin: 10px;
    font-family: 'Roboto';
    margin-bottom: 15px;
    font-size: 15px;
    width: 400px;
    text-align: center;
}


nav {
    display: flex;
    justify-content: space-evenly;
    background-color: rgb(42, 92, 99);


}

a {
    text-decoration: none;
}

/* mobile responsive */
@media (max-width:500px) {
    header {
        font-family: 'Italiana';
        background-color: rgb(42, 92, 99);
        padding: 10px;
        font-size: 20px;
        text-align: center;
        color: #fff;
    }


    .mainbutton {
        color: #fff;
        background-color: rgb(79, 118, 123);
        padding: 20px;
        border-radius: 15px;
        border: none;
        margin: 10px;
        font-family: 'Roboto';
        margin-bottom: 15px;
        text-align: center;
    }

    nav {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: rgb(42, 92, 99);
    }
}

/* tablet responsive */
@media (max-width:800px) {
    .mainbutton {
        color: #fff;
        background-color: rgb(79, 118, 123);
        padding: 20px;
        border-radius: 15px;
        border: none;
        margin: 10px;
        font-family: 'Roboto';
        margin-bottom: 15px;
    }

    nav {
        width: 900px;
        display: flex;
        /* flex-direction: column; */
        justify-content: space-evenly;
        background-color: rgb(42, 92, 99);
    }

    header {
        width: 900px;
        font-family: 'Italiana';
        background-color: rgb(42, 92, 99);
        padding: 10px;
        font-size: 20px;
        text-align: center;
        color: #fff;
    }
}

.all-movies-cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 3%;
    padding: 3%;
    row-gap: 30px;
    column-gap: 30px;
    column-gap: 30px;
}

/*div para ordenar las tarjetas, fondo y formato letra*/
.show-cards {
    width: 100%;
    height: 100%;
    font-family: 'Roboto';
    background-color: rgb(42, 92, 99);
    color: #fff;
    border-radius: 10px;

}

.tarjetas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    flex-direction: row;
    margin-bottom: 20px;
    padding: 20px;
    align-items: center;
}

.card-container {
    align-items: center;
    margin-bottom: 150px;
    justify-content: center;
    width: 280px;
    height: 250px;
}

.caja {
    border-radius: 8px;
    background: rgba(50, 119, 129, 0.753);
    overflow: hidden;
    margin: 20px;
    text-align: center;
    transition: all 0.25s;
}

.caja:hover {
    /*define el lugar del transform*/
    transform: translateY(-20px);
    /* define margenes del shadow*/
    box-shadow: 20px 15px 20px rgb(5, 38, 43);
}

.caja .card-container .poster-Image {
    width: 200px;
    height: 250px;
    margin-top: 30px;
    border-radius: 10px;
}

.title-card {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 10px;
}

.text-card {
    font-size: 14px;
}

footer {
    font-family: 'Italiana';
    background-color: rgb(42, 92, 99);
    padding: 40px;
    font-size: 30px;
    text-align: center;
    color: #fff;
}