/* Estilo general */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    overflow-x: hidden;
    text-align: center;
    background-color: #333;
}

/* Fondo animado */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Título principal */
header h1 {
    margin-top: 20px;
    font-size: 2.5em;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    font-weight: bold;
}

/* Contenedor del carrusel */
.carousel-container {
    position: relative;
    max-width: 85%;
    height: 65vh;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.carousel {
    display: flex;
    align-items: center;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 10px;
}

/* Botones del carrusel */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 1;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
}

/* Botón de regreso */
.back-button a {
    display: inline-block;
    background-color: #007B7F;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    margin: 20px auto;
}

.back-button a:hover {
    background-color: #005f60;
}

/* Pie de página */
footer {
    margin-top: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 14px;
    border-radius: 5px;
}
