header {
    top: 0;
    width: 100%;
    position: fixed;
    background-image: linear-gradient(to bottom, #9fbf9a, #cbe3c7);
    /* Gradiente lineal de color de oscuro a claro */
    color: #fff;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    
}

.main-content{
    margin-top: 3.8%;
}


.introduccion,
.quienes-somos,
.familia,
.knowledge,
.footer,
.tarjeta,
.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-family: 'Varela Round', sans-serif;
}

.registro {
    font-family: 'Varela Round', sans-serif;
    list-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

/* Logo página main */

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-family: 'Preahvihear', sans-serif;
    font-family: 'Raleway', sans-serif;
    margin-left: 5%;
}


/* ------------------------------------------------------------------------- */

.navigation {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
}

.navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    /*margin-left: 10px; /* Ajusta las subsecciones a la derecha*/
}

.navigation li {
    display: inline-block;
    margin-right: 30px;
    position: relative;
    color: #fff;
    font-family: 'Preahvihear', sans-serif;
    font-family: 'Raleway', sans-serif;
    font-weight: bolder;
    
}

.navigation a {
    text-decoration: none;
    color: #fff;
    font-family: 'Varela Round', sans-serif;
    font-family: 'Raleway', sans-serif;
}

.navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #a4c39f;
    list-style: none;
}

.navigation li:hover ul {
    display: block;
}

