body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #000000, #1c1c1c 40%, #1c1c1c 60%, #000000 100%);
    background-attachment: fixed;
    background-size: cover;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    text-align: center;
    max-width: 800px;
    padding: 20px; /* Agrega un poco de espacio alrededor */
}

.logo img {
    width: 50px;
}

.avatar-item {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

.avatar-item img {
    width: 60%;
}

.question {
    font-size: 24px;
    margin-top: 30px;
}

.password-container {
    position: relative;
    margin-top: 40px;
}

input[type='password'] {
    width: 100%;
    max-width: 300px;
    padding: 10px 15px;
    border-radius: 5px;
    border: none;
}

.toggle-password {
    position: absolute;
    right: 10px; /* Ajusta la posición del ícono del ojo */
    top: 50%;
    transform: translateY(-50%);
}

.toggle-password img {
    width: 20px;
}

button {
    margin-top: 30px;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background-color: white;
    color: black;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; 
    pointer-events: none;
}


.splide__slide {
    transition: all 0.5s ease-out;
    opacity: 0.9;
}

/* Elimina el fondo del carrusel */
.splide {
    background-color: transparent;
    margin-top: 30px;
}

/* Ajusta el gradiente para que coincida exactamente con el fondo */
.splide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgb(28, 28, 28, 1) 0%,
        rgba(0, 0, 0, 0) 20%,
        rgba(0, 0, 0, 0) 80%,
        rgba(28, 28, 28, 1) 100%
    );
    z-index: 2; /* Aumenta el z-index para asegurar que esté por encima */
    pointer-events: none;
}
.splide__track {
    padding: 0 !important;
    margin: 0 !important;
}

.center {
    opacity: 1; /* Tarjetas del centro completamente iluminadas */
}

.near-center {
    opacity: 0.6; /* Tarjetas adyacentes al centro un poco menos iluminadas */
}

.far {
    opacity: 0.2; /* Tarjetas más extremas menos iluminadas */
}


/* Media Queries para responsividad */

@media (max-width: 768px) {
    .avatar-item {
        height: 80px; /* Reduce el tamaño de las tarjetas */
    }

    .question {
        font-size: 20px; /* Reduce el tamaño del texto */
    }

    input[type='password'] {
        max-width: 250px; /* Ajusta el ancho del campo de texto */
        font-size: 14px; /* Reduce el tamaño del texto */
    }

    button {
        font-size: 14px; /* Reduce el tamaño del botón */
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .avatar-item {
        height: 60px; /* Reduce aún más el tamaño de las tarjetas */
    }

    .question {
        font-size: 16px; /* Reduce el tamaño del texto */
    }

    input[type='password'] {
        max-width: 200px; /* Ajusta el ancho del campo de texto */
        font-size: 12px; /* Reduce el tamaño del texto */
    }

    button {
        font-size: 12px; /* Reduce el tamaño del botón */
        padding: 6px 12px;
    }
}
