@import url(catserv.css);
* {
    margin: 0;
    padding: 0;
}

body {
    box-sizing: border-box;
    font-family: allerta, sans-serif;
}


/*CONTENIDOS EMERGENTES*/

.contenido_arqeing,
.contenido_obracivil,
.contenido_rehabilit,
.contenido_reformas,
.contenido_obrares,
.contenido_promoinmo {
    width: 700px;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: rgb(71, 103, 149);
    margin: 0 auto;
    margin-top: 1%;
    border-radius: 10px;
}

.arqeing_h2,
.obracivil_h2,
.rehabilit_h2,
.reformas_h2,
.obrares_h2,
.promoinmo_h2 {
    font-size: 2em;
    font-weight: bold;
    color: #FFFFFF;
    padding: 1%;
    text-align: center;
    border-bottom: 5px solid #00aaff;
}

.arqeing_foto,
.obracivil_foto,
.rehabilit_foto,
.reformas_foto,
.obrares_foto,
.promoinmo_foto {
    border-bottom: 5px solid #00aaff;
}

.contenido_arqeing h3,
.contenido_obracivil h3,
.contenido_rehabilit h3,
.contenido_reformas h3,
.contenido_obrares h3,
.contenido_promoinmo h3 {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFFFF;
    padding-left: 2%;
    margin-top: 1%;
    text-decoration: underline;
}

.contenido_arqeing p,
.contenido_obracivil p,
.contenido_rehabilit p,
.contenido_reformas p,
.contenido_obrares p,
.contenido_promoinmo p {
    font-size: .9em;
    font-weight: normal;
    color: #FFFFFF;
    padding: 2%;
    text-align: justify;
}

.arqeing_list,
.obracivil_list,
.rehabilit_list,
.reformas_list,
.promoinmo_list {
    list-style: none;
    color: #FFFFFF;
    padding: 2%;
}

.boton_volver {
    width: 15%;
    font-size: 1.5em;
    padding: 1%;
    border-radius: 10px;
    color: lightcoral;
    background-color: lightgray;
    border: 3px solid #00aaff;
    margin-bottom: 2%;
    margin-left: 42%;
}

.boton_volver:hover {
    cursor: pointer;
    color: green;
    font-weight: bold;
}


/* HASTA AQUÍ CONTENIDO EMERGENTE ARQUITECTURA E INGENIERÍA*/


/*MEDIA QUERIES*/

@media screen and (min-width:600px) and (max-width:768px) {
    .contenido_arqeing,
    .contenido_obracivil,
    .contenido_rehabilit,
    .contenido_reformas,
    .contenido_obrares,
    .contenido_promoinmo {
        width: 500px;
        height: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        background-color: rgb(71, 103, 149);
        margin: 0 auto;
        margin-top: 1%;
        border-radius: 10px;
    }
    .arqeing_foto,
    .obracivil_foto,
    .rehabilit_foto,
    .reformas_foto,
    .obrares_foto,
    .promoinmo_foto {
        width: 95%;
        height: auto;
        margin: 0 auto;
        border: 3px solid #FFFFFF;
        margin-top: 2%;
        margin-bottom: 2%;
    }
    .reformas_h2,
    .obrares_h2,
    .promoinmo_h2 {
        border: none;
    }
}

