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

body {
     font-family: 'Open Sans',sans-serif, arial, helvetica, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #EAECEC;    
}

a {
    text-decoration: none;
    
}
ul li{
  color:#434343;  

}

a{
color:#434343;
    
}

.texto-portada h1{
  color: #efefef;
  font-weight: 500;
  font-size: 3rem;
   margin-bottom: 0.5em;
    margin-top: 0.5;   
}

.texto-portada h2{
  font-size: 1rem;
  color: #efefef;
  font-weight: 500;
     border-bottom: dotted 1px #2F99BB;
    margin-bottom: 0.5em;
    margin-top: 0.5;   
}

.texto-portada h3{
  font-weight: 400;
  font-size: 1rem;
  color: #efefef;
     border-bottom: dotted 1px #2F99BB;
    margin-bottom: 0.5em;
    margin-top: 0.5;   
}
.cuerpo-proyecto .material-icons{
  color: #3299bb;
  font-size: 1.5rem;
}


p {
   padding-bottom: 1em;
   max-width: 35em;  
   font-size: 0.9em;
   color:black;
}

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

#contenedor{
    background-color: #BDBDBD;
    margin:auto;
    max-width: 75em;
    min-height: 100vh;
    width: 90vw;
       
}

header {
    
    background-color: #2F99BB;
    padding: 1em;
    text-align: center;
    
}

footer {
    
    background-color: #EAECEC;
    padding: 1em;
    text-align: center;
    
}

#logo {
    background-color: #EAECEC;
    border-radius: 0.5em;
    font-weight: bold;
    font-size: 2em;
    text-align: center;
    width: 3em;
    box-shadow: 0 0 0 0.1em rgba(0, 0, 0, 0.2);
    display:inline-block;
    padding: 0.3em;
}
nav {
    margin-top: 1em;
    box-shadow: 0 0 0 0.3em rgba(0, 0, 0, 0.2);

}

nav ul {
    margin: 0;
    padding: 0;
}


nav ul li a {
    background-color: #434343;
    border: solid 2px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    color: white;
    display: block;
    padding: 0.25em;
    text-align: center;
 
}

nav ul li a:hover {
    color:  #2F99BB;
}

main,
aside {
    padding: 0.5em;
}


article a:hover {
     color:#e5951e;
    
}


section {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0.5em;
}

footer h6 {
    color: #434343;
}

#contenedor{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
}

header,
footer {
   
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
}

