* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arapey', serif;
}
.section2 {
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    align-items: center;
    padding: 20px;
    flex-direction: row; /* Para pantallas grandes */
}

.text-section {
    flex: 1;
    padding-right: 20px;
}

.text-section h2 {
    margin-bottom: 5px;
    font-size: 2.5rem;
}

.text-section h3 {
    margin-bottom: 5px;
    font-size: 2rem;
}

.text-section p {
    text-align: justify;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.image-section {
    flex: 1;
}

.image-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Pantallas muy grandes */
@media (min-width: 1200px) {
    .container {
        padding: 40px;
    }

    .text-section h2 {
        font-size: 3rem;
    }

    .text-section h3 {
        font-size: 2.5rem;
    }

    .text-section p {
        font-size: 1.75rem;
    }
}

/* Pantallas normales */
@media (max-width: 1199px) and (min-width: 768px) {
    .container {
        padding: 30px;
    }

    .text-section h2 {
        font-size: 2.5rem;
    }

    .text-section h3 {
        font-size: 2rem;
    }

    .text-section p {
        font-size: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 767px) and (min-width: 481px) {
    .container {
        flex-direction: column;
        padding: 20px;
    }

    .text-section {
        padding-right: 0;
        padding-bottom: 20px;
    }

    .text-section h2 {
        font-size: 2rem;
    }

    .text-section h3 {
        font-size: 1.75rem;
    }

    .text-section p {
        font-size: 1.25rem;
    }
}

/* Celulares */
@media (max-width: 480px) {
    .container {
        flex-direction: column;
        padding: 10px;
    }

    .text-section {
        padding-right: 0;
        padding-bottom: 10px;
    }

    .text-section h2 {
        font-size: 1.5rem;
    }

    .text-section h3 {
        font-size: 1.25rem;
    }

    .text-section p {
        font-size: 1rem;
    }
}
/* Estilos para la sección de información */
.info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 40px;
    background-color: #02343b61;
}

/* Estilos para cada ítem de la información */
/* Estilos generales para la sección de información */
/* Estilos generales para la sección de información */
.info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 40px;
    background-color: #02343b61;
}

/* Estilos para cada ítem de la información */
.info-item1,
.info-item2 {
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 20px;
    box-sizing: border-box; /* Asegura que el padding y el border no afecten al width */
}

/* Alternar la dirección de los elementos en los ítems de información */
.info-item1:nth-child(even),
.info-item2:nth-child(even) {
    flex-direction: row-reverse;
}

/* Estilo de la imagen en los ítems de información */
.info-img1,
.info-img2 {
    border-radius: 4%;
    width: 400px; /* Cambiar a 100% para una mejor adaptación */
    height: auto; /* Mantener la proporción de la imagen */
    margin: 0 20px; /* Añadir márgenes en ambos lados */
    box-sizing: border-box; /* Asegura que el padding y el border no afecten al width */
}

/* Imagen en ítems de información en orden inverso */
.info-item1:nth-child(even) .info-img1,
.info-item2:nth-child(even) .info-img2 {
    margin-left: 20px; /* Margen a la izquierda */
    margin-right: 0; /* Eliminar margen a la derecha */
}

/* Estilo del texto en los ítems de información */
.info-text1,
.info-text2 {
    width: 100%; /* Cambiar a 100% para una mejor adaptación */
    max-width: 600px; /* Ajustar el ancho máximo del texto */
    font-size: 1.5rem;
    text-align: justify;
    box-sizing: border-box; /* Asegura que el padding y el border no afecten al width */
}

/* Pantallas muy grandes */
@media (min-width: 1200px) {
    .info-section {
        padding: 40px;
        gap: 60px;
    }

    .info-item1,
    .info-item2 {
        max-width: 1100px;
        margin: 30px;
    }

    .info-img1,
    .info-img2 {
        width: 500px;
    }

    .info-text1,
    .info-text2 {
        font-size: 1.75rem;
    }
}