@media screen and (min-width:480px) and (max-width:599px) {
    .contenido_arqeing,
    .contenido_obracivil,
    .contenido_rehabilit,
    .contenido_reformas,
    .contenido_obrares,
    .contenido_promoinmo {
        width: 400px;
        height: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        background-color: rgb(71, 103, 149);
        margin: 0 auto;
        margin-top: 1%;
        border-radius: 10px;
    }
    .arqeing_foto,
    .obracivil_foto,
    .rehabilit_foto,
    .reformas_foto,
    .obrares_foto,
    .promoinmo_foto {
        width: 95%;
        height: auto;
        margin: 0 auto;
        border: 3px solid #FFFFFF;
        margin-top: 2%;
        margin-bottom: 2%;
    }
    .arqeing_h2,
    .obracivil_h2,
    .rehabilit_h2,
    .reformas_h2,
    .obrares_h2,
    .promoinmo_h2 {
        font-size: 1.5em;
        font-weight: bold;
        color: #ffFFFF;
        padding: 1%;
        text-align: center;
    }
    .reformas_h2,
    .obrares_h2,
    .promoinmo_h2 {
        border: none;
    }
    .contenido_arqeing h3,
    .contenido_obracivil h3,
    .contenido_rehabilit h3,
    .contenido_reformas h3,
    .contenido_obrares h3,
    .contenido_promoinmo h3 {
        font-size: 1em;
        font-weight: bold;
        color: #FFFFFF;
        padding-left: 2%;
        margin-top: 1%;
        text-decoration: underline;
    }
    .contenido_arqeing p,
    .contenido_obracivil p,
    .contenido_rehabilit p,
    .contenido_reformas p,
    .contenido_obrares p,
    .contenido_promoinmo p {
        font-size: .7em;
        font-weight: normal;
        color: #FFFFFF;
        padding: 2%;
        text-align: justify;
    }
    .arqeing_list,
    .obracivil_list,
    .rehabilit_list,
    .reformas_list,
    .promoinmo_list {
        list-style: none;
        font-size: .8em;
        color: #FFFFFF;
        padding: 2%;
    }
    .boton_volver {
        font-size: 1em;
        width: 25%;
        margin-top: 10%;
        margin-left: 40%;
    }
}

@media screen and (min-width:320px) and (max-width:479px) {
    .contenido_arqeing,
    .contenido_obracivil,
    .contenido_rehabilit,
    .contenido_reformas,
    .contenido_obrares,
    .contenido_promoinmo {
        width: 300px;
        height: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        background-color: rgb(71, 103, 149);
        margin: 0 auto;
        margin-top: 1%;
        border-radius: 10px;
    }
    .arqeing_foto,
    .obracivil_foto,
    .rehabilit_foto,
    .reformas_foto,
    .obrares_foto,
    .promoinmo_foto {
        width: 95%;
        height: auto;
        margin: 0 auto;
    }
    .arqeing_h2,
    .obracivil_h2,
    .rehabilit_h2,
    .reformas_h2,
    .obrares_h2,
    .promoinmo_h2 {
        font-size: 1.5em;
        font-weight: bold;
        color: #fFFFFF;
        padding: 1%;
        text-align: center;
    }
    .reformas_h2,
    .obrares_h2,
    .promoinmo_h2 {
        border: none;
    }
    .arqeing_foto,
    .obra_civil_foto,
    .rehabilit_foto,
    .reformas_foto,
    .obrares_foto,
    .promoinmo_foto {
        border: 3px solid #FFFFFF;
        margin-top: 2%;
        margin-bottom: 2%;
    }
    .contenido_arqeing h3,
    .contenido_obracivil h3,
    .contenido_rehabilit h3,
    .contenido_reformas h3,
    .contenido_obrares h3,
    .contenido_promoinmo h3 {
        font-size: 1em;
        font-weight: bold;
        color: #FFFFFF;
        padding-left: 2%;
        margin-top: 1%;
        text-decoration: underline;
    }
    .contenido_arqeing p,
    .contenido_obracivil p,
    .contenido_rehabilit p,
    .contenido_reformas p,
    .contenido_obrares p,
    .contenido_promoinmo p {
        font-size: .7em;
        font-weight: normal;
        color: #FFFFFF;
        padding: 2%;
        text-align: justify;
    }
    .arqeing_list,
    .obracivil_list,
    .rehabilit_list,
    .reformas_list,
    .promoinmo_list {
        list-style: none;
        font-size: .8em;
        color: #FFFFFF;
        padding: 2%;
    }
    .boton_volver {
        font-size: 1em;
        width: 25%;
        margin-top: 6%;
        margin-left: 38%;
    }
}