body {
    background: #ADCFDE;
    margin: 0;
    padding: 0;
    }

/*----- MENÚ DESPLEGABLE -----*/

.icono {
    width: 80px;
    float: left
}
h1 {
    font-family: Raleway , sans-serif;
    font-weight: 700;
    background: #9ba783;
    font-size: 16px;
    color: #3b533b;
    margin: 0;
    margin-top: 30px;
    padding: 0;
    float: left;
   
}

nav {
    font-family: Raleway , sans-serif;
    font-weight: 600;
    background: #9ba783;
    height: 80px;
    width: 100%;
    
}
nav ul{
    float: right;
    margin: 0;
    margin-right: 30px;
}
nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
    
}
nav ul li a {
    padding-left: 3px;
    padding-right: 20px;
    text-decoration: none;
    color: #1c590a;

}

.chkbtn {
    font-size: 30px;
    color: #fff;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    display: none;
    cursor: pointer;
}
#chk {
    display: none;
}
@media(max-width: 1000px)
{
    nav ul li a {
        font-size: 20px;
        
    }
}
@media(max-width: 900px)
{
    .chkbtn{
        display: block;
        margin-right: 40px;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        margin: 0;
        padding: 0;
        background: #9ba783;
        top: 80px;
        left: 112%;
        text-align: center;
        transition: .5s;
        z-index: 9999;
    }
    nav ul li{
        display: block;
        margin: 40px 0;
        line-height: 30px;
        
    }
    a:hover, a.active{
        background-color: none;
        color: #76d64c;
        font-weight: 700;
        
    }
    #chk:checked ~ ul {
        left: 0;
    }
}

i {
    color: #1c590a;
}


/*----- IMAGENES -----*/

.items {
    margin:0;
}
.items img {
    width: 100%;
    
}



/*----- NOTICIAS -----*/


.noticiasindex  {
    margin: .4em;
    flex-wrap: wrap;
    justify-content: center;
    
        

}

.noticiasindex figure a {
    margin:0;
    display:flex;
    justify-content: center;
    cursor: pointer;
    padding: 2px;

    
    /* para que cada "figure" sea origen de coordenadas de sus elementos contenidos */
    position:relative;
    /* para ocultar lo que "excede" sus límites */
    overflow: hidden;
}
.noticiasindex img {
    width:auto
    
        /* para que "desaparezca" el espacio que queda debajo de la imagen */
    
}
.noticiasindex figcaption {
    background-color: #9ba783;
    color: white;
    padding: 5px;
    margin-left: 10px;
    
    line-height: 1em;

    /* para superponer el epígrafe sobre la foto */
    position: absolute;
    width: 100%;
    height: 100%;
    top: calc(100% - 3em);
    
    transition: all 1s ease;
}

/* propiedades de figcaption SÓLO cuando
   el cursor se coloca encima de "figure" */
.noticiasindex figure:hover figcaption {
    background-color: rgba(25, 25, 25, 0.21);
    top: 0px;
    transition: all .3s ease;
    display: flex;
    justify-content: center;
}
.noticiasindex figcaption span {
    display: block;
    font-size: .86em;
    color: #ddd;
    margin-top: .2em;
}
.noticiaprincipalindex > figcaption {
    background-color: rgb(2, 38, 2);
    color: white;
    padding: .5em;
    line-height: 1em;

    /* para superponer el epígrafe sobre la foto */
    position: absolute;
    width: 100%;
    height: 100%;
    top: calc( 100% - 3em );
    transition: all 1s ease;
}
.noticiaprincipalindex figure:hover figcaption {
    background-color: #9ba783;
    top:0;
    transition: all .3s ease;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.noticiaprincipalindex figcaption span {
    display: block;
    font-size: .86em;
    color: #ddd;
    margin-top: .2em;
    margin-bottom: 6px;
}
.noticiasindex div .gruponoticias {
    margin: .2em;
   flex-wrap: wrap;
    
}
.mosaiconoticiasindex figcaption {
    background-color: #9ba783;
    color: white;
    padding: .5em;
    line-height: 1em;
    font-size: .90em;
    margin-left: 10px;

    /* para superponer el epígrafe sobre la foto */
    position: absolute;
    width: 100%;
    height: 100%;
    top: calc( 100% - 3.8em );
    
    transition: all 1s ease;
}
.mosaiconoticiasindex figcaption span {
    display: flex;
    font-size:.90em;
    color: #ddd;
    margin-top: .2em;
}

.actividades {
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    text-align: center;
    max-width: 50em;
}


h2{
   margin-top: 20px;
    margin-bottom: 0px;
    text-align: center;
    font-size: 30px;
    color: #1c590a;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    padding-right: 25px;
    padding-left: 25px;
}
.bienvenidos {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 16px;
    margin-top: 0px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    padding: 10px;
}
h3 {
    background: rgb(164, 178, 139);
    color: #394a16;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 30px;
    text-align: center;
    margin-top: 50px;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 10px;
    padding: 3px;
    border-radius: 5px;
}
h4 {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #394a16;
    margin-top: 50px;
    margin-left: 20px;
    margin-right: 20px;
    background: rgb(164, 178, 139);
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
    
}

.ayudanos {
    margin-left: 33%;
    background: linear-gradient(1deg, rgba(155,167,131,1) 0%, rgb(203, 247, 231) 100%);
    border: 1px solid #fff;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    border-radius: 50px;
    color: #1c590a;
    text-align: center;
  
   
     

}

 .comollegar {
     justify-content: center;
     text-align: center;
     width: 100%;
      }

.contactanos {
    display: flex; 
    
}

.contactanos img {
    
    max-width: 100%;
    height: 3em;
}

.contactanos  {
    
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 1em;
    padding-top: 1em;
    margin: 1em;
    }
    
     
footer {
    background-color:#9ba783;
    color: whitesmoke;
    padding: 10px;
    font-size: 0.7rem;
    font-family: 'Lora', serif;
    font-weight: 500;
    
        }
