.prio-group button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    transform: translateY(-1px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

button.clear {
    background-color: var(--lightgrey);
    border: 2px solid var(--darkblue);
    color: var(--darkblue);
    padding: 13px 23px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
}

button.clear:hover {
    color: var(--lightblue);
    border: 2px solid var(--lightblue);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    transform: translateY(-1px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.add-task-btn {
    display: flex;
}

button.create-task {
    background-color: var(--darkblue);
    color: white;
    padding: 13px 23px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
}

button.create-task:hover {
    background-color: var(--lightblue);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    transform: translateY(-1px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1000;
}

.popup-content {
    background: var(--darkblue);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    transform: translateY(100%);
    animation: popupEnter 0.5s forwards;
}

.popup-content img {
    height: 24px;
    width: auto;
    display: flex;
    padding-left: 10px;
}

@keyframes popupEnter {
    from {
        transform: translateY(80%);
    }

    to {
        transform: translateY(-100%);
    }
}

@keyframes popupExit {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(100%);
    }
}

#subtask-list li.edit-mode button {
    display: inline-block;
}

#subtask-list li button {
    display: none;
}

#subtask-list li:hover button {
    display: inline-block;
}

.subtask-buttons {
    position: absolute;
    right: 20px;
    display: flex;
}

.subtask-buttons img {
    height: 14px;
    cursor: pointer;
}

.subtask-button {
    border: inherit;
    padding: 0;
    background-color: rgb(228, 228, 228);
}

.subtask-edit-container button {
    background-color: white !important;
}

.subtask-edit-container button:hover {
    background-color: rgb(228, 228, 228) !important;
    border-radius: 50%;
}

.subtask-item:hover .subtask-buttons {
    display: flex;
}

.subtask-item button {
    background-color: rgb(228, 228, 228);
}

#subtask-action-buttons img {
    height: 10px;
    width: auto;
}

#subtask-action-buttons img:hover {
    background-color: rgb(228, 228, 228);
    border-radius: 30%;
}

#subtask-list li.edit-mode button {
    padding: 0;
}