/* {} */
@import url(https://fonts.googleapis.com/css?family=Dosis:400,800);

body{
    background: linear-gradient(#4d85ff, #0b338b);
    background-size: contain;
    background-attachment: fixed;
    font-family: sans-serif;
    font-family: 'Dosis', sans-serif;
}

#contenedorxl{
    background: white;
    border-radius: 10px;
    width: 800px;
    margin: 1rem auto;
    padding: 1rem;
    box-shadow: 1px 1px 10px 1px rgba(41, 41, 41, 0.5);
}

nav{
    overflow: auto;
    margin: auto;
    width: 48%;
    float: right;
}

nav ul{
    padding: 1%;
    margin: 0 auto;
}

nav ul li{
    width: 100%;
    height: 28px;
    list-style: none;
    text-decoration: none;
    text-align: center;
    margin: 0 0 10px 0;
    padding: auto 5px;
    /*background: linear-gradient(rgba(255, 255, 255, 0), #cbffed);*/
    text-transform: lowercase;
    border-bottom: 1px solid aqua;
}

ul li:hover{
    background-color: #1758e6;
}

#logogrupo{
    margin: auto;
    float: left;
    width: 48%;
}

#logogrupo img{
    background-image: url(imagenes/gifnois3.gif); border-image-repeat: repeat;
    background-color: aquamarine;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 1px 1px 5px 1px rgba(41, 41, 41, 0.5);
}

article{
    float: left;
    width: 30%;
    margin: auto;
    padding: 1%;
    text-align: center;
}

footer{
    clear: both;
    margin: 0.5% auto;
    padding: 1%;
    overflow: auto;
    text-align: center;
}

#logofadu{
    float: left;
    width: 10%;
    height: auto;
    margin: 1% 1% 1% 0;
}

a{
    text-shadow: 1px 1px rgba(255, 255, 255, 0.4);
    text-decoration: none;
    color: #0b338b;
    font-weight: 400;
    
}

a:hover{
color: white;
}

p{
    font-size: 0.75rem;
    border-left: 1px solid #eaeaea;
}

h5{
    margin: auto;
    margin-bottom: 1%;
    text-align: center;
    font-weight: 400;
    font-style: italic;
    text-transform: none;
    clear: both;
    font-size: 1.5rem;
    text-transform: uppercase;
    background-color: #fff;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
}

h5:hover{
background-color: black;
color: white;
border: 1px solid black;
}

.espacio{
clear: both;
height: 1rem;
    margin: auto;
    overflow: auto;
}

.espacio2{
display: none;
clear: both;
height: 1rem;
    margin: auto;
    overflow: auto;
}

@media only screen and (max-width: 768px){
    #contenedorxl{width: 400px;}
    nav,#logogrupo,footer,article{clear: both; width: 100%; border: none;}
    h5,p{text-align: center; clear: both;}
    footer p{border-top: 1px solid #eaeaea; padding-top: 6px;color: #888;}
    .espacio2{display: block;}
}
