html {
    background: #4aa917;
}

body {
    background: #FAFAFA;
    background-image: url('../imagenes/background_texture_experiment_b_and_white.png');
    font-family: 'Poppins', sans-serif;
    color: #333;
}

header {
    background-color: #4AA918;
    position: fixed;
    width: 100%;
    flex-flow: wrap row;
    /* border-bottom: 1px solid #c3c3c3;*/
    z-index: 100;
}

a {
  color: #4aa917;
}

section, .quote {
  max-width: 860px;
  margin: auto;
}

.quote {
  padding: 2em 1em;
}

.quote_text {
  position: relative;
  font-family: serif;
  font-size: 1.2em;
  line-height: 1.2em;
  border-left: solid #4aa917 10px;
  padding-left: 1em;
  margin: 0;
}

.quote_author {
  font-family: sans-serif;
  font-size: 0.8em;
  font-weight: 700;
  color: #4aa917;
}

.quote_author:before {
  content: '\2015';  
}
.quote_author:after {
  content: '\201D';
  position: absolute;
  top: 0.28em;
  right: 0;
  font-size: 6em;
  font-style: italic;
  color: orange;
  border: solid red 2px;
  z-index: -1;
}

.margen {
    margin: auto;
    height: 100px;
}

#nav-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /*alinea en el eje Y*/
    align-items: center;
    padding: 5px 30px;
}

#nav-flex label {
    display: none;
}

#nav-flex input {
    display: none;
}

.logo {
    display: flex;
    flex-wrap: wrap;
    width: 50px;
}

#menu a {
    font-size: 16px;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
}

#menu a:hover {
    background-color: white;
    color: #57A900;
    text-decoration: none;
    transition: 0.5s ease;
}

/* menu state to show what page you're on */
#inicio #menu .inicio,
#educacion #menu .educacion,
#nuestroenfoque #menu .nuestroenfoque,
#nosotros #menu .nosotros,
#educacion #menu .educacion {
  text-decoration: underline;
}


.headroom {
    transition: transform .4s ease;
}

.headroom--pinned {
    transform: translateY(0%);
}

.headroom--unpinned {
    transform: translateY(-100%)
}

.logo .btn-menu {
    display: none;
    color: white;
    text-decoration: none;
}

/* index/home page */
#introduction {
  display: flex;
}

#intro_text h1 {
  margin-top: 0;
}

#video1 {
  width: 50%;
  margin-right: 1rem;
  padding: 0.5em;
  border-radius: 0.25em;
  display: flex;
  align-items: center;
}

#video1 video {
  width: 100%;
}

#intro_text {
  width: 50%;
}

#intro_programs ul{
  list-style: none;
  display: flex;
  padding-left: 0;
  text-align: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

#intro_programs .program {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  box-model: border-box;
  flex-grow: 1;
  flex-basis: 0;
  min-width: 120px;
  max-width: 120px;
  margin: auto;
}

#intro_programs .program_image {
  border-radius: 100%;
  width: 100%;
  border: solid white 5px;
  box-shadow: 1px 1px 6px black;
  opacity: 0.85;
}
#intro_programs .program:hover .program_image {
  box-shadow: 2px 2px 9px black;
  opacity: 1;
}
#intro_programs .program:hover .program_title {
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.15);
}

#intro_programs .program_title {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.2em;
  font-weight: 600;
}

@media screen and (max-width: 800px) {
  section, .quote {
    max-width: 80%;
    margin: auto;
  }
}
@media screen and (max-width: 650px) {
  #introduction {
    display: block;
  }

  #video1,
  #intro_text {
    width: auto;
  }
}

/* end index/home page */

.nombres {
    flex-direction: row;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    height: 150px;
    justify-content: center;
    align-items: stretch;
}

.nombres2 {
    display: flex;
    flex-direction: row;
    margin: auto;
    height: 80px;
    padding: 30px;
    justify-content: center;
    align-items: center;
}

.libros {
    display: flex;
    width: 320px;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.nombres img {
    width: 250px;
}

.nombres img:hover {
    opacity: .5;
}

.foot {
    display: flex;
    max-width: 100%;
    height: 200px;
    background-color: #4AA918;
}

.foot h6 {
    font-weight: lighter;
}

.enlacess {
    margin: auto;
    width: 50%;
    max-width: 90px;
    flex-direction: column;
    color: white;
    padding: 20px;
}

#redes a {
    display: flex;
    color: white;
    text-decoration: none;
    font-size: 11px;
    justify-content: space-between;
}

#redes {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#redes img {
    width: 30px;
    height: 30px;
}

#contacto h3 {
  font-size: 36px;
  margin-bottom: 10px;
  margin-top: 0;
}

#contacto {
    margin: auto;
    width: 50%;
    font-size: 11px;
    color: white;
    font-family: 'Poppins', sans-serif;
}

#contactos {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    flex-direction: column;
    text-align: left;
}

#contactos a {
    text-decoration: none;
    color: white;
    margin: 5px 0;
}

#contacto .h6 {
    display: flex;
    font-size: 11px;
    justify-content: flex-start;
    align-items: center;
    padding: 0px;
    margin: 5px 0;
}

.textoinde {
    max-width: 800px;
    margin: auto;
    font-family: "poppins", sans-serif;
    text-align: justify;
}

.textoinde h1 {
    text-align: center;
    margin: 0;
    font-size: 36px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 300;
}

#verde {
    height: 100px;
    background-color: #4AA918;
}

#pleca {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 97%;
    height: 50px;
    opacity: .4;
}

