/* Estilos generales */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.lectura-contenido {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

/* Animaciones */
.animate__delay-02s {
    animation-delay: 0.2s;
}

.animate__delay-04s {
    animation-delay: 0.4s;
}

/* Tarjetas */
.card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Botones */
.btn {
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4e73df;
    border-color: #4e73df;
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2e59d9;
    transform: translateY(-2px);
}

/* Barra de navegación */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Temporizador */
#temporizador,
#temporizador-preguntas {
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
}

/* Preguntas */
.pregunta-item {
    padding: 15px;
    border-radius: 10px;
    background-color: #fff;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Progress bar */
.progress {
    border-radius: 50px;
    overflow: visible;
}

.progress-bar {
    border-radius: 50px;
    position: relative;
    overflow: visible;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -10px;
    top: -5px;
    width: 20px;
    height: 20px;
    background-color: inherit;
    border-radius: 50%;
    border: 3px solid #fff;
}