@import url('https://fonts.googleapis.com/css?family=Dosis" rel="stylesheet');

* {
margin: 0;
padding: 0;
border: 0;
box-sizing: border-box;
font-family: 'Dosis', sans-serif;
list-style: none;
}

body {
background-color: #1C90B0;
min-height: 100vh;
display: flex;
flex-direction: column;
margin-bottom: 10em;
}

.contenedor1 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 5em;
}


h2 {
color: #6EA9A9;
text-align: center;
font-size: 200%;
margin: 0;
margin-top: 4em;}

.contenedorgeneral {
    display: block;
}

/* logo principal */
.tope1 {
display: flex;
flex-direction: column;
align-items: center;
}
.tope1 img {
max-width: 20em;
height: auto;
margin: 3em 1em 0em 1em;
}
.tope1 p {
color: white;
font-size: 1em;
}

.centrado {
flex-grow: 1;
display: flex;
margin: auto;
flex-direction: column;

}

/* botones */
.boton1 {
    background-color: #002D47;
    color: #ffffff;
    padding: 1em 2em;
    margin: 0.5em;
    display: inline-block;
    align-self: center;
    width: 12em;
    border-radius: 1em;
    box-shadow: 0 0 0.5em grey;
    text-align: center;
}
.boton1 a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
}
.boton2 {
    text-align: center;
    margin: 0.5em
}
.boton2 a {
    color: white;
    text-decoration: none;
    font-size: 1em;
}

.boton3 {
    background-color: #002D47;
    color: #ffffff;
    padding: 1em 2em;
    margin: 1em 0 0 6.5em;
    align-self: center;
    width: 12em;
    border-radius: 1em;
    box-shadow: 0 0 0.5em grey;
    text-align: center;
}
.boton3 a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
}


/* panel superior */
.material-icons {
    color: white;
    margin: 0.5em;
    align-items: baseline;
    
}


/* barra navegacion */
.barra ul {
display: flex;
justify-content: space-evenly;
background-color: #3A3A3A;
position: fixed;
bottom: 0;
right: 0;
left: 0;
width: 100%;
opacity: 0.95;
}



/* inicio */
.whitebody {
    background-color: white;}

 
header {
background: linear-gradient(to right, #04678E, #6EA9A9);
display: flex;
justify-content:space-between;
padding: 0.5em}
    
#logo {
width: 70%;
margin:0;
padding: 0;
align-items: right;}

#menudesplegado {
background-color: #3A3A3A;
opacity: .95;
height: 100vh;
min-width: 40vw;
width: 10em;
display: flex;
position: fixed;
right: -50vw;
top: 0;
transition: all .6s ease;
z-index: 999;}

.iconos {
width: 2.5em;
height: 2.5em;
margin:0;
padding: 0;
}

#x {
position: absolute;
right: .5em;
top: 0.5em;}

header #menudesplegado:target {
right: 0;}

header {
display: flex; 
justify-content: space-between; 
align-items: center;
position: fixed;
top: 0;
width: 100%;
height: auto;
color: white;
text-transform: uppercase;
font-size: 1em;
}


nav ul li {  

color: white;
margin-left: 1.5em;
padding: 0.4em;
align-items: baseline;
letter-spacing: 0.05em;}

nav ul li a:hover {
color: #6EA9A9;}

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

nav ul {
list-style-type: none;
text-decoration: none;
padding-top: 6em;
}

li {
display: flex;
flex-direction: column;
align-content: space-between;
}




.galeria3 {
    margin-top: 3em;
    padding-bottom: 2em;
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.galeria3 h3 {
    width: 100%;
    font-size: 240%;
    margin-top: -2em;
    letter-spacing: 0.04em;
    padding: 1em;
    text-align: center;
    color: #1C90B0;}

.galeria3 figure {
    width: 45vmin;
    margin: .125em;
    position: relative;
    overflow: hidden;
}

.galeria3 img {
    display: block;
    width: 100%
}

.textoextra {
    font-size: 10;
    font-style: italic;
    text-align: center;
    letter-spacing: 0.01em;
    padding: 2em;

}



.galeria3 figcaption {
    background-color:#3A3A3A;
    color: white;
    font-size: 1.3em;
    padding: 0.3em;
    line-height: 1em;

    position: absolute;
    height: 100%;
    
    top: calc(100% - 1.5em);
    transition: all .5s ease;
    
}

.galeria3 figure:hover figcaption {
    background-color: #1C90B0 ;
    top: 0%;
    transition: all .5s ease;
}

.galeria3 figcaption span {
    display: block;
    font-size: .70em;
    color:white;

}

span {
    margin-top:1em;
    font-size: 11em;
}




#a1 { 

  padding-top: 2oem;
    color: white;
    font-size: 0.8em;
    letter-spacing: 0.03em;

    margin-top: 10em;
    
}




