.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fade-in 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: var(--bg-color-box);
    margin: 15% auto;
    padding: 1rem;
    width: 25vw;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slide-down 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slide-down {
    0% { transform: translateY(-50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

#modalQuestion {
    font-size: large;
    text-align: center;
}

.button-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 50em;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: solid 1px grey;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
    border: solid 1px var(--accent-color);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn.delete:hover {
    border: solid 1px var(--error-bg);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media all and (max-width: 650px) {
    .modal-content {
        margin: 40% auto;
        width: 80%;
        padding: 1.5rem;
    }
}
