* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

#main-photo {
    margin: 0;
    padding: 0;
    width: 100%;
}

#main-photo img {
    width: 100%;
}

.main {
    margin-top: 5em;
    width: 90%;
    margin-left: 5%;
    margin-bottom: 3em;
}

.titulo-may {
    font-family: Arial Black, Arial, Helvetica, sans-serif;
    font-size: 1.5em;
    color: #AFB0B4;
    margin-right: 2em;
}

.texto-importante{
    font-size: 1.4em
}

#titulo span{
    display: block;
    margin-bottom: 1em;
}

.texto-principal {
    margin-top: 3em;
}

.texto-principal p {
    margin: 2.5em 0;
    line-height: 1.3em;
}

.texto-semi-importante {
    color: #084F96;
    font-weight: bold;
}

.texto-importante {
    font-size: 1.4em;
    color: #084F96;
    font-family: Arial Black, Arial, Helvetica, sans-serif;
    text-align: left;
    font-weight: bold;
}

.numerar p{
    margin: 0.2em 0;
}

.imagenes-main {
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    align-content: center;
}

.imagenes-main img {
    width: 80%;
    margin: 5% 10%;
    margin-bottom: 2%
}

.imagenes-main p {
    text-align: left;
}

.azul{
    color: #084F96
}

.descripcion-imagen p{
    margin:0.2em 0;
}

.imagenes p {
    margin-top: 0.2em;
}

.imagenes-epigrafe {
    padding-top: 1em;
}

.imagenes-epigrafe:last-of-type {
    padding-bottom: 1.5em;
}

.planes {
    border-top: 2px solid #003970;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 2em;
}

.planes a{
    text-decoration: none;
}

.titulo-imagen{
    margin: 1em 0; 
}

.importante {
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
}

.epigrafe {
    color: #084F96;
    font-size: bold;
    font-style: italic;
    text-align: center;
    margin-top: 1.5em;
}

.planes-img {
    text-align: center;
    margin-top: 3em;
    height: 10em;
}

.planes-img img {
    height: 100%;
}

@media only screen and (min-width: 916px) {
    .main {
        width: 70%;
        margin-left: 15%;
    }


    .texto-principal p{
        font-size: 1.1em;
    }

    .imagenes-main {
        flex-direction: column;
        justify-content: space-between;
    }


    .imagenes p{
        font-size: 1.1em;
    }


    .imagenes-main img {
        width: 95%;
        margin-left: 5%;
    }

    .imagenes{
        display: flex;
        flex-direction: row-reverse;
        width: 100%;
        justify-content: space-between;
        margin-top: 2em;
        padding: 0;
    }

    .imagenes img{
        width: 20em;
        margin: 0;
    }

    #img2 .descripcion-imagen{
        font-style: italic;
    }

    .planes {
        flex-direction: row;
        justify-content: space-between
    }

    #plan-1 {
        width: 40%;
    }

    #plan-2 {
        width: 40%;
    }

    .last-text{
        font-size: 1.1em;
    }

    .epigrafe{
        font-size: 1.1em;
    }

    #titulo span{
        display: inline;
    }

    #titulo{
        text-align: center;   
    }

}


@media only screen and (min-width: 1550px) {

    .titulo-may{
        font-size: 35px;
    }

    .texto-importante {
        font-size: 30px;
    }

    .epigrafe {
        font-size: 22px;
    }

    .importante {
        font-size: 27px;
    }

    .texto-principal, .texto-imagen{
        font-size: 20px
    }
    
    .imagenes img{
        height: 390px;
        width: 566px;
    }
    #img2 img{
        height: 415px
    }
    
    .planes-img img {
        height: 221px;
    }

    .planes-img {
        text-align: center;
        margin-top: 3em;
        height: 221px;
    }

    #plan-2 {
        height: 221px;
    }

    .descripcion-imagen p{
        margin-bottom: 0.7em;
    }
}