.infocuentos {
    max-width: 900px;
    padding: 10px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.infocuentos p {
    width: 266px;
    font-family: "poppins", sans-serif;
    text-align: left;
    font-size: 14px;
    color: gray;
}

/* Educacion Page */
.carrusel {
  max-width: 860px;
  margin: auto;
}

.slider img {
  width: 100%;
}

#our_programs .programs {
  list-style: none;
  padding-left: 0;
}

#our_programs .program {
  display: flex;
  margin: 1em 0;
  padding: 0.5em;
  background: #FAFAFA;
  border-radius: 4px;
}

#our_programs .program_image {
  height: 150px;
  padding: 0.5em;
  border-radius: 4px;
}

.program_overview h3 {
  color: #4aa917;
}

/* end Educacion Page */

/* Nuestroenfoque pages */

.full_page_link {
  height: 100%;
  position: relative;
  width: 100%;
}
.full_page_link span {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
}

/* diversidad page */
.diversidad_map {
  width: 100%;
}

/* ecopeda page */
.ecopedia_section {
  display: flex;
}
.ecopedia_section.reverse .ecopdia_image_holder{
  order: 2;
}
.reverse .ecopedia_text p {
  padding-left: 0em;
  padding-right: 2em;
}
.ecopedia_text {
  flex: 1;
}
.ecopedia_text p {
  padding-left: 2em;
}
.ecopdia_image {
  width: 300px;
  height: 300px;
  padding-right: 2em;
}

@media screen and (max-width: 800px) {
  .ecopdia_image {
    width: 200px;
    height: 200px;
    padding-right: 2em;
  }
}
.ecopdia_image_holder,
.ecopedia_text {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 650px) {
  .ecopedia_section {
    display: block;
  }
  .ecopedia_text p,
  .ecopdia_image {
    padding-left: 0;
    padding-right: 0;
  }
}

/* end Nuestroenfoque pages */

/* cuentos/tienda page*/
.cuentos {
  display: flex;
  margin: auto;
  max-width: 900px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.cuentos img {
  width: 50%;
  height: 50%;
  padding: 0px;
}

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

.masinfo a {
  text-decoration: underline;
  color: #57A900;
}

@media screen and (max-width: 800px) {
  .cuentos img {
    width: 400px;
  }
}
/* cuentos/tienda page*/
@media screen and (max-width: 800px) {
    header {
        margin: auto;
        max-width: 100%;
        flex-direction: column;
        height: 120px;
    }
    #nav-flex {
        flex-wrap: wrap column;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 10px 70px;
    }
    .logo {
        flex-direction: wrap column;
        justify-content: center;
        width: 30px;
    }
    #menu {
        display: none;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        align-content: center;
        width: 100%;
    }
    #nav-flex label {
        display: block;
        color: white;
    }
    #nav-flex input[type=checkbox]:checked~#menu {
        display: flex;
        flex-direction: wrap column;
        justify-content: center;
        align-content: center;
        align-items: center;
        padding: 10px 10px;
    }
    #menu a {
        font-family: "poppins", sans-serif;
        font-size: 8px;
        color: white;
        text-decoration: none;
        width: 100%;
        justify-content: center;
        align-content: stretch;
        align-items: center;
    }
    #menu a:hover {
        font-size: 8px;
        color: white;
        background-color: #28a828;
        text-decoration: none;
        transition: none;
    }
    .textoinde {
        margin: auto;
        max-width: 300px;
    }
    #verde {
        max-width: 100%;
        height: 100px;
        background-color: #28a828;
    }
    foot {
        display: flex;
        width: 100%;
        height: 200px;
        background-color: #28a828;
        justify-content: space-around;
    }
    .foot h6 {
        font-weight: lighter;
    }
    .enlacess {
        margin: auto;
        width: 80%;
        flex-direction: row;
        color: white;
        padding: 10px;
    }
    .enlacess a {
        display: flex;
        color: white;
        text-decoration: none;
        font-size: 9px;
    }
    #contacto {
        margin: auto;
        width: 50%;
        font-size: 9px;
        color: white;
        font-family: 'Poppins', sans-serif;
        padding: 9px;
        flex-wrap: wrap;
    }
    #contacto h6 {
        display: flex;
        font-size: 9px;
        justify-content: flex-start;
        align-items: center;
    }
    #contacto h1 {
        font-size: 13px
    }
    #contactos {
        width: 45%;
        padding: 7px
    }
    .acciones {
        max-width: 100%;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .cuadros {
        width: 333.33px;
        padding: 30px;
        height: 200px;
    }
    .cuadros h2 {
        margin: auto;
        display: flex;
        justify-content: center;
    }
    .cuadros img {
        width: 50px
    }
    #redes a {
        display: flex;
        color: white;
        text-decoration: none;
        font-size: 11px;
        justify-content: space-between;
    }
    #redes {
        display: flex;
        width: 150px;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    #redes img {
        width: 20px;
        height: 20px;
    }
    .nombres {
        flex-direction: row;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        height: 150px;
        padding: 30px;
        justify-content: space-between;
        align-items: center;
    }
    #libros {
        display: flex;
        width: 100px;
        justify-content: center;
        align-content: center;
        align-items: center;
    }
    .nombres img {
        width: 100px;
    }
    .infocuentos {
        max-width: 900px;
        padding: 10px;
        margin: auto;
        display: flex;
        justify-content: space-between;
    }
    .infocuentos h6 {
        width: 266px;
        font-family: "poppins", sans-serif;
        text-align: center;
        font-size: 10px;
        color: gray;
        padding: 10px;
    }
    .nombres img:hover {
        opacity: 1;
    }
    .carrusel {
        max-width: 100%;
        margin: auto;
    }
}
