* {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'PT Sans Narrow', sans-serif;
    text-decoration: none;
    
}

#contenedor {
    display: flex;
    flex-direction: column;
    background-image: url(imagenes/fondoban.jpg);
}

.icono {
    width: 32px;
	height: 32px;
    margin: 1em;
}



header{
    background-color: black;
}

#logo{
    background-color: #5cd5b4;
    height:4em;
    text-align: center;
}
.inicio{
    background-color: darkslategrey;
    width: 100%;
}
.novedades {
    background-color: #51619d;
}
.talleres{
    background-color: #95bcd7;
}

.proyectos{
    background-color: #45acad;
}

.calendario{
    background-color: #229b5a;
}

#cabeza {
    max-width: 30em;
    margin: auto;
    height: 4rem;
    font-size: 0.8rem;
    display:flex;
    color: white;
    justify-content:space-between; 
    align-items: center;
}

main {
    background-color: darkgrey;
    max-width: 30em;
    align-self: center;
}

#slider {
    max-width: 30em;
    height: 15em;
    background-color: black;
    background-image: url(imagenes/slideapp.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}


footer {
    background-color:rgb(235, 235, 235);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

#redes {
    margin: 1em;
}

#final {
    max-width: 30em;
    margin: auto;
    text-align: center;
}

#obligatorio {
    margin: 2em;
}

hr {
    background-color: black;
    height: 2px;
    width: 100%;
}

.principal {
    font-size: 2em;
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;    
}

.principal a {
    color: white;
    text-align: center;
}

.principal a svg {
    width: 60px;
	height: 60px;
}

.elemento {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 50%;
}

.item1 {
    background-image: url(imagenes/1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 1.2em;
}

.item2 {
    background-image: url(imagenes/2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 1.2em;
}

.item3 {
    background-image: url(imagenes/3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 1.2em;
}

.item4 {
    background-image: url(imagenes/4.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 1.2em;
}

#botonera li {
    display: inline-flex;
    margin: 0.5em;
}

#pantallamenu a {
    color: white;
    line-height: 5rem;
    margin: 3rem;
}

#pantallamenu {
    width: 30rem;
    background-color: black;
    list-style: none;
    font-size: 2em;
}

#cerrarmenu {
    width: 60%;
}

#elefante {
   
    max-width: 30em;
    align-self: center;
    margin: auto;
    padding: 2rem;
    
}

#jirafa {
   
    max-width: 30em;
    align-self: center;
    margin: auto;
    padding: 2rem;
    padding-top: 0;  
}


.proyectodeconvivencia{
        font-size: 1em;
    background-image: url(imagenes/convivencia.jpg);
    height: 175px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    align-content: flex-end;
    font-size: 1.2em;
    align-self: center;
    border-top: 2px;
    border-top: solid;
    border-color:dimgrey;
}

.proyectodeconvivencia h9{
    background: rgba(71, 174, 173, 0.7);  
    font-size: 2em;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:123px;
    width: 25.9rem;
    max-width: 30rem;
}

.redbarrial{
        font-size: 1em;
    background-image: url(imagenes/redbarrial.gif);
    height: 175px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    align-content: flex-end;
    font-size: 1.2em;
    align-self: center;
    border-top: 2px;
    border-top: solid;
    border-color:dimgrey;
}

.redbarrial h9{
    background: rgba(71, 174, 173, 0.7);  
    font-size: 2em;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:123px;
    width: 25.9rem;
    max-width: 30rem;
    
}

.revista{
        font-size: 1em;
    background-image: url(imagenes/cronicas.jpg);
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    align-content: flex-end;
    font-size: 1.2em;
    align-self: center;
    border-top: 2px;
    border-top: solid;
    border-color:dimgrey;
}

.revista h9{
    margin-top: 62px;
}

.altoguiso{
    font-size: 1em;
    background-image: url(imagenes/guisin.jpg);
    height: 100px;
     background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    align-content: flex-end;
    font-size: 1.2em;
    align-self: center;
     border-top: 2px;
    border-top: solid;
    border-color:dimgrey;
}

.altoguiso h9{
    margin-top: 61px;
}

