* {
    box-sizing: border-box;
}

h1 {
    text-align: center;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 3rem;
}

#taskBlock, #app, #tabs, #newTask, .task {
    width: 300px;
}

#topTask, #tabs, #new, button {
    height: 50px;
}

#topTask {
    border: 2px solid black;
    border-radius: 30px 30px 0 0;
    text-align: center;
    padding: 10px;
    font-size: 1.3rem;
}

#app {
    margin: auto;
}

#tabs {
    display: grid;
    grid-template-columns: 100px 40px 60px 85px;
    grid-template-rows: 1fr;
    text-align: center;
    align-items: center;
    border: 2px solid black;
    border-radius: 0 0 30px 30px;
}

#tabs p {
    margin: 0;
    min-width:40px;
}

#newTask {
    margin-top: 20px;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#new {
    width:250px;
    padding: 0;
}

button {
    width: 45px;
    font-size: 2.5rem;
    padding: 0px;
}

.task {
    display: grid;
    grid-template-columns: 50px 200px 50px;
    grid-template-rows: 1fr;
    min-height: 50px;
    border: 1px solid black;
    border-right: 2px solid black;
    border-left: 2px solid black;
    align-items: center;
    justify-content: center;
}

.taskInput {
    grid-row: 1/2;
    grid-column: 1/2;
    width: 35px;
    height: 35px;
    margin:0;
    justify-self: center;
    align-self: center;
}

input[type=checkbox]:checked + .taskLabel {
    color: grey;
    text-decoration: line-through;
}

input[type='checkbox'] {
    accent-color: grey;
}

.taskLabel {
    color: red;
    font-family: cursive;
    grid-row: 1/2;
    grid-column: 2/3;
    font-size: 1.2rem;
    max-width: 200px;
    white-space: pre-line;
    padding: 2px;
}

.taskBtn {
    grid-row: 1/2;
    grid-column: 3/4;
    height: 35px;
    width: 35px;
    margin:0;
    justify-self: center;
    align-self: center;
    font-size: 1.5rem;
}

input[type=radio] {
    display: none;
}

.filters {
    border: 1px solid black;
    padding: 2px;
}

input[type=radio]:checked + .filters {
    background-color: rgb(255, 0, 0);
    color: white;
}
