* {
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; /* Cambia a row para que las secciones estén una al lado de la otra */
    justify-content: center;
    align-items: flex-start; /* Cambia a flex-start si no quieres que se centren verticalmente */
    gap: 20px; /* Añade espacio entre las secciones */
    padding: 20px; /* Opcional: Añade padding alrededor del main */
}

.main-section-left, .main-section-right {
    border-radius: 10px;
    background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
    width: 100%; /* Ajusta el ancho según sea necesario */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Opcional: Añade padding dentro de cada sección */
}   

main .logo-main {
    width: 150px;
    height: 30px;
}

.section-left-container, .section-right-container {
    text-align: center;
    width: 80%;
    height: auto;
}

.section-left-container img, .section-right-container img {
    border-radius: 5px;
    width: 100%; /* Ajusta el ancho según sea necesario */
    height: auto;
}

.section-left-container-text, .section-right-container-text {
    padding: 10px 15px; /* Ajusta el padding según sea necesario */
    font-size: 1.2rem;
}

.text-image img {
    position: relative;
    top: 1px;
    width: 20px;
    height: 20px;
}

/*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; /* Cambia a row para que las secciones estén una al lado de la otra */
        justify-content: center;
        align-items: flex-start; /* Cambia a flex-start si no quieres que se centren verticalmente */
        gap: 20px; /* Añade espacio entre las secciones */
        padding: 20px; /* Opcional: Añade padding alrededor del main */
    }
    
    .main-section-left, .main-section-right {
        border-radius: 10px;
        background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
        width: 100%; /* Ajusta el ancho según sea necesario */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px; /* Opcional: Añade padding dentro de cada sección */
    }   
    
    main .logo-main {
        width: 150px;
        height: 30px;
    }
    
    .section-left-container, .section-right-container {
        text-align: center;
        width: 80%;
        height: auto;
    }
    
    .section-left-container img, .section-right-container img {
        border-radius: 5px;
        width: 100%; /* Ajusta el ancho según sea necesario */
        height: auto;
    }
    
    .section-left-container-text, .section-right-container-text {
        padding: 10px 15px; /* Ajusta el padding según sea necesario */
        font-size: 1.2rem;
    }
    
    .text-image img {
        position: relative;
        top: 1px;
        width: 20px;
        height: 20px;
    }

    
    /*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 {
        display: grid;
        grid-template-columns: 2fr 1fr;
        justify-content: center;
        align-items: flex-start; /* Cambia a flex-start si no quieres que se centren verticalmente */
        gap: 20px; /* Añade espacio entre las secciones */
        padding: 20px; /* Opcional: Añade padding alrededor del main */
    }
    
    .main-section-left, .main-section-right {
        border-radius: 10px;
        background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
        width: 100%; /* Ajusta el ancho según sea necesario */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px; /* Opcional: Añade padding dentro de cada sección */
    }   
    
    main .logo-main {
        width: 150px;
        height: 30px;
    }
    
    .section-left-container, .section-right-container {
        text-align: center;
        width: 100%;
        height: auto;
    }
    
    .section-left-container img{
        border-radius: 5px;
        width: 100%; /* Ajusta el ancho según sea necesario */
        height: auto;
    }

    .section-right-container img {
        border-radius: 5px;
        width: 100%; /* Ajusta el ancho según sea necesario */
        height: auto;
    }
    
    .section-left-container-text, .section-right-container-text {
        padding: 10px 15px; /* Ajusta el padding según sea necesario */
        font-size: 1.2rem;
    }
    
    .text-image img {
        position: relative;
        top: 1px;
        width: 20px;
        height: 20px;
    }
    
/*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: 35px;
        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: 25px;
        height: 25px;
    }
    
    /* 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.4rem;
    }

    /* Estilo del logo */
    .header-nav-items .home {
        width: 20px;
        height: 20px;
    }
/* empieza el estilo del main */
main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    justify-content: center;
    align-items: flex-start; /* Cambia a flex-start si no quieres que se centren verticalmente */
    gap: 20px; /* Añade espacio entre las secciones */
    padding: 20px; /* Opcional: Añade padding alrededor del main */
}

.main-section-left {
    border-radius: 10px;
    background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
    width: 100%; /* Ajusta el ancho según sea necesario */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Opcional: Añade padding dentro de cada sección */
}   

.main-section-right {
    border-radius: 10px;
    background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
    width: 100%; /* Ajusta el ancho según sea necesario */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Opcional: Añade padding dentro de cada sección */
    margin-left: 20px;
}   

main .logo-main {
    width: 150px;
    height: 30px;
}

.section-left-container, .section-right-container {
    text-align: center;
    width: 100%;
    height: auto;
}

.section-left-container img{
    border-radius: 5px;
    width: 100%; /* Ajusta el ancho según sea necesario */
    height: auto;
}

.section-right-container img {
    border-radius: 5px;
    width: 100%; /* Ajusta el ancho según sea necesario */
    height: auto;
}

.section-left-container-text, .section-right-container-text {
    padding: 10px 15px; /* Ajusta el padding según sea necesario */
    font-size: 1.4rem;
}

.text-image img {
    position: relative;
    top: 1px;
    width: 20px;
    height: 20px;
}

/*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: 30px;
        height: 30px;
    }

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



@media (min-width: 720px) {
    .header .header-section-redes {
        width: 100%;
        height: 35px;
        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: 25px;
        height: 25px;
    }
    
    /* 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 */
main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    justify-content: center;
    align-items: flex-start; /* Cambia a flex-start si no quieres que se centren verticalmente */
    gap: 20px; /* Añade espacio entre las secciones */
    padding: 20px; /* Opcional: Añade padding alrededor del main */
}
    h1 {
        font-size: 1.6rem;
    }
    
    h4 {
        font-size: 1.4rem;
    }
.main-section-left {
    border-radius: 10px;
    background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
    width: 100%; /* Ajusta el ancho según sea necesario */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Opcional: Añade padding dentro de cada sección */
}   

.main-section-right {
    border-radius: 10px;
    background: linear-gradient(to bottom, #f2fbfbd3, #dcdcdc94); /* Gradiente de gris a blanco */
    width: 100%; /* Ajusta el ancho según sea necesario */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Opcional: Añade padding dentro de cada sección */
    margin-left: 20px;
}   

main .logo-main {
    width: 150px;
    height: 30px;
}

.section-left-container, .section-right-container {
    text-align: center;
    width: 100%;
    height: auto;
}

.section-left-container img{
    border-radius: 5px;
    width: 100%; /* Ajusta el ancho según sea necesario */
    height: auto;
}

.section-right-container img {
    border-radius: 5px;
    width: 100%; /* Ajusta el ancho según sea necesario */
    height: auto;
}

.section-left-container-text, .section-right-container-text {
    padding: 10px 15px; /* Ajusta el padding según sea necesario */
    font-size: 1.6rem;
}

.text-image img {
    position: relative;
    top: 4px;
    width: 25px;
    height: 25px;
}
/*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: 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: 35px;
        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: 25px;
        height: 25px;
    }
    
    /* 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 de main */
    h1{
        font-size: 1.8rem;
    }
    h4 {
        font-size: 1.4rem;
    }
    .section-left-container-text, .section-right-container-text {
        padding: 10px 15px; /* Ajusta el padding según sea necesario */
        font-size: 1.4rem;
    }

    .text-image img {
        position: relative;
        top: 2px;
        width: 20px;
        height: 20px;
    }

/*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: 30px;
        height: 30px;
    }

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

 }
