/* Reset */
html {
    font-size: 10px;
}

* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    font-size: 1.6rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 3rem;
}

h4 {
    font-size: 2.5rem
}

h5 {
    font-size: 2rem;
}

h6 {
    font-size: 1.8rem;
}

input:focus {
  outline: none;
}

/* CSS */
body {
    background-color: rgb(65, 60, 60);
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

header {
    background-image: linear-gradient(to bottom, rgb(121, 53, 109), rgb(214, 142, 202));
    /* background-color: rgb(159, 84, 230); */
    padding: 1rem;
    text-align: center;
}

main {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.board {
    width: 140rem;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    overflow-x: auto;
    padding: 0rem 2rem;
}

.column {
    flex-shrink: 0;
    min-height: 50rem;
    width: 40rem;
    background-color:rgba(190, 188, 190, 0.26);
    border-radius: 2rem;
}

.column>h2 {
    background-color:rgba(189, 52, 166, 1);
    text-align: center;
    padding: 1rem 0rem;
}

#to-do {
    position: relative;
}

.add-task {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
}

.add-task>input {
    width: 75%;
    height: 3.5rem;
    border-bottom-left-radius: 2rem;
    border: 1px solid rgba(190, 188, 190, 0.26);
    border-right: 1px solid white;
    background-color:rgba(190, 188, 190, 0.26);
    color: white;
    padding-left: 2rem;
}

.add-task>input:focus {
    border: 1px solid white;
}

.add-task>button {
    height: 3.5rem;
    width: 25%;
    border-bottom-right-radius: 2rem;
    border: none;
    background-color:rgba(189, 52, 166, 1);
    color: white;
    cursor: pointer;
}

.tasks {
    height: 42rem;
    overflow: auto;
}

.to-do {
    height: 40rem;
}

.tasks>div {
    height: 14rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.to-do>div {
    background-color: rgba(198, 255, 40, 0.25);
}

.in-progress>div {
    background-color: rgba(19, 253, 39, 0.25);
}

.done>div {
    background-color: rgba(129, 150, 130, 0.25);
}

.primary {
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.primary>h5 {
    word-wrap: break-word;
}

.interface {
    margin-top: 1rem;
    display: flex;
    gap: 2rem;
}

.interface>button {
    width: 7rem;
    height: 3rem;
    border-radius: 9999px;
    border: none;
    background-color: rgba(189, 52, 166, 1);
    color: white;
    transition: 0.5s ease;
    cursor: pointer;
}

.interface>button:hover {
    background-color: rgba(255, 0, 212, 0.918);
    transform: scale(1.05);
}

.drag-handle {
    width: 4.5rem;
    height: 4rem;
    transform: rotate(90deg);
    filter: invert(100);
    cursor: grab;
    transition: 0.5s ease;
    background-image: url("assets/drag.png");
    background-repeat: none;
    background-size: cover;
}

.drag-handle:hover {
    transform: scale(1.1) rotate(90deg);
}