.navigation ul ul li {
    padding: 10px;
    
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input[type="text"] {
    padding: 5px;
    border: none;
    border-radius: 5px;
    margin-left: 30px;
    margin-right: 10px;
}

/* ---------------------INTRODUCCION - INDEX.HTML------------------------ */

.introduccion {
    background: #FEF6E4;
    display: flex;
    justify-content: center;
}

.columna1 {
    margin-top: 270px;
    margin-left: -100px;
    font-size: 1.1em;
    text-shadow: 5px 5px 5px black;
    color: #fff;
    font-family: 'Varela Round', sans-serif;
    font-weight: 600;
}

.noticias-info {
    position: absolute;
    top: -46%;
    left: 30%;
    transform: translateX(-50%) translateY(-40%);
}

.noticias-info-title {
    margin-top: -24%;
    margin-left: 140px;
    font-size: 2em;
    text-shadow: 5px 5px 5px black;
    color: #fff;
    font-family: 'Varela Round', sans-serif;
    font-weight: 600;
}

/* ---------------------------INTRODUCCION BOTONES - INDEX.HTML--------------------- */

.button1 {
    border-radius: 15px;
    padding: 12px 15px;
    margin-top: 200%;
    margin-left: 120px;
    color: black;
    background: #cbe3c7;
    font-family: 'Varela Round', sans-serif;
}

p {
    position: relative;
    bottom: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
}

/*---------------QUIENES SOMOS--------------*/
.titulo2 {
    margin-top: 0%;
    font-size: 2.5em;
    color: rgba(15, 15, 15, 0.87);
    font-family: 'Preahvihear', sans-serif;
    font-weight: 600;
}

.equipo {
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #fefae0;
}

.contenedor2 {
    display: inline-block;
    margin: 40px;
}

.contenedor2 figure {
    position: relative;
    height: 200px;
    width: 200px;
    overflow: hidden;
    border-radius: 100px;
    box-shadow: 0px 5px 25px rgb(138, 133, 133);
    cursor: pointer;
}

.contenedor2 figure img {
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
}

.contenedor2 figure .capa {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    transition: all 500ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    line-height: 200px;
    font-size: 1.5rem;
    color: white;
}

.contenedor2 figure:hover>.capa {
    opacity: 1;
    visibility: visible;
}

.contenedor2 .capa a {
    text-decoration: none;
    color: white;
}

.quienesSomos{
    background-color: #FEFAE0;
    height: 756px;
}

/* >>>>>>NOSOTRAS<<<<<<<<<< */

.nosotras h2{ /* TITULO */
    position: relative;
    left: 45%;
    font-size: 50px;
    color: #000000;
    width: 14%;
    
}

.info-nosotras p{ /* TEXTO */
    top: 30px;
    color: black;
    background-color: #FEFAE0;
    width: 65%;
    text-align: center;
    left: 19.4%;
    font-size: 20px;
    font-family: 'Varela Round', sans-serif;
}


/* >>>>>>>>>MISION<<<<<<<<<<<< */

.mision h2{ /* TITULO */
    position: absolute;
    bottom: 140px;
    left: 9%;
    margin-top: 100px;
    font-size: 40px;
    color: #000000;
    width: 20%;
    
}
.mision p{ /* TEXTO */
    position: relative;
    top: 298px;
    left: 3%;
    width: 32%;
    text-align: center;
    color: black;
    background-color: #FEFAE0;
    font-size: 20px;
    margin: 0;
    padding: 0;
}
 
.mision img{ /* IMAGEN */
    position: absolute;
    bottom: 200px;
    left: 15%;
}

/* >>>>>>>LEMA<<<<<<<< */

.lema h2{/* TITULO */
    position: absolute;
    bottom: 140px;
    left: 42%;
    font-size: 40px;
    color: #000000;
    width: 20%;
    
}
.lema p{ /* TEXTO */
    position: relative;
    top: 154px;
    left: 37%;
    width: 27.6%;
    text-align: center;
    color: black;
    background-color: #FEFAE0;
    font-size: 20px;
    padding: 0;

}

.lema img{ /* IMAGEN */
    position: absolute;
    bottom: 205px;
    left: 49%;
}

/* >>>>>>>>CONTACTARNOS<<<<<<<<<< */

.contactarnos h2{ /* TITULO */
    position: absolute;
    bottom: 140px;
    left: 69%;
    font-size: 40px;
    color: #000000; 
    width: 29%;
} 
.contactarnos p{ /* TEXTO */
    position: relative;
    top: 34px;
    left: 68%;
    width: 30%;
    text-align: center;
    color: black;
    background-color: #FEFAE0;
    font-size: 20px;
    padding: 0;
    margin: 0;
}

.contactarnos img{ /* IMAGEN */
    position: absolute;
    bottom: 205px;
    left: 79%;
}

.contactarnos a{
    color: rgb(101, 101, 248);
    cursor: pointer;
}
/*---------------FAMILIA--------------*/
.knowledge {
    /*Por si agregamos algun fondo, configurar para que se vea completo en la seccion*/
    /*background-image: url(/images/familia/background-imagenes.jpg);*/
    background: #fef6e4;
    overflow: hidden;
    font-family: 'Varela Round', sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    
}

.subtittle {
    text-align: center;
    margin: 10px;
    font-family: 'Varela Round', sans-serif;
    font-size: 2em;
    font-weight: 700;
}

.knowledge_container {
    display: grid;
    grid-template-columns: 1fr .5fr;
    gap: 1em;
    align-items: center;
}

.knowledge_picture {
    max-width: 500px;
}

.knowledge_paragraph {
    background-color: #fef6e4;
    color: black;
    font-family: 'Varela Round', sans-serif;
    line-height: 1.8;
    margin-bottom: 15px;
}

.paragraph {
    position: relative;
    bottom: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.knowledge_img {
    width: 100%;
    display: block;
}

.iconos {
    width: 40px;
    
}

/*--------CARRUSEL---*/

#carrusel-contenedor {
    
    .carousel-container {
        max-width: 80%;
        margin: 0 auto;
        padding: 20px;
        
    }

    .carousel-container p {
        position: relative;
        bottom: 0;
        padding: 10px;
        background-color: rgba(233, 217, 217, 0.6);
        color: #fff;
    }
    
    #slider .carousel-item img {
        max-width: 100%;
        height: auto;
    }
    
    #slider {
        /*max-width: 100%;*/
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .carousel-inner {
        max-width: 100%;
    }
    
    .carousel-item img {
        height: 800px;
        width: 800px;
    }

    .carousel-item img {
        width: 100%;
        height: auto;
    }
}

/* ---------------FOOTER------------------------- */
* {
    margin: 0;
    padding: 0;
}