/* Pantallas normales */
@media (max-width: 1199px) and (min-width: 768px) {
    .info-section {
        padding: 30px;
        gap: 50px;
    }

    .info-item1,
    .info-item2 {
        max-width: 1000px;
        margin: 25px;
    }

    .info-img1,
    .info-img2 {
        width: 450px;
    }

    .info-text1,
    .info-text2 {
        font-size: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 767px) and (min-width: 481px) {
    .info-section {
        padding: 20px;
        gap: 40px;
    }

    .info-item1,
    .info-item2 {
        flex-direction: column;
        max-width: 100%;
        text-align: center;
        margin: 20px 0;
    }

    .info-img1,
    .info-img2 {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .info-text1,
    .info-text2 {
        font-size: 1.25rem;
    }
}

/* Celulares */
@media (max-width: 480px) {
    .info-section {
        padding: 10px;
        gap: 30px;
    }

    .info-item1,
    .info-item2 {
        flex-direction: column;
        max-width: 100%;
        text-align: center;
        margin: 15px 0;
    }

    .info-img1,
    .info-img2 {
        width: 100%;
        margin: 0 0 15px 0;
    }

    .info-text1,
    .info-text2 {
        font-size: 1rem;
    }
}

/* Para pantallas menores de 767px, disposición específica */
@media (max-width: 767px) {
    .info-section {
        display: block; /* Asegura que los ítems se muestren uno debajo del otro */
    }

    .info-item1,
    .info-item2 {
        display: block;
        margin: 10px 0;
    }

    .info-item1 {
        order: 1; /* El primer ítem se muestra primero */
    }

    .info-item2 {
        order: 2; /* El segundo ítem se muestra después del primero */
    }

    .info-img1,
    .info-img2 {
        margin: 0 0 20px 0;
    }
}




/* Estilos generales para la sección */
.section3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.image-gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Permite que las imágenes se ajusten a múltiples líneas */
    justify-content: center;
}

.image-container {
    position: relative;
    overflow: hidden;
    width: 550px; /* Define el ancho fijo */
    height: 400px; /* Define la altura */
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra el contenedor */
    transition: transform 0.3s;
}

.image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.image-container:hover img {
    transform: scale(1.1);
}

.tituloVariety {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Estilos para el texto sobre la imagen */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    color: white; /* Color del texto */
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-container:hover .overlay {
    opacity: 1;
}

.text {
    font-size: 2rem; /* Tamaño de la fuente ajustado */
    font-weight: bold;
}

/* Pantallas muy grandes */
@media (min-width: 1200px) {
    .image-container {
        width: 600px;
        height: 450px;
    }

    .tituloVariety {
        font-size: 4rem;
    }

    .text {
        font-size: 2.5rem;
    }
    .overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
        color: white; /* Color del texto */
        padding: 600px;
        text-align: center;
        border-radius: 5px;
        opacity: 0;
        transition: opacity 0.3s;
    }
}

/* Pantallas normales */
@media (max-width: 1199px) and (min-width: 768px) {
    .image-container {
        width: 500px;
        height: 350px;
    }

    .tituloVariety {
        font-size: 3.5rem;
    }

    .text {
        font-size: 2.2rem;
    }
    .overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
        color: white; /* Color del texto */
        padding: 1000px;
        text-align: center;
        border-radius: 5px;
        opacity: 0;
        transition: opacity 0.3s;
    }
}

/* Tablets */
@media (max-width: 767px) and (min-width: 481px) {
    .image-container {
        width: 400px;
        height: 300px;
    }

    .tituloVariety {
        font-size: 2.5rem;
    }

    .text {
        font-size: 1.8rem;
    }
    .overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
        color: white; /* Color del texto */
        padding: 600px;
        text-align: center;
        border-radius: 5px;
        opacity: 0;
        transition: opacity 0.3s;
    }
}

/* Celulares */
@media (max-width: 480px) {
    .image-container {
        width: 100%;
        height: auto;
    }

    .tituloVariety {
        font-size: 2rem;
    }

    .text {
        font-size: 1.5rem;
    }
    .overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
        color: white; /* Color del texto */
        padding: 300px;
        text-align: center;
        border-radius: 5px;
        opacity: 0;
        transition: opacity 0.3s;
    }

}
