

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


/*colores generales

     Color verde fondos: #005446
     color rosa: #ff00bb


*/




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

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

header,
footer {
    background-color: #181c16;
    color: #ffffff;
    padding: 0.5em;
}

header {
    box-shadow: 0 4px 2px #0000003f;
    position: sticky;
    top: 0;
    z-index: 8000;
}

main {
    background-color: #ffffff;
}

img {
    margin: 0 0 0 0;
}


.fotosgrandes img {
    width: 100%;
    margin: 0 0 0 0;
}


a {
    text-decoration: none;
    color: #171c3c;
}


a:hover {
    color:  #ff00bb;
}


ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


.contenedora {
    max-width: 75em;
    margin: 0 auto;
}


.rotulos_individuales {
    max-width: 75em;
    margin: 0 auto;
}


.rotulos_individuales ul {
    max-width: 75em;
    margin: 0 auto;
}


.academicos {
    max-width: 75em;
    margin: 0 auto;
}



/*HEADER---------------------------*/

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

#boton-nav {
    background-color: transparent;
    border: none;
}

#botonNav img {
    width: 100%;
}

.titulos {
    display: block;
    margin: 2em auto 2em auto;
    padding: 1em;
    border-left: solid 10px #ff00bb;
    background-color: #efefef;
    color: #ff00bb;
    font-weight: bold;
    font-size: 18px;
    border-radius: 0.25em;
    box-shadow: 4px 3px 5px #8080807a;
    max-width: 90%;
    text-align: left;
}

.img-logo {
    height: 4em;
    margin: 0.5em;
    background-color: #edeae6;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 4px 3px 5px #8080807a;
}




/*MENU ----------------------------------*/

nav {
    position: relative;
}

.menu-btn,
.menu-fondo {
    border-radius: 0.5em;
    padding: 1em;
    width: 3.5em;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.3s ease-out;
    position: fixed;
    top: 1.5em;
    right: 1em;
    z-index: 9000;
}

.menu-fondo {
    background:  #ff00bb;
    z-index: 8000;
}



.menu-btn .btn-linea {
    width: 25px;
    height: 3px;
    margin: 4px 0 4px 0;
    background: #ffffff;
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 9000;
}



nav ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    right: 0.25em;
    top: calc(100% + 4rem);
    z-index: 9999;
    transition: all .5s ease;
}



nav ul li a {
    display: block;
    color: #ffffff;
    margin-block-end: .5em;
    width: min(40vw, 15rem);
    text-align: center;
    padding: 1em 0.5em 1em 2em;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #ffffff;
    transition: all .3s;
}


/* Mostrar el menú cuando se abre con la hamburguesa */
header.menu-abierto nav ul {
  opacity: 1;
  visibility: visible;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  background-color: #181c16; /* opcional: mismo color que el header */
  padding: 1em;
  border-radius: 0.5em;
  position: absolute;
  right: 1em;
  top: 5em;
  z-index: 9999;
}

/*presentacion -----------------------------------*/


.parrafos {
    max-width: 90%;
    margin: 1em auto 0em auto;
    padding: 1em;
    box-shadow: 5px 5px 5px #8080807a;
    background-color: #005446;
    border-radius: 0.25em;
}

.parrafos p {
    margin: 0.5em auto 0em auto;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
}



/*Mapa -----------------------------------*/

.fotosgrandes {
    max-width: 90%;
    margin: auto;
    padding: 1em;
    background-color: #005446;
    border-radius: 0.25em;
    box-shadow: 5px 5px 5px #8080807a;
}



/*sección equipo -----------------------------------*/

.contenedora_3 ul li {
    display: block;
    max-width: 90%;
    margin: 2em auto 0em auto;
    box-shadow: 5px 5px 5px #8080807a;
    padding: 2em;
    text-align: center;
    border-radius: 0.25em;
    background-color: #005446;
}

.rotulos_individuales img {
    width: 180px;
    border-radius: 0.25em;
    border: solid 3px #efefef;
    box-shadow: 5px 5px 5px #7474747a;
    text-align: center;
}

.rotulos_individuales img:hover {
    border: solid 3px #ff00bb;
}

.rotulos_individuales h3 {
    margin: 1em;
    text-align: center;
    text-decoration: underline;
    color: #efefef; 
}

.rotulos_individuales h3:hover {
    color: #ff00bb;
}

