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

@import url('https://fonts.googleapis.com/css?family=Nunito&display=swap');

body {
    background-image: url(imagenes/fondosocios4.jpg);
    background-position: left;
    background-size: contain;
}

header {
    display: flex;
    flex-direction: row;
    background: linear-gradient(to right, black, white);
    background-position: cover;
    background-size:cover;
    width: 100%;
    height: 4em;
    align-items: center;
    align-content: center; 
    justify-content: space-between;
    position: fixed;
}

.logo {
    width: 6em;
}


#btn-menu {
    display: none;
}

.btn-menu:checked ~ .menu {
    right: 0em;
    top: 4em;
}

label img {
    width: 2em;
    margin: .5em 1em;
    cursor: pointer;
    right: 0;
    top: 1em;
}

.menu {
    display: flex;
    width: 50%;
    position: fixed;
    right: -50%;
    top: 4em;
    transition: all 1s ease;
    height: 100%;
}

header ul {
    list-style: none;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    background-color: rgba(0,0,0,0.8);
}

header li {
    display: flex;
    justify-content: center;
    align-items: baseline;
    width: 100%;
    padding: 1em;
    font-family: "nunito", sans-serif;
}

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

.logo {
    margin-left:1em;
}


.socios { 
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-family: "Nunito", sans-serif;
    margin: 5em 0 0 0;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url(imagenes/fondosocios.jpg);
    background-size: cover;
}

.titulosocio {
    width: 100%;
    height: 3em;
    padding: .8em 1.5em;;
    background-image: url(imagenes/titular.png);
    background-position: left;
    background-size: cover;
    color: white;
    margin-top: 3em;
    font-family: "nunito", sans-serif;
}

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

.socio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.socio img {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: 2em;
}

.correo {
    color: white;
    font-family: "nunito", sans-serif;
    display: flex;
    flex-direction: column;
    padding: 0 2em 2em;
}

.otros a {
    color: white;
    font-family: "nunito", sans-serif;
    text-decoration: none;
}

.otros {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
}

.otros div {
    display: flex;
    flex-direction: column;
    padding: 1em;
}

.otros div p {
    background-color: #1aa2ad;
    padding: .5em;
    margin: .5em;
    border-radius: 1em;
}


.correo h4 {
    text-align: center;
}

.correo h3{
    text-align: center;
    margin-top: 1em;
}

.volver {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
}

.volver a {
    text-decoration: none;
    color: white;
    font-family: "nunito", sans-serif;
    display: inline-block;
    justify-content: center;
    background-color: grey;
    padding: .5em;
    border-radius: 1em;
}

footer {
    background-color: #1aa2ad;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "nunito", sans-serif;
    padding: 1em;
    margin-top: 4em;
}

footer h4 {
    color: #07074e;
}

footer h5 a {
    color: white;
}

footer p a {
    text-decoration: none;
    color: #07074e;
}

footer nav ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: .5em;
}

footer nav img {
    max-width: 2em;
    display: flex;
    justify-content: center;
    margin-left: .25em;
    margin-right: .25em;
}