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

html {
    font-size: 62.5%;
}

body {  
    margin: 0; /* Asegúrate de no tener margen en el body */
    padding: 0; /* Asegúrate de no tener padding en el body */
    overflow-x: hidden; /* Para evitar cualquier desplazamiento horizontal */
}

a {
    text-decoration: none;
    color: black;
}

h4 {
    font-size: 1.2rem;
}

/* empieza el estilo del encabezado */
.header {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.header .header-section-redes {
    width: 100%;
    height: 30px;
    display: grid;
    background-color: #E0F2F1;
}

.header .header-section-redes .redes {
    width: 100px;
    height: auto;
    display: flex;
    justify-items:flex-end;
    align-items: center;
    justify-content: space-between;
    justify-self: end;
    background-color: #E0F2F1;
    margin-right: 20px;
}


.header-section-redes .redes img {
    width: 20px;
    height: 20px;
}

/* EFECTOS HOVER */
/* Efectos para los íconos de redes sociales */
.header-section-redes .redes img:hover {
    transform: scale(1.2); /* Aumenta el tamaño del icono */
    transition: transform 0.3s ease-in-out; /* Añade una transición suave */
    filter: brightness(1.2); /* Aumenta el brillo del icono */
}

/* Estilo barra de navegación */
.header-nav {
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, #eeeeee, #ffffff); /* Gradiente de gris a blanco */
    text-align: center;
}

/* Contenedor de los elementos de navegación */
.header-nav-items {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 80%;
}

/* Estilo de los enlaces */
.header-nav-items a {
    padding: 0 15px;
    text-decoration: none;
    color: black;
    font-size: 1rem;
}

/* Estilo del logo */
.header-nav-items .home {
    width: 15px;
    height: 15px;
}

/* HOVER ESTILO BARRA DE NAVEGACION */
/* Efectos para el nav */
.header-nav:hover {
    border: 0.1px solid #96231e;
    box-shadow: 2px 2px 2px #8cb0ae;
    transform: scale(1.01); /* Aumenta ligeramente el tamaño del nav */
    transition: transform 0.3s ease-in-out; /* Añade una transición suave */
}

/* Efectos adicionales para los enlaces de la lista de navegación */
.header-nav .header-nav-items a:hover {
    color: rgb(93, 187, 93);
    transition: transform 0.3s ease-in-out; /* Añade una transición suave */
    filter: brightness(1); /* Aumenta el brillo del icono */
}

.header-nav-items a .home:hover {
    transform: scale(1.2); /* Aumenta el tamaño del icono */
    transition: transform 0.3s ease-in-out; /* Añade una transición suave */
    filter: brightness(1.2); /* Aumenta el brillo del icono */
}


/* HOVER ESTILO */

.banner {
    text-align: center;
    width: 100%;
    height: auto;
}

.banner img {
    width: 80vw;
    height: auto;
}


/* Empieza el estilo del main */
main {
display: flex;
flex-direction: column; 
justify-content: center;
align-items: center;
gap: 20px; 
padding: 20px;
}

.section-quienes-somos, .section-vision, .section-valores {
border-radius: 15px;
background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); 
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 10px;
}

.quienes-somos-container, .vision-container, .valores-container {
width: 80%; 
display: flex;
flex-direction: column;
align-items: center;
}

.quienes-somos-image, .vision-image, .valores-image {
width: 100%;
display: flex;
justify-content: center;
}

.quienes-somos-image img, .vision-image img, .valores-image img {
border-radius: 10px;
width: 100%;
height: auto;
}

.main-text {
text-align: center;
padding: 5px 5px; 
font-size: 1.4rem;
}

.valores-list {
list-style: upper-roman;
padding: 0;
}

.valores-list .title {
font-size: 1.4rem;
text-align: left;
margin: 10px 0;
}

.valores-list .list-text {
    font-size: 1.1rem;
    text-align: left;
    margin: 10px 0;
    }
.valores-list span {
    text-align: center;
    margin-left: 10px;
    font-size: 1rem;
}


