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

body {
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.kanban-board {
    min-height: 90vh;
    min-width: 80vw;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
    background-color: #ddd;
    border-radius: 2rem;
    padding: 2rem;
    margin: 5rem;
    
}

/* Column */
.column {
    min-height: 70vh;
    min-width: 200px;
    background-color: #fff;
    padding-bottom: 1rem;
    margin: 1rem;
}

.column-title {
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.green {
    background-color: green;
}

.blue {
    background-color: steelblue;
}

.orange {
    background-color: orange;
}

/* Task container */
.task-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 70vh;
}

.task-card {
    min-width: 8rem;
    max-width: 8rem;
    min-height: 8rem;
    background-color: #fff;
    margin: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0 5px rgba(0,0,0, .4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.task-header {
    min-height: 2rem;
    border-radius: 1rem 1rem 0 0;
    padding: .5rem;
}

.task-description {
    text-align: justify;
    flex: 1
}

/* Draggable */
.dragging {
    opacity: 0.5;
}

.drag-over {
    border: 2px dashed #000;
}

/* Add button */
.add-task-btn {
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    right: 1rem;
    transition: all .3s;
    cursor: pointer;
}

.add-task-btn:hover {
    transform: scale(1.3);
}

/* Draft task */
.task-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clear-task, .save-task {
    border: none;
    color: white;
    padding: .4rem .8rem;
    cursor: pointer;
}

.save-task {
    background-color: green;
    border-radius: 1rem 0 1rem 0;
}

.clear-task {
    background-color: red;
    border-radius: 0 1rem 0 1rem;
}

/* Task level delete */
.delete-task {
    color: red;
    align-self: flex-end;
    padding: .3rem .5rem;
    border-radius: 2rem;
    transition: all .4s;
}

.delete-task:hover {
    color: white;
    background-color: red;
}