@charset "utf-8";
<style>
@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');
</style>

/* ----------- reglas generales y módulos ----------- */

* {
    box-sizing: border-box;
}

body {
    background-color:brown
    margin: 0;
    font-family: "lato", sans-serif;
    
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between
}

header,
footer {
    background-color: brown;
}

footer p {
    color: white;
}


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

.contenedor,
main > section {
    max-width: 50rem;
    margin: 0 auto;
    padding: 1rem;
}



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

header > div.contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    width: 100%;
    margin-left: 1em;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: .25em;
    background-color: rgba(0, 0, 0, 0.2);
    
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

nav ul li {
    flex-basis: 24.5%;
}

nav ul li a {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
    padding: .125em .5em;
    border-radius: 4px;
}

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

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

main {
    flex-grow: 1;
}

main > section {
    background-color: white;
    border: solid 1px lightblue;
    border-radius: 1rem;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.125);
    margin-top: 1em;
    margin-bottom: 1em;
    width: calc( 100% - 2rem );
}

main > section > h1,
main > section > h2 {
    border-bottom: solid .25em brown;
    margin-top: 0;
    padding-bottom: .25em;
}


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

#comitente {
    font-size:1em;
    display: flex;
}

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

#equipo ul {
    margin: 0;
    padding: 0;
    list-style: none;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#equipo ul li {
    margin: 1em;
}

#equipo ul li a {
    color: lightcoral;
    font-weight: bold;
    text-decoration: none;
    
    display: flex;
    flex-direction: column;
    align-items: center;
}

#equipo ul li a:hover {
    color: darkslateblue;
    text-decoration: underline;
}

#equipo ul li a img {
    border: solid .4em brown;
    border-radius:50%;
    border-color: brown
      box-shadow: 0 .25em .25em  rgba(0, 0, 0, 0.4), 0 .25em .25em  rgba(0, 0, 0, 0.4) inset;
}



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

#pertenencia > ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

#pertenencia > ul > li {
    border: solid 1px rgba(0, 0, 0, 0.25);
    border-radius: .5em;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    margin-top: 1em;
    padding: 1em;
}

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


   #plan {
    font-size:1em;
    text-align: left;
}