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

body {
  font-family: "montserrat", "trebuchet ms", helvetica, arial, sans-serif;
  width: 100%;
  padding: 0px;
  margin: 0px;
  background-color: #e8e8e8;
  font-family: "trebuchet ms", helvetica, sans-serif;
}



.fondoescuela{
    background-image: url("../imagenes/plantas.png");
    background-repeat: no-repeat;
    background-size: 110vw;
    background-position: 80% 100%; 
    background-repeat: repeat-y;
}


#logo {
    display: block;
    width: 5em;
}

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

ul {
    list-style: none;
}

header{
    background-color: #3e3e3e;
}


.material-icons {
    padding-right: .25em;
}

h3,
h4,
.subir {
    display: flex;
    align-items: center;
}


.contenedor {
    max-width: 60rem;
    margin: 0 auto;
    padding: 1em;
}

header .contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav {
    color: white;
}

header nav a {
    color: #e8e8e8;
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav a:hover {
    background-color: #07e096;
    color: #4a4756;
}



#llamamenu {
    background-color: #07e096;
    color: white;
    cursor: pointer;
    height: 2.5em;
    width: 2.5em;
    display: flex;
    position: relative;
    z-index: 9999;
    border-radius: 100%;    
}

#llamamenu:hover {
    background-color: #07e096;
}

#llamamenu i { 
    padding: 0;
    /* centrado en la horizontal y en la vertical */
    margin: auto;
}

header nav ul {
    background-color: #3e3e3e;
    position: fixed;
    left: 100%;
    top: 0;
    height: 45vh;
    width: 50%;
    z-index: 9990;
    padding-top: 5em;
    transition: all .5s ease;
}

.visible {
    left: 50%;
    transition: all .25s ease;
}

.imagen_principal {
    max-width: 100%;
    height: auto;
}


.titulo {
    display: flex;
    color: #04d924;
    font-weight: 900;
    font-size: 28pt;
    margin-bottom: 10px;
    text-align: left;
    align-items: center;
    justify-content: center;
}



.contenedor_subtitulo {
    display: block;
    text-align: left;
    width: 80vw;
    margin: auto;
    border-bottom: solid 2px #04d924;
    padding-bottom: 20px;
    padding-top: 40px;
}

.subtitulo { 
	font-weight: 300;
    letter-spacing: 1px;
    color: #04d924;
    text-align: left;
}

.contenedor_texto {
    width: 80vw;
    font-size: 1em;
    justify-content: center;
    margin: auto;
    margin-bottom: 20px;
}

.contenedor_texto p {
    text-align: center;
    margin-top: 20px;
    justify-items: left;
    text-align: left;

}

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


