*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    height: 100%;
    width: 100%;
}

:root{
    --bg-primary-color: rgb(14, 13, 13);

    --text-primary-color: rgb(234, 228, 228);

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 40px;
    --space-3xl: 48px;
    
    --border-primary-color: #333333;
    --border-radius-xs: 4px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-2xl: 24px;
}

html{
    background-color: var(--bg-primary-color);
    color: var(--text-primary-color);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

main,section{
    width: 100%;
    height: 100%;
}

section{
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.section-header{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
button{
    padding: var(--space-sm) var(--space-md);
    color: var(--text-primary-color);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    
}

.new-task-btn{
    background-color: #222;
}

.new-task-btn:hover{
    transform: translateY(-2px);
}

.stages{
    width: 100%;
    flex: 1;
    display: flex;
    gap: var(--space-md);
}

.stage{
    flex: 1;
    background: #1c1c1c;
    padding: var(--space-sm);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.stage-header{
    display: flex;
    justify-content: space-between;
    background-color: var(--bg-primary-color);
    border-radius: var(--border-radius-sm);
    padding: var(--space-md);
}

.stage.hover-over{
    border: 2px dashed var(--text-primary-color);
    scale: 1.05;
}

.tasks{
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.task{
    background-color: #3b3a3a;
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: var(--border-radius-sm);
    cursor: grabbing;
}

.todo-tasks{
    border: 1px solid rgb(243, 50, 50);
}

.inprogess-tasks{
    border: 1px solid rgb(242, 242, 69);
}

.completed-tasks{
    border: 1px solid rgb(11, 150, 11);
}

.delete-task{
    display: flex;
    justify-content: end;
}

.delete-task-btn{
    background-color: rgb(246, 47, 47);
}

.modal{
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    background-color: #1c1c1c81;
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.new-task {
    width: 100%;
    max-width: 400px;
    padding: var(--space-md);
    
    display: flex;
    flex-direction: column;
    gap: var(--space-md);

    background-color: var(--bg-primary-color);
    border-radius: var(--border-radius-md);
    position: relative;
}

/* Group spacing */
.task-name,
.task-details {
    width: 100%;
}

/* Inputs */
.new-task input {
    width: 100%;
    padding: var(--space-sm);
    border-radius: var(--border-radius-sm);
    border: none;
    outline: none;
    font-size: 0.95rem;
}

.form-actions{
    display: flex;
    justify-content: end;
}

.btn-add{
    color: #000000;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;

    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #ffffff;
}

.close-btn:hover {
    color: #8b8a8a;
}