/* ---SECCIÓN QUIÉNES SOMOS--- */

.about1 {
    height: 80vh;
    background-image: url(../images/nave\ aimplas2.jpeg);
    background-size: 100%;
    color: white;
    /* padding: 10%; */
    position: relative;
}

.color-layer {
    width: 100%;
    height: 80vh;
    background-color: var(--azul);
    opacity: 0.95;
    position: absolute;
}

.color-layer div {
    position: relative;
    padding: 4% 15%;
}

.color-layer div div {
    display: flex;
    padding: 0;
    gap: 10%;
    text-align: justify;
}

.about1 h1 {
    margin-left: -2.5%;
    margin-bottom: 2.5%;
    font-size: 2.3em;
}

.about1 p {
    font-size: 1.1em;
}


/* ---SECCIÓN CÁTEDRA AIMPLAS--- */

.about2 {
    display: flex;
    flex-direction: row;
    height: auto;
    align-items: center;
}

.about2-img {
    /* background-image: url(../images/instalaciones/AIMPLAS-NUEVA\ ENTRADA.JPG); */
    background: url(../images/instalaciones/AIMPLAS-NUEVA\ ENTRADA.JPG) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 80%;
    box-shadow: inset 0 0 0 400px #FDAC00DF;
    height: 100%;
}

.about2 .text-content {
    padding: 4% 7%;
    text-align: justify;
}

.text-content div {
    margin-top: 5%;
    margin-left: 5%;
}

.about2 img {
    width: 25%;
    height: auto;
    margin: 5%
}

.about2 p {
    font-size: 1.1em;
}


/* ---SECCIÓN NUESTROS OBJETIVOS--- */
.about3 {
    height: 70vh;
    background-image: url(../images/nave\ aimplas.jpeg);
    background-size: 100%;
    color: white;
    position: relative;
}

.color-layer2 {
    height: 70vh;
    background-color: var(--naranja);
    opacity: 0.95;
    position: absolute;
    display: flex;
    padding: 0 7.5%;
    align-items: center;
}

.color-layer2 div {
    position: relative;
    display: flex;
    flex-direction: column;
    /* padding: 4% 15%; */
    /* padding: 2.5%; */
}

.about3 h1, p {
    opacity: 1 !important;
}

.about3 h1 {
    margin-left: -2.5%;
    margin-bottom: 1%;
    margin-top: 0;
    font-size: 2.3em;
    position: absolute;
    z-index: 1;
    left: 52.5%;
    top: 12.5%;
    transform: translateX(-50%);
}

.about3 p {
    font-size: 1.1em;
}

#objectives {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    margin-top: 7.5%;
}

#objectives .obj {
    align-items: center;
    max-width: 20%;
}

#objectives .obj img {
    max-width: 60px;
    margin-bottom: 15px;
}

/* ---SECCIÓN MASTER--- */

#anchor {
    padding: 40px;
    display: none;
}

.master-info, .acad-offering {
    padding: 4% 7%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

}

.master-info div {
    max-width: 50%;
}

.master-info #data {
    display: flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
    gap: 2.5%;
    font-size: 1.5em;
}

.master-info #data h1 {
    margin: 0;
    color: var(--naranja)
}

.master-info #data p {
    margin: 7.5px;
    font-weight: bold;
    color: var(--naranja)
}

.master-info #general-info p, .acad-offering p {
    text-align: justify;
}

.acad-offering {
    align-items: center;
    padding-top: 0;
}

.acad-offering #areas {
    max-width: 25%;
    padding: 2% 3%;
    color: white;
    background-color: var(--azul);
    line-height: 1.4em;
}

.acad-offering #areas h1 {
    text-align: center;
}

.acad-offering #practicas div {
    margin-left: 5%;
    margin-top: 5%;
}

.acad-offering #practicas {
    max-width: 50%;
}

/* ---SECCIÓN LOGOS--- */
.logos-section {
    display: flex;
    flex-direction: row;
    padding: 4% 10%;
    justify-content: space-between;
}

.logos-section img {
    height: 60px;
}

@media only screen and (max-width: 800px) {

    .about1 {
        height: 118vh;
    }

    .color-layer {
        height: 100%;
    }

    .color-layer .botonNaranja {
        float: left !important;
    }

    .color-layer div {
        padding: 4% 7%;
    }

    .color-layer div div {
        flex-direction: column;
    }

    .about2 {
        flex-direction: column-reverse;
    }
    .about2 img {
        width: 60%;
        padding-top: 50px;
    }

    .about3 {
        height: 160vh;
    }
    .about3 .color-layer2 {
        height: 100%;
    }
    .about3 h1 {
        top: 3%;
        text-align: center;
        font-size: 2em;
        width: 75%;    
    }
    .about3 #objectives {
        flex-direction: column;
        align-items: center;
        padding-top: 20%;
    }
    .about3 #objectives .obj {
        max-width: 75%;
    }

    .master-info {
        flex-direction: column;
    }
    .master-info div {
        max-width: none;
    }
    .master-info #data {
        padding: 25px 0;
    }

    .acad-offering {
        flex-direction: column;
    }
    #areas, #practicas {
        max-width: none !important;
    }

    .logos-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 10%;
    }
    .logos-section img {
        width: 65%;
        height: auto;
    }
}