@charset 'UTF-8';
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;900&display=swap');

:root {
    --priority-high: rgb(242,133,59);  
    --priority-medium: rgb(232,214,235);
    --priority-low: rgb(252,235,214);
    --highlight-color: rgb(217,247,67);
    --highlight2: rgb(161,156,48);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body { 
    width: 100%;    
    height: 100vh;
    display: grid;
    grid-template-columns: 300px auto;
    grid-template-rows: max(100px) auto minmax(30px,30px);
}

h1 {
    text-align: center;
    align-self: center;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

aside {
    line-height: 3em;
    background-color: var(--highlight2);
    padding: 10px;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

p.task-validation{
    line-height: normal;
    padding: 5px;
    color: var(--priority-low);
}

h3 {
    font-size: 20px;
    color: rgba(0,0,0,.5);
    text-align: center;
    padding-bottom: 20px;    
}

main {
    justify-self: center;
    line-height: 1.5em;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

ul.task-elements li {
    list-style-type: none;
    margin-bottom: 10px;
}

.pending {
    font-size: 18px;
    font-weight: bold;
}    
.checked{
    font-size: 18px;
    font-weight: bold;    
    text-decoration: line-through;
}

.task-deadline {
    color: rgb(97, 97, 97);
    font-size: 15px;
}

button.bt-add {
    font-size: 30px;
    background-color: transparent;
    border: none;
}

button.bt-check {
    display: inline-flex;
    background-color: transparent;
    border: none;
}

i.ph-circle, i.ph-check-circle {
    font-size: 30px;
    background-color: transparent;
    color:black;
    border: none;
}

i.check-hover {
    position: absolute;
    color: transparent;
}

i.check-hover:hover {
    color: black;
    clip-path: circle(30%);  
    outline: 5px;
    cursor: pointer;
}

button.bt-remove {
    font-size: 30px;
    background-color: transparent;
    color:transparent;
    border: none;
}

button.bt-remove:hover {
    color:black;
    cursor: pointer;

}

div.container-tasks {
    display: flex;
    gap: 20px;
}

.priority-high {
    display: flex;
    flex-direction: column;
    background-color: var(--priority-high);
    width: 300px;
    height: 600px;
    padding: 10px;
    border-radius: 15px;    
}

.priority-medium {
    background-color: var(--priority-medium);
    width: 300px;
    height: 600px;
    padding: 10px;
    border-radius: 15px;  
}

.priority-low {
    background-color: var(--priority-low);
    width: 300px;
    height: 600px;
    padding: 10px;
    border-radius: 15px;   
}

footer {
    font-size: small;
    background-color: var(--highlight-color);
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    text-align: center;
    align-self: center;
    padding: 10px 0;
}

footer a {
    border: solid 1px black;
    border-radius: 99999px;
    padding: 0 5px;
    text-decoration: none;
    font-weight: 500;
    color: black;
}