* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    background-color: #000; /* Fondo negro para destacar imágenes */
}

.container-all {
    position: relative;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
}

.slide {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 600ms ease-in-out;
}

.item-slide {
    flex: 0 0 100%;
    width: 100vw;
    height: 100dvh;
}

.item-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ajusta la imagen sin deformarla */
}

.pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.pagination-item {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 300ms;
}

.pagination-item.active {
    background: #fff;
}

@media only screen and (max-width: 550px){
	.item-slide img {
        object-fit: contain; /* Evita el recorte en móviles */
        background-color: #000; /* Opcional: Rellena el espacio con negro si la imagen no cubre todo */
    }	
}

