/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow: hidden;
}

body {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Contenedor del carrusel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo de las imágenes */
.carousel-image {
    position: absolute;
    height: 100%;
    width: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* Imagen activa */
.carousel-image.active {
    opacity: 1;
}

/* Animación de precarga (opcional) */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-container.loaded {
    animation: fadeIn 0.5s ease-in;
}