.contenidos {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
/* a partir de 320px */

@media screen and (min-width:20em) {
    nav ul {
        /*  para que sea horizontal
            definimos la lista menú
            como caja flexible */
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
    nav ul li {
        /*  para que el menú se extienda a lo ancho
            definimos que sus "hijos" puedan crecer o achicarse */
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
}


/* a partir de 480px */

@media screen and (min-width:30em) {
    header {
        /*  para que el menu horizontal
            quede al lado del logo
            definimos el encabezado
            como caja flexible */
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        /*  indicamos que el logo se vaya 
            lo más a la izquierda posible
            y el menu, lo más a la derecha posible */
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        /*  indicamos que los "hijos del encabezados
            estén centrados verticalmente */
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
    nav {
        margin: 0;
    
        -webkit-flex-basis: calc( 100% - 8em);
        -ms-flex-preferred-size: calc( 100% - 8em);
        flex-basis: calc( 100% - 8em);
    }
    article {
        
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
       
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    article>h2 {
        width: 100%;
    }
    article>*:not(h2) {
        text-align: left;
    }
    article>figure {
        max-width: 25%;
        margin: 0 1em 0.5em 0;
    }
    article>p {
        max-width: 70%;
    }
}


/* a partir de 640px */

@media screen and (min-width:40em) {
    main {
        
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: baseline;
        -webkit-align-items: baseline;
        -ms-flex-align: baseline;
        align-items: baseline;
        
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
    main article {
        width: 50%;
        display: block;
        text-align: center;
    }
    article>*:not(h2) {
        text-align: center
    }
    article>figure {
        max-width: 50%;
        margin: 1em auto;
    }
    article>p {
        max-width: 90%;
        margin: auto;
    }
    aside {
        
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
    section {
        
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 50%;
        -ms-flex: 1 1 50%;
        flex: 1 1 50%;
    }





@media screen and (min-width:50em) {
    .contenidos {
       
        
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    aside {
       
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 30%;
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
    }
    section {
        
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }


* {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
  font-family: "open sans";
  list-style: none;
  font-family: 'Open Sans',sans-serif, arial, helvetica;
}

.contenedor-gral {
  width: 960px;
  margin: 0 auto;
}

body{
  background-color: #d9d6d6;
}

a{
  text-decoration: none;
}



header div{
  flex-grow: 1;
  margin: 1em;
}



.texto-portada h1{
  color: #efefef;
  font-weight: 500;
  font-size: 3rem;
   margin-bottom: 0.5em;
    margin-top: 0.5;   
}

.texto-portada h2{
  font-size: 1rem;
  color: #efefef;
  font-weight: 500;
     border-bottom: dotted 1px #2F99BB;
    margin-bottom: 0.5em;
    margin-top: 0.5;   
}

.texto-portada h3{
  font-weight: 400;
  font-size: 1rem;
  color: #efefef;
     border-bottom: dotted 1px #2F99BB;
    margin-bottom: 0.5em;
    margin-top: 0.5;   
}

.black-overlay {
  background-color: rgba(0,0,0,0.5);
  padding: 15rem;
  color: black;
  display: flex;
  justify-content: center;
   }


.contenedor-proyecto{
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  color: #424242;
}

.cuerpo-proyecto{
  margin-top: 3rem;
}

.cuerpo-proyecto section {
  background-color: #efefef;
  border-radius: 4px;
  margin-bottom: 1rem;
  padding: 2rem;
  color:#424242
}


.cuerpo-proyecto .material-icons{
  color: #3299bb;
  font-size: 1.5rem;
}

.cuerpo-proyecto h2{
  margin-bottom: .5rem;
    color:#424242
  
}

.cuerpo-proyecto p {
  max-width: 40rem;
  line-height: 1.6;
}
.slider-fotos {
  margin-bottom: 3rem;
    align-items: center;
    image-orientation: center;
}


.statics-icon{
  flex: 0 0 auto;
  display: flex;
  margin-left: .5rem;
  align-items: center;
}

.statics-icon i {
  margin-right: .3rem;
}

footer{
  padding: 4rem;
  color: #efefef;
}

footer a{
  text-decoration: none;
  color: #efefef;
 font-weight: 200;
}

footer h2{
  font-size: 1rem;
  font-weight: 600;
  color: #efefef;
}

.contenedor-footer{
  display: flex;
  flex-flow: row wrap;
}


.columna{
  flex: 1 0 auto;
  margin-right: 1rem;

}

.grande{
  flex: 2 0 auto;
}

.contenido-footer h2{
  margin-bottom: 0.2rem;

}

.contenido-footer{
  margin-bottom: 5rem;
}

.aclaracion{
  color: #efefef;
  text-align: center;
  font-size: 0.8rem;
  padding-top: 1rem;
  font-style: italic;
  border-top: 1px solid #efefef;
}

.icon-redes{
  text-align: center;
}


.icon-redes a img{
  margin-top: 2rem;
  max-width: 20%;
  margin-right: 3rem;
}

footer input {
  padding: 0.5rem;
  width: 20rem;
  border: none;
  border-radius: 4px;
}

.boton-news{
  font-weight: 400;
  background-color: #3ebee8;
  border-radius: 4px;
  padding: 0.3rem;

}

.seguinos h2{
  border-bottom: 1px solid #efefef;
}



.vermas:hover{
  color: white;
  background-color: #3ebee8;
}

.boton-news:hover{
  color: white;
}

a:hover{
  color: #3299bb;
}

.boton-unirse:hover{
  color: white;
  background-color: orange;
}