.flexContainer {
    background-image: linear-gradient(to bottom, #9fbf9a, #cbe3c7);
    color: #fff;
    width: 100%;
    height: 130px;
    font-family: 'Preahvihear', sans-serif;
    font-size: small;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.logo {
    margin-top: 10px;
    margin-left: 20px;
    width: 20%;
    height: 70%;
    text-align: center;
    align-items: center;
}

a {
    text-decoration: none;
    color: #ffffff;
    margin-left: 10px;
    margin-top: 10px;
}

.contactos {
    width: 15%;
    height: 120px;
    margin-right: 50px;
    margin-top: 10px;
    text-shadow: 2px 1px 2px black;
}

.frase {
    margin-top: 40px;
    color: rgb(255, 255, 255);
    margin-right: 50px;
}

h3 {
    text-shadow: 2px 1px 2px black;
}

/* ---------TARJETA DE NOTICIAS------------ */

.tarjeta {
    display: flex;
    justify-content: space-around;
    margin-top: 500px;
}

/* -------------RESPONSIVE------------- */
@media (max-width: 960px) {

    .frase {
        margin-top: 40px;
        color: rgb(255, 255, 255);
        margin-right: 35px;
    }
}

/* -------------PREGUNTAS FRECUENTES (MICA)------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Varela Round', sans-serif;
}

.contenedor-acordeon {

    width: 100%;
    max-width: 800px;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 35px;
}

.contenedor-acordeon h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 35px;
}

.contenedor-acordeon p {
    background: #E3FAE0;
    color: #2e2e2e;
}

.acordeon {
    background: #E3FAE0;
}

.acordeon label {
    display: block;
    padding: 20px;
    font-size: 20px;
    /*Color de Fondo - Pregunta*/
    background: #FBB8AB;
    /*Color de Texto - Pregunta*/
    color: #2e2e2e;
    cursor: pointer;
    margin-bottom: 2px;
    transition: all 300ms ease;
}

.acordeon label:hover {
    /*Color al pasar el cursor - Pregunta*/
    background: #F6E3AA;
}

.acordeon .contenido-acordeon {
    padding: 0px;
    margin: 0px 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 300ms ease;
}

.btn-acordeon:checked~.contenido-acordeon {

    max-height: 600px;
    padding: 15px 0px;
}

.btn-acordeon {
    display: none;
}

/* -------------TARJETAS - Alternativa (MICA)------------- */
.tarjetas {
    background: #fef6e4;
    overflow: hidden;
    font-family: 'Varela Round', sans-serif;
    font-size: 1.3em;
    font-weight: 600;
}

.container-card {
    width: 100%;
    display: flex;
    max-width: 1100px;
    margin: auto;
}

.title-cards {
    width: 100%;
    max-width: 1080px;
    margin: auto;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    /*Texto - Titulo Encabezado Tarjetas*/
    color: #2e2e2e;
}

.card {
    width: 100%;
    margin: 20px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
    transition: all 400ms ease-out;
    cursor: default;
}

.card:hover {
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3%);
}

.card img {
    width: 100%;
    height: 210px;
}

.card .contenido-card {
    padding: 15px;
    text-align: center;
}

.card .contenido-card h3 {
    margin-bottom: 15px;
    /*Texto - Titulo de cada Tarjeta*/
    color: #7a7a7a;
}

.card .contenido-card p {
    line-height: 1.8;
    /*Fondo - Parrafo Tarjetas*/
    background: #F6E3AA;
    /*Texto - Parrafo Tarjetas*/
    color: #6a6a6a;
    font-size: 14px;
    margin-bottom: 5px;
}

.card .contenido-card a {
    display: inline-block;
    padding: 10px;
    margin-top: 10px;
    text-decoration: none;
    color: #2fb4cc;
    border: 1px solid #2fb4cc;
    border-radius: 4px;
    transition: all 400ms ease;
    margin-bottom: 5px;
}

.card .contenido-card a:hover {
    background: #2fb4cc;
    color: #fff;
}

@media only screen and (min-width:320px) and (max-width:768px) {
    .container-card {
        flex-wrap: wrap;
    }

    .card {
        margin: 15px;
    }
}

.registro {
    font-family: 'Varela Round', sans-serif;
}
/* ------------------ PÁGINAS APARTE -------------------------- */

/* LOGO */
.logoPag h1 {
    position: relative;
    left: 35%;
    bottom: 5px;
}

.bebe img {
    position: absolute;
    left: 1%;
    bottom: 15%;
}

/* FOOTER */

.flexContainerFooter {
    background-image: linear-gradient(to bottom, #9fbf9a, #cbe3c7);
    color: #fff;
    width: 100%;
    height: 130px;
    font-family: 'Preahvihear', sans-serif;
    font-size: medium;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: absolute;
    align-items: center;
}

.fraseFooter h3 {
    color: rgb(255, 255, 255);
    margin-right: 50px;
    text-shadow: 2px 1px 2px black;
    font-size: 25px;
}

.contactosFooter{
    width: 15%;
    height: 120px;
    margin-right: 50px;
    margin-top: 10px;
    text-shadow: 2px 1px 2px black;
}

.contactosFooter h2{
    font-size: 32px;
}

.contactosFooter img{
    position: relative;
    top: 10px;
}

/* MAIN */
.contenedor-main{
    margin-top: 3.4%;
}



/* ------------------------- EMBARAZO ------------------------ */
