/* Archivo: css/style.css */
body {
    font-family: Arial, sans-serif;
    text-align: center !important;
    background-image: url('../img/fondo.png');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
}

.container-index {
    background: rgba(255, 255, 255, 0.5);;
    padding: 70px;
    border-radius: 10px;
    width: 60%;
    margin: 50px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 210px;
}

.container {
    background: rgba(255, 255, 255, 0.5);;
    padding: 70px;
    border-radius: 10px;
    width: 60%;
    margin: 50px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 105px;
}

button {
    background: #66aaf8;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin: 10px;
}

button:hover {
    background: #3292f2;
}

.opciones-container {
    gap: 1rem;
}

.opcion-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.opcion-label:hover {
    background-color: #eaf4ff;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.opcion-label img {
    width: 60px;    
    height: auto;
}

.opcion-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.opcion-imagen {
    max-width: 80px;
    height: auto;
}

.opcion-texto {
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
    color: #007bff;
}

.container h2 {
    margin-top: -20px;
    margin-bottom: 45px;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px; /* Ajusta el tamaño del logo */
    height: auto;
    z-index: 10;
}

.progress-wrapper {
    position: relative;
    height: 24px; /* aumenta el alto */
    background-color: #e0e0e0;
    border-radius: 10px;
    width: 100%;
    overflow: visible; /* importante */
}

.progress-bar {
    background-color: #66bbf3 !important;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease-in-out;
}

#ranita {
    position: absolute;
    bottom: 100%; /* la posiciona justo arriba de la barra */
    left: 0;
    font-size: 24px;
    transition: left 0.3s ease-in-out, transform 0.2s ease;
    height: 50px;
}


#meta {
    position: absolute;
    bottom: 100%;
    right: -10px;
    font-size: 24px;
}
#ranita, #meta {
    z-index: 10;
}

@keyframes salto {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-20px); }
    60%  { transform: translateY(0); }
    100% { transform: translateY(0); }
}

/* Estilos para el resultado final */
#resultado {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.container a {
    display: inline-block;
    margin-top: 1rem;
    text-decoration: none;
    color: white;
    background-color: #007bff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.container a:hover {
    background-color: #0056b3;
}
