* {
    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;
    }
    
    /* 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 */
    }

    /* Estilos generales del formulario */
.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%; /* Añadí este estilo para centrar el formulario */
    padding: 15px; /* Añadí este estilo para agregar relleno interno */
    background-color: #f5fffe; /* Añadí este estilo para cambiar el color de fondo del formulario */
    border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Añadí este estilo para agregar una sombra */
}

/* Estilos para los campos de entrada y área de texto */
input, textarea {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;;
    width: 80%; /* Añadí este estilo para que los campos ocupen todo el ancho del formulario */
    padding: 10px; /* Añadí este estilo para agregar relleno interno */
    margin: 5px auto; /* Añadí este estilo para agregar margen entre los campos */
    border: 1px solid #ccc; /* Añadí este estilo para agregar un borde */
    border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
}

/* Estilos para el botón */
button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%; /* Añadí este estilo para que el botón ocupe todo el ancho del formulario */
    padding: 10px; /* Añadí este estilo para agregar relleno interno */
    margin: 0 auto; /* Añadí este estilo para agregar margen entre los campos */
    background-color: #007BFF; /* Añadí este estilo para cambiar el color de fondo del botón */
    color: #fff; /* Añadí este estilo para cambiar el color del texto del botón */
    border: none; /* Añadí este estilo para quitar el borde */
    border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
    cursor: pointer; /* Añadí este estilo para cambiar el cursor cuando el ratón está sobre el botón */
}

button:hover {
    background-color: #0056b3; /* Añadí este estilo para cambiar el color de fondo del botón cuando el ratón está sobre él */
}

