* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    list-style: none;
    color: rgb(136, 6, 76); 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    margin: 0;
}

main h1, h3, h4, h5 {
    color: rgb(185, 11, 105);
}

main h3 {
    border-bottom: solid .1em rgba(217, 35, 91, 0.97);
    padding-bottom: .30em;
}
header, footer {
    background-color: rgba(132, 17, 92, 0.18);
}

header > div.contenedor {
    display: flex;
    flex-direction: row;
    min-height: 10vh;
    align-items: center;
    justify-content: space-between;
    max-width: 50rem;
    margin: 0 auto;
}

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

nav {
    width: 100%;
}

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

.contenedor nav ul {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;  
}

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

.contenedor nav ul li a:hover {
    background-color: rgb(185, 11, 105);
}

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

section {
    padding: 1rem;
    max-width: 50rem;
    margin: 0 auto; 
}

#menu-personal {
    background-color: rgba(132, 17, 92, 0.05);
    width: 100%;
}

#personal img {
    width: 50%;
}

div nav {
    max-width: 50rem;
    margin: 0 auto;
    padding: 3em;
}


#menu-personal nav ul {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    
}

#menu-personal nav ul li a:hover {
    background-color: rgb(185, 11, 105);
}

#menu-personal nav ul li a {
    background-color: rgba(136, 6, 76, 0.28);
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
    padding: .125em .5em;
    border-radius: 4px;
}

#menu-personal nav ul li {
    flex-basis: 49%;
}

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

#equipo ul li {
    margin: 1em;
}

#equipo ul li img {
    border: solid .3em rgb(136, 6, 76);
    box-shadow: 0.25em 0.25em 0.25em silver;
    margin-bottom: 8%;
}

#equipo ul li a:hover img {
    border: solid .3em rgb(185, 11, 105);   
}

#equipo ul li a:hover {
    color: rgb(185, 11, 105);
    text-decoration: none;
}

#equipo ul li a {
    color: rgb(136, 6, 76);
    font-weight: bold;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

#pertenencia > ul > li {
    background-color: rgba(0,0,0,0.02);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    margin-top: 1em;
    padding: 1em;
}

footer{
    background-color: rgba(132, 17, 92, 0.18);
    padding-top:  30px;
    padding-bottom: 30px;
}

footer p {
    max-width: 50rem;
    margin: 0 auto;
}
