@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


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

body{
    margin: 0;
    background-color: rgb(169, 243, 206);
    font-family: 'Lato', sans-serif;
}

h1,
h2,
h3,
h4,
p {
    margin-bottom: 1em;
}

a{
    text-decoration: none;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

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

.contenedora {
    max-width: 75rem;
    margin: 0 auto;
    padding: 1rem;
}

header,
footer {
    background-color: rgb(37, 37, 37);
    color: white;
}

/* ----------------
   header
   ---------------- */

header .contenedora{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#logo {
    background-color: white;
    border-radius: .35em;
    padding: .35em;
    width: 6em;
}

.menu-btn {
    background:rgb(255, 255, 255)
}

.menu-btn,
.menu-fondo {
    border-radius: 50%;
    padding: .75rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.menu-btn .btn-linea {
    width: 25px;
    height: 3px;
    margin: 4px 0 4px 0;
    background: black;
    transition: all 0.3s ease-out;
}

header nav ul {
    display: none;
}

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

header nav ul li a {
    background-color: white;
    border-radius: .25em ;
    color:black;
    font-weight: bold;
    padding: .25em .5em;
    text-align: center;
    display: block;
}

header nav ul li a:hover {
    background-color: black;
    color: white;
}

.index header nav ul li:first-child a,
.plan header nav ul li:nth-child(2) a,
.mapa header nav ul li:nth-child(3) a {
    background-color: rgba(255, 255, 255, 0.85);
    color: rgb(37, 37, 37);
}

/* ----------------
   main
   ---------------- */

section {
    padding-bottom: 2rem;
}

section:first-of-type {
    font-size: 1.25em;
}

.titulo {
    border-bottom: .4rem rgb(37, 37, 37);
    padding: .5em;
    background-color: rgb(37, 37, 37);
    color: white;
    font-size: 2em;
    text-align: center;
    min-width: 5em;
    border-radius: 3em;
}

.titulo2 {
    border-bottom: .4rem rgb(37, 37, 37);
    padding: .5em;
    background-color: rgb(37, 37, 37);
    color: white;
    font-size: 1.5em;
    text-align: center;
    min-width: 5em;
    border-radius: 3em;
}

.titulo3 {
    border-bottom: .4rem rgb(37, 37, 37);
    padding: .5em;
    background-color: rgb(37, 37, 37);
    color: white;
    font-size: 1.5em;
    text-align: center;
    min-width: 5em;
    border-radius: 3em;
}

.textoplan {
    font-size: 0.8em;
}

.comitente {
    display: flex;
    flex-direction: column;
}

.logoacumar {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 1em;
}

.textoacumar {
    margin: 1em 1em auto 1em;
    padding: 1em;
}

.textoacumar p {
    margin: 15px 0px;
}

.equipo article {
    background-color: rgba(122, 79, 144, 0.1);
    margin: .5em 0;
    padding: 1em;
    border-radius: .25em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.equipo img {
    border: solid .4em rgb(37, 37, 37);
    border-radius: 50%;
    width: 8em;
    margin: inherit;
}

.equipo article h3 {
    margin-top: 0;
}

.equipo article a {
    background-color: rgb(37, 37, 37);
    border-radius: .25rem;
    color: #ffffff;
    font-weight: bold;
    line-height: 1.25em;
    padding: .125em 1em;
}

.equipo article a:hover {
    color: rgb(0, 0, 0);
    background-color: #ffffff;
}

.mvp {
    background-color: white;
    border-radius: .25rem;
    color: rgb(37, 37, 37);
    font-weight: bold;
    line-height: 1.25em;
    padding: .125em 1em;
}

.mvp:hover {
    color: white;
    background-color: rgb(37, 37, 37);
}

.vermapa {
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.botonmapa {
    background-color: white;
    border-radius: .25rem;
    color: rgb(37, 37, 37);
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.25em;
    padding: .125em 1em;
}

.botonmapa:hover {
    color: white;
    background-color: rgb(37, 37, 37);
}


/*
footer
*/

.academicos > ul > li:not(:last-of-type) {
    border-bottom: solid 1px black;
    padding-bottom: 1.5em;
     margin-bottom: 1.5em;
}

.academicos img {
    width: 8em;
    height: auto;
}

.academicos > ul > li > *:first-child {
    margin-right: 2em;
    width: 8em;
}

.academicos h3 { 
    margin-top: 0; 
}

.plan main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media screen and (min-width:640px){
        header nav ul {
            display: flex;
        }
        .menu-btn {
            display: none;
        }
        .logoacumar {
            display: flex;
            flex-direction: row;
        }
        .logoacumar img {
            max-width: 50%;
        }
        .academicos > ul > li {
            display: flex;
        }
    
        .academicos > ul > li > div {
            width: calc(100% - 10em);
        }
    
        .plan main > :not(:first-child) {
        width: calc(50% - 1em);
    }
}

@media screen and (min-width:800px) {
        .logoacumar img {
            max-width: 50%;
        }
        .equipo {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        .equipo h2 {
            width: 100%;
        }
        .equipo article {
             width: calc(50% - .5em);
        }
    
        .equipo article div {        
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .equipo article div a {
            margin: auto 0 0 auto;
        }
    
        .plan {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        .plan footer {
            margin-top: auto;
        }
}

@media screen and (min-width:1200px) {
        .equipo article {
            width: calc(25% - .75em);
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: center;
        }
        .logoacumar img {
            max-width: 50%;
        }
        .equipo article div {
            width: unset;
            margin-top: 1em;
        }
        .equipo article h3 {
            text-align: center;
        }
    
        .academicos > ul {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
        }
        .academicos > ul > li {
            width: calc(33.33% - 2em);
            flex-direction: column;
        }
        .academicos > ul > li:not(:last-of-type) {
            border-bottom: 0;
        }
        .academicos > ul > li > div {
            margin-top: 1em;
            width: unset;       
        }
}    