.contadorparticipantes{
    background: rgb(51, 153, 130);  
    font-size: 0.2em;
    height: 40px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    align-content: flex-end;
    font-size: 1.2em;
    align-self: center;
    border-top: 2px;
    border-top: solid;
    border-bottom: 2px;
    border-bottom-style: solid;
    border-color:dimgrey;
}

.contadorparticipantes h9{
    margin-top: 5px;
    font-size: 1em;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25.9rem;
    max-width: 30rem;
    background: rgba(177, 177, 177, 0);

}


.matematica{
    font-size: 1em;
    background-color: darkgrey;
    height: 50px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    align-content: flex-end;
    font-size: 1.2em;
    align-self: center;
    border-bottom: 2px;
    border-bottom-style: solid;
    border-top: 2px;
    border-top: solid;
    border-color:dimgrey;
    
}

.proyectodeteatro{
    font-size: 1em;
    height: 50px;
    background-color: darkgrey;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    align-content: flex-end;
    font-size: 1.2em;
    align-self: center;
    border-bottom: 2px;
    border-bottom-style: solid;
    border-color:dimgrey;
}

.matematica h9{
    margin-top: 2px;
}

.proyectodeteatro h9{
    margin-top: 2px;
}

h9{
    background: rgba(177, 177, 177, 0.7);
    font-size: 1.5em;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:112px;
    width: 25.9rem;
    max-width: 30rem;
    
}
    
.calendario1 {  
    align-self: center;
    }

.juan {
    font-size: 1em;
    background-image: url(imagenes/guinot.jpg);
    height: 234px;
    width: 412px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    align-content: flex-end;
    font-size: 0,5rem;
    align-self:center;
}

.feria {
    font-size: 1em;
    background-image: url(imagenes/feria.jpg);
    height: 234px;
    width: 412px;
    background-size:auto;
    background-repeat: no-repeat;
    background-position: center;
    align-content: flex-end;
    font-size: 0,5rem;
    align-self:center;
}

.cierre {
    font-size: 1em;
    background-image: url(imagenes/cierre.jpg);
    height: 234px;
    width: 412px;
    background-size: contain;
    background-repeat: repeat;
    background-position: bottom;
    align-content: flex-end;
    font-size: 0,5rem;
    align-self:center;
}

    

    
#cierre {
    max-width: 30em;
    align-self: center;
    margin: 2rem;
    padding: 2rem;
    }



#cierre1 {
   
    max-width: 30em;
    align-self: center;
    margin: 2rem;
    padding: 2rem;
    padding-top: 0;
    }

#cierre2 {
   
    max-width: 30em;
    align-self: center;
    margin: auto;
    padding: 2rem;
    padding-top: 0;
    }
    
.musica {
    font-size: 1em;
    background-image: url(imagenes/tmusica.jpg);
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    align-content: flex-end;
    
    align-self:center;
}

.juego {
    font-size: 1em;
    background-image: url(imagenes/tdibujo.jpg);
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    align-content: flex-end;
    font-size: 0,5rem;
    align-self:center;
}

.lectura {
    font-size: 1em;
    background-image: url(imagenes/tlectura.jpg);
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    align-content: flex-end;
    font-size: 0,5rem;
    align-self:center;
}


#juego1 {
   
    max-width: 30em;
    align-self: center;
    margin: 2rem;
    padding: 2rem;
    padding-top: 0;
    }



h10{
    background: rgba(0, 0, 0, 0.0); 
    font-size: 1.5em;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:185px;
    width: 25.9rem;
    max-width: 30rem;
    
}

h11{
    background: rgba(47, 79, 79, 1); 
    font-size: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:px;
    width: 25.9rem;
    max-width: 40rem;
    
    
}

h12{
    background: rgba(177, 177, 177, 0.7); 
    font-size: 1.5em;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:203px;
   width: 25.8rem;
    max-width: 30rem;
}

.pantigua{
    background: rgba(177, 177, 177, 0.7); 
    font-size: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    margin-top:0px;
    width: 25.9rem;
    max-width: 40rem;
    
    
}

.inscripcion {
    background: rgba(177, 177, 177, 0.7); 
    font-size: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    margin-top:0px;
    width: 25.9rem;
    max-width: 40rem;
    
    
}

#calendario {   
    max-width: 30em;
    align-self: center;
    }