.progress-container {
    margin: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

progress {
    width: 100%;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 10px;
}

progress::-webkit-progress-bar {
    background-color: #f3f3f3;
    border-radius: 10px;
    overflow: hidden;
}

progress::-webkit-progress-value {
    background: linear-gradient(to right, #4caf50, #8bc34a);
    border-radius: 10px;
}

progress::-moz-progress-bar {
    background: linear-gradient(to right, #4caf50, #8bc34a);
    border-radius: 10px;
}

/*empieza el estilo del pie de pagina */
footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../imagenes/footer-color-small.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100vw;
    height: 80px;
}


.footer-container {
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-container .contact-image {
    width: 30px;
    height: 30px;
}

.footer-container .logo-footer {
    width: 120px;
    height: 25px;
}
.a-footer {
    font-size: 1rem;
    text-align: center;
}

/* HOVER ESTILO PARA PIE DE PAGINA  */
.footer-container .a-footer:hover {
    color: rgb(249, 254, 249);
    border-bottom: 1px solid; /* Efecto dashed similar */
    transform: scale(1); /* Aumenta el tamaño del icono */
    transition: transform 0.3s ease-in-out; /* Añade una transición suave */
    filter: brightness(1); /* Aumenta el brillo del icono */
}
    
/* Estilos específicos para Safari */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    
    html {
        font-size: 62.5%;
    }
    
    body {  
        margin: 0; /* Asegúrate de no tener margen en el body */
        padding: 0; /* Asegúrate de no tener padding en el body */
        overflow-x: hidden; /* Para evitar cualquier desplazamiento horizontal */
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    /* empieza el estilo del encabezado */
    .header {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .header .header-section-redes {
        width: 100%;
        height: 30px;
        display: grid;
        background-color: #E0F2F1;
    }
    
    .header .header-section-redes .redes {
        width: 100px;
        height: auto;
        display: flex;
        justify-items:flex-end;
        align-items: center;
        justify-content: space-between;
        justify-self: end;
        background-color: #E0F2F1;
        margin-right: 20px;
    }
    
    
    .header-section-redes .redes img {
        width: 20px;
        height: 20px;
    }
    
    /* EFECTOS HOVER */
    /* Efectos para los íconos de redes sociales */
    .header-section-redes .redes img:hover {
        transform: scale(1.2); /* Aumenta el tamaño del icono */
        transition: transform 0.3s ease-in-out; /* Añade una transición suave */
        filter: brightness(1.2); /* Aumenta el brillo del icono */
    }
    
    /* Estilo barra de navegación */
    .header-nav {
        width: 100%;
        height: 30px;
        background: linear-gradient(to bottom, #eeeeee, #ffffff); /* Gradiente de gris a blanco */
        text-align: center;
    }
    
    /* Contenedor de los elementos de navegación */
    .header-nav-items {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        height: 80%;
    }
    
    /* Estilo de los enlaces */
    .header-nav-items a {
        padding: 0 15px;
        text-decoration: none;
        color: black;
        font-size: 1rem;
    }
    
    /* Estilo del logo */
    .header-nav-items .home {
        width: 15px;
        height: 15px;
    }
    
    /* HOVER ESTILO BARRA DE NAVEGACION */
    /* Efectos para el nav */
    .header-nav:hover {
        border: 0.1px solid #96231e;
        box-shadow: 2px 2px 2px #8cb0ae;
        transform: scale(1.01); /* Aumenta ligeramente el tamaño del nav */
        transition: transform 0.3s ease-in-out; /* Añade una transición suave */
    }
    
    /* Efectos adicionales para los enlaces de la lista de navegación */
    .header-nav .header-nav-items a:hover {
        color: rgb(93, 187, 93);
        transition: transform 0.3s ease-in-out; /* Añade una transición suave */
        filter: brightness(1); /* Aumenta el brillo del icono */
    }
    
    .header-nav-items a .home:hover {
        transform: scale(1.2); /* Aumenta el tamaño del icono */
        transition: transform 0.3s ease-in-out; /* Añade una transición suave */
        filter: brightness(1.2); /* Aumenta el brillo del icono */
    }
    
    
    /* HOVER ESTILO */
    
    .banner {
        text-align: center;
        width: 100%;
        height: auto;
    }
    
    .banner img {
        width: 80vw;
        height: auto;
    }
    
    
    /* Empieza el estilo del main */
    main {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    gap: 20px; 
    padding: 20px;
    }
    
    .section-quienes-somos, .section-vision, .section-valores {
    border-radius: 15px;
    background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); 
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    }
    
    .quienes-somos-container, .vision-container, .valores-container {
    width: 80%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    }
    
    .quienes-somos-image, .vision-image, .valores-image {
    width: 100%;
    display: flex;
    justify-content: center;
    }
    
    .quienes-somos-image img, .vision-image img, .valores-image img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    }
    
    .main-text {
    text-align: center;
    padding: 5px 5px; 
    font-size: 1.4rem;
    }
    
    .valores-list {
    list-style: upper-roman;
    padding: 0;
    }
    
    .valores-list .title {
    font-size: 1.4rem;
    text-align: left;
    margin: 10px 0;
    }
    
    .valores-list .list-text {
        font-size: 1.1rem;
        text-align: left;
        margin: 10px 0;
        }
    .valores-list span {
        text-align: center;
        margin-left: 10px;
        font-size: 1rem;
    }
    
    
    .progress-container {
        margin: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    progress {
        width: 100%;
        height: 20px;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 10px;
    }
    
    progress::-webkit-progress-bar {
        background-color: #f3f3f3;
        border-radius: 10px;
        overflow: hidden;
    }
    
    progress::-webkit-progress-value {
        background: linear-gradient(to right, #4caf50, #8bc34a);
        border-radius: 10px;
    }
    
    progress::-moz-progress-bar {
        background: linear-gradient(to right, #4caf50, #8bc34a);
        border-radius: 10px;
    }
    
    /*empieza el estilo del pie de pagina */
    footer {
        margin-top: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        background-image: url("../imagenes/footer-color-small.png");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        position: relative;
        width: 100vw;
        height: 80px;
    }
    
    
    .footer-container {
        display: flex;
        margin: 0 auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .footer-container .contact-image {
        width: 30px;
        height: 30px;
    }
    
    .footer-container .logo-footer {
        width: 120px;
        height: 25px;
    }
    .a-footer {
        font-size: 1rem;
        text-align: center;
    }
    
    /* HOVER ESTILO PARA PIE DE PAGINA  */
    .footer-container .a-footer:hover {
        color: rgb(249, 254, 249);
        border-bottom: 1px solid; /* Efecto dashed similar */
        transform: scale(1); /* Aumenta el tamaño del icono */
        transition: transform 0.3s ease-in-out; /* Añade una transición suave */
        filter: brightness(1); /* Aumenta el brillo del icono */
    }
}
    
    
    /* Media Queries */
@media (min-width: 420px) {
    .header .header-section-redes {
        width: 100%;
        height: 35px;
        display: grid;
        background-color: #E0F2F1;
    }
    
    .header .header-section-redes .redes {
        width: 150px;
        height: auto;
        display: flex;
        justify-items:flex-end;
        align-items: center;
        justify-content: space-between;
        justify-self: end;
        background-color: #E0F2F1;
        margin-right: 30px;
    }
    
    
    .header-section-redes .redes img {
        width: 20px;
        height: 20px;
    }
    
    /* Estilo barra de navegación */
    .header-nav {
        width: 100%;
        height: 40px;
        background: linear-gradient(to bottom, #eeeeee, #ffffff); /* Gradiente de gris a blanco */
        text-align: center;
    }

    /* Contenedor de los elementos de navegación */
    .header-nav-items {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        height: 100%;
    }

    /* Estilo de los enlaces */
    .header-nav-items a {
        padding: 0 15px;
        text-decoration: none;
        color: black;
        font-size: 1.2rem;
    }

    /* Estilo del logo */
    .header-nav-items .home {
        width: 15px;
        height: 15px;
    }
/* Empieza el estilo del main */
    main {
        margin: 5px auto;
        padding: 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 10px; /* Espacio entre las secciones */
        width: 100%;
        height: auto;
    }

    .section-quienes-somos,
    .section-vision {
        background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px; /* Ajusta el padding según sea necesario */
        width: calc(80% - 5px); /* Ajusta el ancho de cada sección */
        max-height: 450px; /* Ajusta la altura máxima de las secciones */
        overflow:visible; /* Agrega desplazamiento si el contenido excede la altura máxima */
        box-sizing: border-box; /* Incluye el padding y el borde en el ancho y alto */
        border-radius: 10px; /* Añade bordes redondeados */
        margin-left: 40px;
    }

    .section-valores {
        background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        justify-items: center;
        padding: 20px;
        width: 80%;
        margin-left: 60px;
    }

    .section-quienes-somos {
        grid-column: 1 / 2;
    }

    .section-vision {
        grid-column: 2 / 3;
    }

    .section-valores {
        grid-column: 1 / 3; /* Abarca ambas columnas */
    }

    .quienes-somos-container,
    .vision-container {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .valores-container {
        width: 70%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .quienes-somos-image img,
    .vision-image img,
    .valores-image img {
        width: 100%;
        height: auto;
    }


    .main-text {
    text-align: center;
    padding: 5px 5px; 
    font-size: 1.4rem;
    }
    
    .valores-list {
    list-style: upper-roman;
    padding: 0;
    }
    
    .valores-list .title {
    font-size: 1.4rem;
    text-align: left;
    margin: 10px 0;
    }
    
    .valores-list .list-text {
        font-size: 1.2rem;
        text-align: left;
        margin: 10px 0;
        }
    .valores-list span {
        text-align: center;
        margin-left: 10px;
        font-size: 1.4rem;
    }
    
    
/*empieza el estilo del pie de pagina */

    footer {
        margin-top: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        background-image: url("../imagenes/footer-color-small.png");
        background-repeat: repeat-x;
        background-size: contain;
        background-position: center;
        position: relative;
        width: 100vw;
        height: 100px;
    }

    .footer-container {
        display: flex;
        margin: 0 auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer-container .contact-image {
        width: 25px;
        height: 25px;
    }

    .footer-container .logo-footer {
        width: 120px;
        height: 25px;
    }
    .a-footer {
        font-size: 1.2rem;
        text-align: center;
    }

    }


@media (min-width: 600px) {
    .header .header-section-redes {
        width: 100%;
        height: 40px;
        display: grid;
        background-color: #E0F2F1;
    }
    
    .header .header-section-redes .redes {
        width: 200px;
        height: auto;
        display: flex;
        justify-items:flex-end;
        align-items: center;
        justify-content: space-between;
        justify-self: end;
        background-color: #E0F2F1;
        margin-right: 30px;
    }
    
    
    .header-section-redes .redes img {
        width: 30px;
        height: 30px;
    }
    
    /* Estilo barra de navegación */
    .header-nav {
        width: 100%;
        height: 40px;
        background: linear-gradient(to bottom, #eeeeee, #ffffff); /* Gradiente de gris a blanco */
        text-align: center;
    }

    /* Contenedor de los elementos de navegación */
    .header-nav-items {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        height: 100%;
    }

    /* Estilo de los enlaces */
    .header-nav-items a {
        padding: 0 20px;
        text-decoration: none;
        color: black;
        font-size: 1.8rem;
    }

    /* Estilo del logo */
    .header-nav-items .home {
        width: 30px;
        height: 30px;
    }
/* empieza el estilo del main */
    /* Empieza el estilo del main */
    main {
        margin: 5px auto;
        padding: 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 10px; /* Espacio entre las secciones */
        width: 100%;
        height: auto;
    }

    .section-quienes-somos,
    .section-vision {
        background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5px; /* Ajusta el padding según sea necesario */
        width: calc(80% - 5px); /* Ajusta el ancho de cada sección */
        max-height: 450px; /* Ajusta la altura máxima de las secciones */
        overflow:visible; /* Agrega desplazamiento si el contenido excede la altura máxima */
        box-sizing: border-box; /* Incluye el padding y el borde en el ancho y alto */
        border-radius: 10px; /* Añade bordes redondeados */
        margin-left: 40px;
    }

    .section-valores {
        background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        justify-items: center;
        padding: 20px;
        width: 80%;
        margin-left: 60px;
    }

    .section-quienes-somos {
        grid-column: 1 / 2;
    }

    .section-vision {
        grid-column: 2 / 3;
    }

    .section-valores {
        grid-column: 1 / 3; /* Abarca ambas columnas */
    }

    .quienes-somos-container,
    .vision-container {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .valores-container {
        width: 70%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .quienes-somos-image img,
    .vision-image img,
    .valores-image img {
        width: 100%;
        height: auto;
    }


    .main-text {
    text-align: center;
    padding: 5px 5px; 
    font-size: 1.6rem;
    }
    
    .valores-list {
    list-style: upper-roman;
    padding: 0;
    }
    
    .valores-list .title {
    font-size: 1.4rem;
    text-align: left;
    margin: 10px 0;
    }
    
    .valores-list .list-text {
        font-size: 1.6rem;
        text-align: left;
        margin: 10px 0;
        }
    .valores-list span {
        text-align: center;
        margin-left: 10px;
        font-size: 1.6rem;
    }

/*empieza el estilo del pie de pagina */
    .footer-container .contact-image {
        width: 30px;
        height: 30px;
    }

    .footer-container .logo-footer {
        width: 150px;
        height: 30px;
    }
    .a-footer {
        font-size: 1.6rem;
        text-align: center;
    }
    }



@media (min-width: 720px) {
    .header .header-section-redes {
        width: 100%;
        height: 40px;
        display: grid;
        background-color: #E0F2F1;
    }
    
    .header .header-section-redes .redes {
        width: 200px;
        height: auto;
        display: flex;
        justify-items:flex-end;
        align-items: center;
        justify-content: space-between;
        justify-self: end;
        background-color: #E0F2F1;
        margin-right: 30px;
    }
    
    
    .header-section-redes .redes img {
        width: 30px;
        height: 30px;
    }
    
    /* Estilo barra de navegación */
    .header-nav {
        width: 100%;
        height: 40px;
        background: linear-gradient(to bottom, #eeeeee, #ffffff); /* Gradiente de gris a blanco */
        text-align: center;
    }

    /* Contenedor de los elementos de navegación */
    .header-nav-items {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        height: 100%;
    }

    /* Estilo de los enlaces */
    .header-nav-items a {
        padding: 0 20px;
        text-decoration: none;
        color: black;
        font-size: 1.8rem;
    }

    /* Estilo del logo */
    .header-nav-items .home {
        width: 30px;
        height: 30px;
    }
/* empieza el estilo del main */
    /* Empieza el estilo del main */
    main {
        margin: 5px auto;
        padding: 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 10px; /* Espacio entre las secciones */
        width: 100%;
        height: auto;
    }

    .section-quienes-somos,
    .section-vision {
        background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5px; /* Ajusta el padding según sea necesario */
        width: calc(70% - 5px); /* Ajusta el ancho de cada sección */
        max-height: 450px; /* Ajusta la altura máxima de las secciones */
        overflow:visible; /* Agrega desplazamiento si el contenido excede la altura máxima */
        box-sizing: border-box; /* Incluye el padding y el borde en el ancho y alto */
        border-radius: 10px; /* Añade bordes redondeados */
        margin-left: 80px;
    }

    .section-valores {
        background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        justify-items: center;
        padding: 20px;
        width: 70%;
        margin-left: 130px;
    }

    .section-quienes-somos {
        grid-column: 1 / 2;
    }

    .section-vision {
        grid-column: 2 / 3;
    }

    .section-valores {
        grid-column: 1 / 3; /* Abarca ambas columnas */
    }

    .quienes-somos-container,
    .vision-container {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .valores-container {
        width: 60%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .quienes-somos-image img,
    .vision-image img,
    .valores-image img {
        width: 100%;
        height: auto;
    }


    .main-text {
    text-align: center;
    padding: 5px 5px; 
    font-size: 1.8rem;
    }
    
    .valores-list {
    list-style: upper-roman;
    padding: 0;
    }
    
    .valores-list .title {
    font-size: 1.8rem;
    text-align: left;
    margin: 10px 0;
    }
    
    .valores-list .list-text {
        font-size: 1.8rem;
        text-align: left;
        margin: 10px 0;
        }
    .valores-list span {
        text-align: center;
        margin-left: 10px;
        font-size: 1.8rem;
    }

/*empieza el estilo del pie de pagina */
    .footer-container .contact-image {
        width: 30px;
        height: 30px;
    }

    .footer-container .logo-footer {
        width: 150px;
        height: 30px;
    }
    .a-footer {
        font-size: 1.6rem;
        text-align: center;
    }

    }


@media (min-width: 1024px) {
    .header .header-section-redes {
        width: 100%;
        height: 50px;
        display: grid;
        background-color: #E0F2F1;
    }
    
    .header .header-section-redes .redes {
        width: 350px;
        height: auto;
        display: flex;
        justify-items:flex-end;
        align-items: center;
        justify-content: space-between;
        justify-self: end;
        background-color: #E0F2F1;
        margin-right: 50px;
    }
    
    
    .header-section-redes .redes img {
        width: 35px;
        height: 35px;
    }
    
    /* Estilo barra de navegación */
    .header-nav {
        width: 100%;
        height: 40px;
        background: linear-gradient(to bottom, #eeeeee, #ffffff); /* Gradiente de gris a blanco */
        text-align: center;
    }

    /* Contenedor de los elementos de navegación */
    .header-nav-items {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        height: 100%;
    }

    /* Estilo de los enlaces */
    .header-nav-items a {
        padding: 0 15px;
        text-decoration: none;
        color: black;
        font-size: 1.8rem;
    }

    /* Estilo del logo */
    .header-nav-items .home {
        width: 30px;
        height: 30px;
    }
/* empieza el estilo del main */
    main {
        margin: 5px auto;
        padding: 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 10px; /* Espacio entre las secciones */
        width: 100%;
        height: auto;
    }

    .section-quienes-somos,
    .section-vision {
        background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5px; /* Ajusta el padding según sea necesario */
        width: calc(80% - 5px); /* Ajusta el ancho de cada sección */
        max-height: 450px; /* Ajusta la altura máxima de las secciones */
        overflow:visible; /* Agrega desplazamiento si el contenido excede la altura máxima */
        box-sizing: border-box; /* Incluye el padding y el borde en el ancho y alto */
        border-radius: 20px; /* Añade bordes redondeados */
        margin-left: 80px;
    }

    .section-valores {
        background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        justify-items: center;
        padding: 20px;
        width: 80%;
        margin-left: 130px;
    }

    .section-quienes-somos {
        grid-column: 1 / 2;
    }

    .section-vision {
        grid-column: 2 / 3;
    }

    .section-valores {
        grid-column: 1 / 3; /* Abarca ambas columnas */
    }

    .quienes-somos-container,
    .vision-container {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .valores-container {
        width: 80%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .quienes-somos-image img,
    .vision-image img,
    .valores-image img {
        border-radius: 20px; /* Añade bordes redondeados */ 
        width: 100%;
        height: auto;
    }


    .main-text {
    text-align: center;
    padding: 5px 5px; 
    font-size: 1.8rem;
    }
    
    .valores-list {
    list-style: upper-roman;
    padding: 0;
    }
    
    .valores-list .title {
    font-size: 1.8rem;
    text-align: left;
    margin: 10px 0;
    }
    
    .valores-list .list-text {
        font-size: 1.8rem;
        text-align: left;
        margin: 10px 0;
        }
    .valores-list span {
        text-align: center;
        margin-left: 10px;
        font-size: 1.8rem;
    }

/*empieza el estilo del pie de pagina */

footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../imagenes/footer-color-small.png");
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    position: relative;
    width: 100vw;
    height: 100px;
}

.footer-container {
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-container .contact-image {
    width: 40px;
    height: 40px;
}

.footer-container .logo-footer {
    width: 150px;
    height: 30px;
}
.a-footer {
    font-size: 1.8rem;
    text-align: center;
} 

}