.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: 10px;
    height: 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;
    }
    
    /* 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 */
    }
    
    /* Estilos generales del formulario */
    .form {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80%; /* Añadí este estilo para centrar el formulario */
        padding: 15px; /* Añadí este estilo para agregar relleno interno */
        background-color: #f5fffe; /* Añadí este estilo para cambiar el color de fondo del formulario */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Añadí este estilo para agregar una sombra */
    }
    
    /* Estilos para los campos de entrada y área de texto */
    input, textarea {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;;
        width: 80%; /* Añadí este estilo para que los campos ocupen todo el ancho del formulario */
        padding: 10px; /* Añadí este estilo para agregar relleno interno */
        margin: 5px auto; /* Añadí este estilo para agregar margen entre los campos */
        border: 1px solid #ccc; /* Añadí este estilo para agregar un borde */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
    }
    
    /* Estilos para el botón */
    button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50%; /* Añadí este estilo para que el botón ocupe todo el ancho del formulario */
        padding: 10px; /* Añadí este estilo para agregar relleno interno */
        margin: 0 auto; /* Añadí este estilo para agregar margen entre los campos */
        background-color: #007BFF; /* Añadí este estilo para cambiar el color de fondo del botón */
        color: #fff; /* Añadí este estilo para cambiar el color del texto del botón */
        border: none; /* Añadí este estilo para quitar el borde */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
        cursor: pointer; /* Añadí este estilo para cambiar el cursor cuando el ratón está sobre el botón */
    }
    
    button:hover {
        background-color: #0056b3; /* Añadí este estilo para cambiar el color de fondo del botón cuando el ratón está sobre él */
    }
    
    .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: 10px;
        height: 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 {
        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;
    }
    
    /* Estilos generales del formulario */
    .form {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80%; /* Añadí este estilo para centrar el formulario */
        padding: 15px; /* Añadí este estilo para agregar relleno interno */
        background-color: #f5fffe; /* Añadí este estilo para cambiar el color de fondo del formulario */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Añadí este estilo para agregar una sombra */
    }
    
    /* Estilos para los campos de entrada y área de texto */
    input, textarea {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;;
        width: 80%; /* Añadí este estilo para que los campos ocupen todo el ancho del formulario */
        padding: 10px; /* Añadí este estilo para agregar relleno interno */
        margin: 5px auto; /* Añadí este estilo para agregar margen entre los campos */
        border: 1px solid #ccc; /* Añadí este estilo para agregar un borde */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
    }
    
    /* Estilos para el botón */
    button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50%; /* Añadí este estilo para que el botón ocupe todo el ancho del formulario */
        padding: 10px; /* Añadí este estilo para agregar relleno interno */
        margin: 0 auto; /* Añadí este estilo para agregar margen entre los campos */
        background-color: #007BFF; /* Añadí este estilo para cambiar el color de fondo del botón */
        color: #fff; /* Añadí este estilo para cambiar el color del texto del botón */
        border: none; /* Añadí este estilo para quitar el borde */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
        cursor: pointer; /* Añadí este estilo para cambiar el cursor cuando el ratón está sobre el botón */
    }
    
    button:hover {
        background-color: #0056b3; /* Añadí este estilo para cambiar el color de fondo del botón cuando el ratón está sobre él */
    }
    
    .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: 10px;
        height: 10px;
    }

    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 .contact-image {
        width: 30px;
        height: 30px;
    }
    
    .footer-container .logo-footer {
        width: 120px;
        height: 25px;
    }
    .a-footer {
        font-size: 1.4rem;
        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 (min-width: 600px) {
    .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.6rem;
    }
    
    /* Estilo del logo */
    .header-nav-items .home {
        width: 15px;
        height: 15px;
    }
    /* empieza el estilo del main */
    main {
        display: grid;
        grid-template-columns: 3fr 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: 5px; /* Opcional: Añade padding dentro de cada sección */
    }   
        
    .section-left-container{
        text-align: center;
        width: 100%;
        height: auto;
    }
    .section-right-container {
        text-align: center;
        width: 100%;
        height: auto;
    }
    
    /* Estilos generales del formulario */
    .form {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80%; /* Añadí este estilo para centrar el formulario */
        padding: 15px; /* Añadí este estilo para agregar relleno interno */
        background-color: #f5fffe; /* Añadí este estilo para cambiar el color de fondo del formulario */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Añadí este estilo para agregar una sombra */
    }
    
    /* Estilos para los campos de entrada y área de texto */
    input, textarea {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;;
        width: 80%; /* Añadí este estilo para que los campos ocupen todo el ancho del formulario */
        padding: 10px; /* Añadí este estilo para agregar relleno interno */
        margin: 5px auto; /* Añadí este estilo para agregar margen entre los campos */
        border: 1px solid #ccc; /* Añadí este estilo para agregar un borde */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
    }
    
    /* Estilos para el botón */
    button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50%; /* Añadí este estilo para que el botón ocupe todo el ancho del formulario */
        padding: 10px; /* Añadí este estilo para agregar relleno interno */
        margin: 0 auto; /* Añadí este estilo para agregar margen entre los campos */
        background-color: #007BFF; /* Añadí este estilo para cambiar el color de fondo del botón */
        color: #fff; /* Añadí este estilo para cambiar el color del texto del botón */
        border: none; /* Añadí este estilo para quitar el borde */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
        cursor: pointer; /* Añadí este estilo para cambiar el cursor cuando el ratón está sobre el botón */
    }
    
    button:hover {
        background-color: #0056b3; /* Añadí este estilo para cambiar el color de fondo del botón cuando el ratón está sobre él */
    }
    
    .section-right-container img {
        border-radius: 5px;
        width: 100%; /* Ajusta el ancho según sea necesario */
        height: auto;
    }
    
    .section-right-container h4 {
        padding: 10px 5px; /* Ajusta el padding según sea necesario */
        font-size: 1.4rem;
    }
    
    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 .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: 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: 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 15px;
        text-decoration: none;
        color: black;
        font-size: 1.8rem;
    }
    
    /* Estilo del logo */
    .header-nav-items .home {
        width: 20px;
        height: 20px;
    }
    /* empieza el estilo del main */
    main {
        display: grid;
        grid-template-columns: 3fr 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: 5px; /* Opcional: Añade padding dentro de cada sección */
    }   
        
    .section-left-container{
        text-align: center;
        width: 100%;
        height: auto;
    }
    .section-right-container {
        text-align: center;
        width: 100%;
        height: auto;
    }
    
    /* Estilos generales del formulario */
    .form {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80%; /* Añadí este estilo para centrar el formulario */
        padding: 15px; /* Añadí este estilo para agregar relleno interno */
        background-color: #f5fffe; /* Añadí este estilo para cambiar el color de fondo del formulario */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Añadí este estilo para agregar una sombra */
    }
    
    /* Estilos para los campos de entrada y área de texto */
    input, textarea {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;;
        width: 80%; /* Añadí este estilo para que los campos ocupen todo el ancho del formulario */
        padding: 10px; /* Añadí este estilo para agregar relleno interno */
        margin: 5px auto; /* Añadí este estilo para agregar margen entre los campos */
        border: 1px solid #ccc; /* Añadí este estilo para agregar un borde */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
    }
    
    /* Estilos para el botón */
    button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50%; /* Añadí este estilo para que el botón ocupe todo el ancho del formulario */
        padding: 10px; /* Añadí este estilo para agregar relleno interno */
        margin: 0 auto; /* Añadí este estilo para agregar margen entre los campos */
        background-color: #007BFF; /* Añadí este estilo para cambiar el color de fondo del botón */
        color: #fff; /* Añadí este estilo para cambiar el color del texto del botón */
        border: none; /* Añadí este estilo para quitar el borde */
        border-radius: 5px; /* Añadí este estilo para hacer las esquinas redondeadas */
        cursor: pointer; /* Añadí este estilo para cambiar el cursor cuando el ratón está sobre el botón */
    }
    
    button:hover {
        background-color: #0056b3; /* Añadí este estilo para cambiar el color de fondo del botón cuando el ratón está sobre él */
    }
    
    .section-right-container img {
        border-radius: 5px;
        width: 100%; /* Ajusta el ancho según sea necesario */
        height: auto;
    }
    
    .section-right-container h4 {
        padding: 10px 5px; /* Ajusta el padding según sea necesario */
        font-size: 1.6rem;
    }
    
    /*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 .contact-image {
        width: 30px;
        height: 30px;
    }
    
    .footer-container .logo-footer {
        width: 150px;
        height: 30px;
    }
    .a-footer {
        font-size: 1.8rem;
        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 */
/*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;
    } 
    
}
    