.modal {
    position: absolute;
    left: 0;
    top: -70px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    z-index: 10;
    height: 120vh;
}

.modal-body {
    position: relative;
    background-color: white;
    width: 40%;
    margin:auto;
    border-radius: 15px;
    padding:1rem;
    top: 180px;
    border: 1px solid black;
}

.top-right{
    position: absolute;
    right:1rem;
    top:1rem;
    cursor: pointer;
}
.top-right:hover{
    font-size: 1.1rem;
    font-weight: bolder;
}

/* Botón de Favorite */
.modal-body button {
    margin: 15px 0;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-body button:hover {
    background-color: #e0e0e0;
}

/* Formulario para seleccionar número de colores */
#formContainerCount {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#questionCount {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

#colorCount {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#botonPaletas {
    background-color: white;
    color: black;
    padding: 10px 20px;
    border: 1px solid transparent; 
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#botonPaletas:hover {
    border: 1px solid black; 
    border-radius: 25px; 
    color: rgba(0, 0, 0, 0.209);
    
}

/* Animación de entrada del modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-body {
    animation: modalFadeIn 0.3s ease;
}


/* .modal {

    position: absolute;
    left: 0;
    top: -70px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    z-index: 10;
}

.modal-body {
   

    position: relative;
    background-color: white;
    width: 40%;
    margin:auto;
    border-radius: 15px;
    padding:1rem;
    top: 180px;
    border: 1px solid black;
}

.top-right{
    position: absolute;
    right:1rem;
    top:1rem;
    cursor: pointer;
}
.top-right:hover{
    font-size: 1.1rem;
    font-weight: bolder;
} */