.noticias {
    padding-bottom: 1em;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.noticias {
     width: 100%;
    
}
.noticias figure {
    width: 80vmin;
    margin-bottom: .5em;
    position: relative;
    overflow: hidden;
}

.noticias img {
    object-fit: cover;
    object-position: left center;
    width: 80vmin;
    height: 80vmin;
    display: block;
}

.noticias figcaption {
    background-color: #4a4756;
    color: #e8e8e8;
    padding: .5em;
    line-height: 1em;
    text-transform: uppercase;
    font-weight: 700;
    position: absolute;
    width: 100%;
    height: 100%;
    top: calc( 100% - 2em );
    
    transition: all .6s ease-out;
}
.noticias figure:hover figcaption {
    background-color: rgba(0,60,60,.5);
    top: 0;
    transition: all .2s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.noticias figcaption span {
    display: block;
    font-size: .75em;
    color: #ddd;
    margin-top: .5em;
    text-transform: none;
}

.videoresponsive {
    display: flex;
    position: relative;
    margin: 0 auto;
    height: 0;
    padding-bottom: 56.25%
}
 
.videoresponsive iframe{
    position: absolute;
    height: 100%;
    width: 80vw;
    top: 0px;
    left: 10vw;
    
}

.mapa {
    display: flex;
    justify-content: center;
}

.mapa iframe {
    width: 80vw;
}

form {
  margin: 0 auto;
  width: 80vw;
  padding: 1em;
  border: 1px solid #04d924;
  border-radius: 1em;
    margin-top: 2em;
    max-width: 400px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

form li + li {
  margin-top: 1em;
}

label {
  display: inline-block;
  text-align: right;
  color: #04d924;
    font-family: sans-serif;
    font-size: 1.10em;
}

input, 
textarea {
  font: 1em sans-serif;
  width: 100%;
  height: 2em;
  box-sizing: border-box;
  border: 1px solid #e8e8e8;
}

input:focus, 
textarea:focus {
    border-color: #04d924;
}

textarea {
  vertical-align: top;
  height: 7em;
}

.button{
    display: flex;
    justify-content: flex-end;
}
.boton {

  background-color: #07e096;
  color: #e8e8e8;
  font-family: sans-serif;
  font-size: 1.10em;
  background-color: #07e096;
  width: 6em;
  height: 2.5em;
  text-align: center;
  display: inline-block;
  border-radius: 20px;
  text-decoration: none;

}

.inscripciones {
    display:flex;
    justify-content: center;
    margin: auto;
    padding-bottom: 3em;

}

.inscrpciones ul{ 
   list-style: none;

}


.c1 {
    background-color: #4a4756;
    color: #e8e8e8;
    text-decoration: none;    
    display: flex;
    font-size: 90%;
    border-radius: 5px;
    justify-content: space-around;
    
}



.inscripciones ul li ul {
    width: 300px;
    height: 4.5em;
    color: #e8e8e8;
    text-decoration: none;
    font-weight: bold;    
    border-radius: 5px;  
    display: flex;
    margin: auto;
    margin-top: 1.5em;
}

.inscripciones ul li ul li{
    display: flex;
    font-size: 110%;
    align-items: center;
    padding-right: 0.2em; 
    

}
        
.i1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 65%; 
}

.atencion{
    color: lightblue;
    text-decoration: none;
}
.invisible{
    display: none;
}

.invisible:target {
  background-color: rgba(0, 0, 0, 0.95);
  color: #e8e8e8;
  font-size: 1.2em;
  position: fixed;
  top: 6em;
  left: 1em;
  right: 1em;
  bottom: 4em;
  padding: 1em;
  text-align: left;
  display: flex;
    flex-direction: column;
  align-items: center;
}
.cerrar{
    color: red;
    text-decoration: none;
    font-size: 1.5em;
    padding-top: 2em;
    
}
.i2{
    height: 50%;
    padding: 0 .5em;
    background-color: #07e096;
    border-radius: 5px;
    display: flex;
    align-items: center;
}
.i2 a{
    text-decoration: none;
    color: #4a4756;
}

.extra {
   color:red;
    font-size:1em;
}






.c1_negro {
    background-color: #e8e8e8;
    color: #4a4756;
    text-decoration: none;    
    display: flex;   
    font-size: 90%;
    border-radius: 5px;
    justify-content: space-around;
}

.c1_negro {
    width: 80%;
    height: 4.5em;
    color: #4a4756;
    text-decoration: none;
    font-weight: bold;    
    border-radius: 5px;  
    display: flex;
    margin: auto;
    margin-top: 1.5em;
}
    
.i1_negro{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 65%; 
    color: #4a4756;
}

.i2_negro{
    height: 50%;
    padding: 0 .5em;
    background-color: #07e096;
    border-radius: 5px;
    display: flex;
    align-items: center;
}
.i2_negro a{
    text-decoration: none;
    color: #4a4756;
}


.atencion_negro{
    color: darkblue;
    text-decoration: none;
}







footer{
    background: #07e096;
    padding-bottom: 5px;
}

.contenidos {
    display: flex;
    justify-content: center;
    font-weight: 100;
    align-content: center;
    text-align: center;
    font-size: 0.6em;
    color: #4a4756;  
    margin: 0 auto;
    margin-bottom: 15px;
    width: 80vw;

}

.info {
    font-weight: 100;
    align-items: center;
    text-align: center;
    font-size: 0.6em;
    margin-top: 20px;
    padding-top: 20px;
}





.gris {
    background-color: #4a4756;
}

.verde{
  background-color: #07e096;  
}

.contenedor_texto_gris {
    color: #e8e8e8;
    width: 80vw;
    font-size: 1em;
    justify-content: center;
    margin: auto;
    margin-bottom: 20px;
}

.contenedor_texto_gris p {
    text-align: center;
    margin-top: 20px;
    justify-items: left;
    text-align: left;

}


@media (min-width: 39em) {
    
    #llamamenu {
        display: none;
    }
    
    /* se muestran el menu horizontal */
    header nav ul {
        display: flex;
        flex-wrap: nowrap;
        
        /* para que el menú vuelva al "fondo" */
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        width: 100%;
        padding-top: 0;
        
    }
    
    header nav ul.visible {
        left: auto;
    }

}

.fondoescuela{
    background-image: url("../imagenes/plantas.png");
    background-size: 90vw;
    background-position: 50% 25%; 
    background-repeat: repeat-y;
 }




@media (min-width: 39em) {
    
    .noticias{
        width: 100vw;
    }
    .noticias figure {
        width: 45vmin;
        margin: .5em
    }
    
    .noticias figure img {
        height: 45vmin;
        width: 45vmin;
    }
    
    .noticias figure:hover figcaption {
        top: 0;
        transition: all .5s ease-in;
    }
    



    
@media (min-width: 50em) {
    .noticias    {
        margin-bottom: 2em;
    }
    .noticias figure {
        margin: .5em
    }
    
    .inscripciones{
        width: 60vw;
        margin: auto;
        margin-right:15vw


    }
.inscripciones ul li{
    display: inline-flex;
    margin: 5px;
}
    .invisible:target {
        top: 6em;
  left: 10em;
  right: 10em;
  bottom: 6em;
  padding: 1em;
        
    }
    @media (min-width: 64.5em) { 
    
footer{
    position:relative;
    width: 100%;
    bottom: 0;
    }
.footer_cerrera{
    position:absolute;
    width: 100%;
    }
}
@media (min-width: 75em) {
    .noticias {
        margin-top: 3em;
        margin-bottom: 2em;
    }
.fondoescuela{
    background-image: url("../imagenes/plantas.png");
    background-size: 97vw;
    background-position: 70% 25%; 
    background-repeat: repeat-y;
 }
.contenedor_subtitulo{
    max-width: 68vw;
}
    .contenedor_texto{
    max-width: 68vw; 
  }
    
    .contenedor_texto_gris{
    max-width: 68vw; 
  }
.videoresponsive iframe{
    max-width: 71vw;
    left: 14.5%;}
    
    .contenidos{
        width: 73vw;
    }
.mapa iframe {
    width: 68vw;
    }
.c1{
 display: inline;
 }
    }