.rotulos_individuales p {
    color: #171c3c;
    font-weight: normal;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
}


/* seccion academicos ---------------------------------------------*/

.logos ul {
    margin: 0em 0 0em 1em;
}


.logos ul li {
    margin: 1em 1em 3em 1em;
    padding: 0 0 0 1em;
    border-left: solid 10px #005446;
    border-bottom: solid 1px #005446;
    border-right: solid 1px #005446;
    border-top: solid 1px #005446;
    border-radius: 0.25em;
}

.textos {
    font-size: 0.8em;
}


.academicos img {
  display: block;
  width: 8em;
  aspect-ratio: 1;
  object-fit: contain;
  background-color: white;
  padding: .5rem;
  border-radius: .25rem;
  box-shadow: 0 4px 4px transparent;
  transition: box-shadow .6s ease;
}


/*footer
--------------------------------------*/

footer p {
    margin: 1em 2em 1em 2em;
}



/*RESPONSIVE-TABLET*/

@media screen and (min-width: 768px)

{

    /*nosotros -------------------------------------------*/

    .contenedora_3 ul li {
        display: flex;
        align-items: flex-start;
        gap: 1em;
    }

    .rotulos_individuales h3 {
        text-align: left;
        padding: 1em 0 0 0;
        margin: 0 0 1em 0;
    }

    .rotulos_individuales a {
        padding-block: .25em;
        padding-inline: 1.5em;
        text-align: left;
    }

    /*academicos---------------*/

    .logos ul {
        display: flex;
        margin: 0 1.5em;
    }

    /*footer
    --------------------------------------*/

    footer p {
        margin: 1em 2em 1em 2em;
    }

}


@media screen and (min-width: 992px) {

    /*HEADER----------------------------*/

    header nav {
        margin-bottom: 0.5em;
        width: 100%;
    }

    .menu-btn {
        display: none;
    }

    header nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: right;
        align-items: center;
        margin-top: .5em;
        position: inherit;
        padding-top: 0;
        width: 100%;
        transition: none;
        visibility: visible;
        opacity: 1;
    }

    header nav ul li {
        min-width: 4em;
        margin: .25em;
    }

    header nav ul li a {
        background-color: #acacac;
        border-radius: .25em;
        font-size: 1rem;
        width: auto;
        padding: .35em 1.2em;
    }

    /*NAV---------------------------*/
    #nav-desplegable ul {
        display: flex;
        justify-content: space-between;
        gap: 0.5em;
        margin: 0 2em;
    }

    #boton-nav {
        display: none;
    }

    .img-logo {
        margin: 0 0 0 2em;
    }

    header .contenedora {
        margin: 2em auto 2em auto
    }

    .contenedora-0 {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: nowrap;
        margin: 0 auto;
        align-items: center;
        max-width: 80em;
        width: 100%;
    }

    .rotulos_individuales {
        max-width: 80em;
        width: 100%;
    }

    .academicos {
        max-width: 80em;
        width: 100%;
    }

    .titulos {
        font-size: 20px;
    }

    /*TEMA*/

    .contenedora_2 {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-around;
        max-width: 90%;
        margin: 1em auto 1em auto;
    }

    
    .fotosgrandes {
        max-width: 100%;
        margin: auto;
        padding: 1em;
        background-color: #005446;
        border-radius: 0.25em;
        box-shadow: 5px 5px 5px #181c16a9;
    }

    .fotosgrandes img {
        width: 1500px;
        max-width: 100%;
    }

    .parrafos_tema {
        max-width: 50%;
        margin: 0em 0em 0em 1em;
        padding: 1em;
    }


    /*nosotros -------------------------------------------*/

    .contenedora_3 ul li {
        display: block;
        padding: 3em;
        text-align: center;
        margin: 0em;
    }

    .contenedora_3 ul {
        display: flex;
        max-width: 90%;
        gap: 3em;
        justify-content: space-evenly;
    }

    .rotulos_individuales h3 {
        margin: 1em;
        text-align: center;
        text-decoration: underline;
    }

    .rotulos_individuales a {
        padding-block: .25;
        padding-inline: 1.5em;
        text-align: center;
    }


    /*academicos---------------*/

    .logos img {
        height: 5em;
    }

    .logos ul {
        display: flex;
        margin: 0 2.5em;
    }

    /*final
    --------------------------------------*/

    footer p {
        margin: 1em 2em 1em 2em;
    }
}