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

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

p.descripcion {
    color: #666;
    margin-bottom: 30px;
    text-align: center;
    max-width: 600px;
}

/* EMPIEZA LA SECCION DEL CARRUSEL */

.carrusel-contenedor {
    width: 100%;
    max-width: 700px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #000;
}

.carrusel-fila {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrusel-fila img {
    width: 100%;
    min-width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Flechas */
.carrusel-flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrusel-flecha:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carrusel-flecha-izq {
    left: 12px;
}

.carrusel-flecha-der {
    right: 12px;
}

/* Puntos o Dots */
.carrusel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carrusel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carrusel-dot-activo {
    background-color: white;
}

/* Celulares */
@media (max-width: 480px) {
    body {
        padding: 15px 10px;
    }

    h1 {
        font-size: 18px;
    }

    p.descripcion {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .carrusel-contenedor {
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }

    .carrusel-fila img {
        height: 200px;
    }

    .carrusel-flecha {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .carrusel-flecha-izq {
        left: 6px;
    }

    .carrusel-flecha-der {
        right: 6px;
    }

    .carrusel-dots {
        gap: 6px;
        bottom: 8px;
    }

    .carrusel-dot {
        width: 8px;
        height: 8px;
    }
}
