@charset "utf=8";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    padding: 0%;
    background-color: rgb(219, 201, 201);
}

header {
    display: flex;
    align-items: center;
    background-color: rgb(212, 89, 89);
    padding: .1em;
    justify-content: space-between;
    padding: 2rem;
}

.boton {
    display: none;
}
.navlist {
    display: flex;
    list-style-type: none;
    gap: 1rem;
}

.navlist li a {
    text-decoration: none;
    color: white;
}

#logo {
  max-width: 5rem;
    text-align: center;
}



nav ul li {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: .5em;
    list-style: none;
    width: 40%;
    padding: 0.5em;
}

nav ul li a:hover {
    color:rgb(180, 36, 36);
}

nav ul li a {
    margin: auto;
    text-decoration: none;
    color: rgb(223, 223, 223) ;
    font-weight: bolder;
    font-size: small;
    
}

nav ul {
    list-style: none;
    padding: 0%;
    text-align: center;
}



.comitente, .equipo, .datosacademicos {
    margin: 2em 10%;
}

.equipo, .datosacademicos  {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.contenedor, .contenedora {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 65rem;
    margin-inline: auto;
    padding: 1rem;
}


.fotofadu img {
    max-width: 100%;
    height: auto;
}

section{
    display:block
}


article {
    width: 100%;
    max-width: 300px;
    margin: 1em;
    text-align: center;
    background-color: rgba(224, 140, 140, 0.849);
    padding: 2em;
    border-radius: 15%;
}



article img {
    width: 100%;
    border-radius: 20%;
    border: solid rgb(70, 6, 6);
}

article a {
    text-decoration: none;
    color: rgb(50, 6, 6);
}

h2 {
    text-align: center;
    color: rgb(117, 14, 14);
    margin-bottom: 1em;
    display: inline-block;
    padding-bottom: 5px;
    width: 100%;
}

.datosacademicos ul {
    list-style: none;
    padding: 0;
}

.datosacademicos ul li p {
    font-size: small;
}

h3 {
    color: rgb(50, 6, 6);

}

.plan img {
    width: 100%;
}

.mapa img {
    width: 100%;
}

footer {
    background-color: rgb(50, 6, 6);
    font-size: small;
    color: rgb(223, 223, 223);
    margin: 0;
    padding: 2em;
}

#logodgpc img {
    max-width: 500px;
    width:250px;

  }
  
  #fadulogo img {
    width: 250px;

  }
  
  #ubalogo img  { 
    max-width: 500px;
    width: 150px; 

}

.contenedormain {
    display: flex;
    justify-content: space-between;
}

.abrir-menu,
.cerrar-menu {
    display: none;
}

  
@media screen and (max-width: 480px) {
    .abrir-menu,
    .cerrar-menu {
        display: block;
        border: 0;
        font-size: 1.5rem;
        background-color: transparent;
        cursor: pointer;
    }

    .abrir-menu{
        color: black;
    }

    .cerrar-menu {
        color: white;
    }
    .nav {
        opacity: 0;
        visibility: hidden;
        display: flex;
        flex-direction: column;
        align-items: end;
        position: absolute;
        gap: 1rem;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: brown;
        padding: 2rem;
        box-shadow: 0  0  0 100vmax rgba(0, 0, 0, .5);

        }

        .nav.visible {
            opacity: 1;
            visibility: visible;
        }

    
    .navlist {
        flex-direction: column;
        align-items: end;
    }

    .navlist li a {
        color: white;
    }

    .comitente, .equipo, .datosacademicos {
        margin: 1em 5%;
    }

    article {
        width: 100%;
        margin: 1em 0;
    }
}