body { height: 100vh;
background: url(images/background.jpg) no-repeat center center/cover;

display: flex;
justify-content: center;
align-items: center;
}

#add-task-container {
    width: 350px;
    padding: 20px 10px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 0 3px;
    margin-bottom: 20px;

    display: flex;
}

input {
    flex: 5;
    margin-right: 10px;
    border-radius: 10px;
    font-size: 1.2rem;
    padding: 5px;
}

#add-task {
    flex: 1;
    transition: .3s;

    font-size: 1.1rem;
    padding: 5px;

    background-color: white;
    color: rgb(0, 153, 255);

    border-radius: 10px;
}

#add-task:hover {
    background-color: rgb(0, 153, 255);
    color: white;
    
}

.task{
    width: 100%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 3px;

    padding: 5px;
    margin-bottom: 5px;

    display: flex;
    justify-content: space-between;
}

.task li {
    list-style: none;
    flex: 4;
    padding: 5px;
    font-size: 1.3rem;
    margin: 10px;
}

.task button {
    flex: 1;
    border-radius: 10px;
    background-color: white;
    cursor: pointer;
}

.task .checkTask {
    color: green;
    margin-right: 5px;
    border: solid 2px green;
    font-size: 1.5rem;
}
.task .checkTask:hover {
    background-color: green;
    color: white;
}

.task .checkTask.completed {
    background-color: seagreen;
    border: solid 2px seagreen;
    color: white;
}

.task .deleteTask {
    color: red;
    border: solid 2px red;
    font-size: 1.3rem;
}

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