body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000; /* Cambia el fondo a negro */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.hero-text {
    flex: 1;
    margin-right: 20px;
    overflow: hidden;
    position: relative;
}

.text-container {
    display: flex;
    animation: slideText 9s infinite;
}

.text-slide {
    min-width: 100%;
    transition: transform 1s ease-in-out;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #fff; /* Cambia el color del texto a blanco */
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff; /* Cambia el color del texto a blanco */
}

.hero-text .btn {
    background-color: #FFA500;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 80%; /* Reduce el tamaño del contenedor de la imagen */
    height: auto;
}

.image-container {
    display: flex;
    animation: slideImage 9s infinite;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
    width: 100%;
}

@keyframes slideText {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

@keyframes slideImage {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

.info {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.info p {
    font-size: 16px;
    margin-bottom: 20px;
}

.info .btn {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
}

footer h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.gallery {
    display: flex;
    justify-content: space-between;
}

.gallery img {
    max-width: 32%;
    border-radius: 10px;
    filter: grayscale(100%); /* Aplica el filtro de escala de grises */
    transition: transform 0.3s ease, filter 0.3s ease; /* Añade la transición para el efecto */
}

.gallery img:hover {
    filter: grayscale(0%); /* Elimina el filtro de escala de grises al pasar el ratón */
    transform: scale(1.1); /* Amplía la imagen al pasar el ratón */
}