@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

@charset "utf-8";

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


/*-------------------------BANNER-------------------------*/


.banner {
  background-image: url(../imagenes/bosque10.jpg);
  height: 300px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.pres {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: 'roboto slab';    
}

h1{
    font-size: 50px;
    font-family: 'lato';
}


/*---------------------HEADER---------------------*/


#contenedor img {
    
    width: 40px;
    height: 40px;
    margin-bottom: 2%;
    
}

#contenedor{
    background-color: cadetblue;
    display:flex;
    width: 100%;
    
    position: fixed;
    top: 0;
    z-index: 100;
    
     }

span{
    display: flex;
    margin-top: 0 ;
    margin-left: auto;
    margin-right: 2%;
}


 /*--------------------MENU/SUBMENU SUPERIOR--------------------*/


.select{
    background: #fff;
}



.sidenav {
    height: 100%;
    width: 0;
    position: fixed; /*permite ver el menu */
    z-index: 1; 
    top: 0;
    right: 0; /*oculto del lado derecho*/
    background-color: #111;
    overflow-x: hidden; /*oculta el submenu*/
    transition: 0.5s;
    padding-top: 90px;
}

/*submenu propiedades*/ 
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
    transition: 0.3s;
    font-family: 'lato';
}

.sidenav a:hover { 
    color: #f1f1f1;
}

.sidenav .cierre {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/*------------------------------CONTENIDOS------------------------------*/

h1,h2,h4{
    font-family: 'Lato';
}



.cont p{
    font-family: 'roboto slab';
    
    background-color: black;
    color: aliceblue;
    text-align: center;
       
}

.cont{
    display: inline-block;
    position: absolute;
        
}




#blog{
    text-align: center;
    font-family: 'roboto slab';
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-top: 3em;
    margin-bottom: 0;
        
    }
h3{
    font-size: 15px;
    font-weight: 100;
}


h4{
    display:block;
    position: absolute;
    font-size: 15px;
    line-height: 1.5;
    background-color: black;
    color: aliceblue;
    padding: 0.3em;
    text-align: center;
    width: 8em;
    margin-top: -2.1em;
    }

.not2{
    margin-top: -3.5em; 
}





.dato{
    font-family: 'lato';
    font-size: 11px;
    color: darkgrey;
    font-style: oblique;
    display: block;
    margin-top: 0.5em;
    }


.fecha{
    
    font-family: 'roboto slab';
    font-size: 13px;
    margin-top: 0.5em;
    display: block;
    margin-bottom: 0.5em;
    
    
}

.button {
    
    border: none;
    color: white;
    padding: 2px 2px 2px 2px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 1em;
    
    
    transition-duration: 0.4s; 
    transition-duration: 0.4s;
    cursor: pointer;
    padding: 10px 30px;
    
}

.button1 {
    background-color: cadetblue; 
     
    border:  solid cadetblue;
    
}

.button1:hover {
    background-color: white;
    color: cadetblue;
}


.galeria>figure:hover{
    filter:brightness(90%);
    }

.ftitulo{
    
    border: 2px solid #c9d168;
    width: 4em;
    display: inline-block;
    margin-bottom: 1em;
    margin-top: 0.3em;
    
    
    
    }



/*---------------------------------OTROS---------------------------------*/

main {
    background-color: white;

  
    flex-grow: 1;
    
   
    display: flex;
    
    
    flex-direction: column;
}




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



.galeria figure {
    width: 70vmin;
    margin: .5em;

    position: relative;

    overflow: hidden;
}

.galeria img {
  
    display: block;
}



@media (min-width: 45em) {
    
    .galeria figure {
        width: 20%;
    }
  
   
}


@media (min-width: 50em) {
    .galeria h3 {
        margin-bottom: 2em;
    }
 
    .textos h3 {
        padding: 1em;
    }
}



@media (min-width: 75em) {
    .galeria {
        background-color: #b5b5b5;
        padding: 2em;
        
    }
    .dato{
        color: white;
    }
}






/*-------------------------galeria-------------------------*/

#galeria2{
    
    display: flex;
    align-items: center;
    justify-content: center;
}

#galeria2>img{
    max-width: 100%;
    border: 3px solid cadetblue;
}

.botoima{
    display: flex;
    text-decoration: none;
    justify-content: center;
    margin-top: 1em;
    
}


/*-----------------------------------videos-----------------------------------*/


video {
	width:90%;
	height: auto;
    filter: blur(3px) grayscale(100%);
	margin: 1em;
    margin-bottom: 2em;
}

.contenedor{
	width: 80%;
	margin: auto;
    
}

.videoresponsive{
    position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	/*padding-top: 25px;*/
	height: 0;
	overflow:hidden;
}

.videoresponsive iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

iframe {
    border: 5px solid cadetblue;
    
    
}





/*--------------------------------------pie de pagina--------------------------------------*/



footer {
    
    padding: 1em;
    background-color: black;
    color:azure;
    font-family: 'roboto slab';
    font-size: 12px;
    margin-top: 3em;
    
}













