body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    background-color: lightgray;
}

ul {
    background-color: white;
    list-style-type: none;
    margin: 0px;
    padding: 20px;
}

h1 {
    font-weight: bold;
}

form {
    margin: auto;
    margin-top: 20px;
    max-width: 800px;
    background-color: white;
}

.form__header {
    font-weight: bold;
    font-size: 22px;
    padding: 20px;
    border-bottom: solid 1px gray;
}

.input__div {
    padding: 20px;
    display: flex;
}

input {
    flex-grow: 2;
    height: 30px;
    font-size: 28px;
}

.add-task {
    margin-left: 20px;
    background-color: teal;
    color: white;
    border: none;
    width: 100px;
    font-size: 16px;
    transition: 0.3s;
}

.list--item {
    color: black;
    font-size: 32px;
    background-color: white;
    padding: 6px;
    display: flex;
    justify-content: space-between;
}

.done {
    background-color: lime;
    transition: 0.3s;
    order: -1;
}

.done:hover {
    background-color: green;
}

.delete {
    background-color: red;
    color: white;
    transition: 0.3s;
    order: 1;
}

.delete:hover {
    background-color: crimson;
}

.task__button {
    width: 50px;
    height: 50px;
    font-size: 30px;
}

.add-task:hover {
    transform: scale(1.2);
    background-color: rgb(0, 163, 163);
}

.function__buttons {
    background-color: white;
    margin-top: 20px;
    text-align: end;
    padding: 20px;
    border-bottom: solid 1px black;
}

.main {
    margin: auto;
    max-width: 800px;
}

.header {
    margin: auto;
    max-width: 800px;
}

span {
    width: 80%;
    display: flex;
    align-items: center;
}

.hide {
    background-color: white;
    color: teal;
    border: none;
    transition: 0.3s;
    font-size: 20px;
}

.hide:hover {
    color: black;
}

.complete {
    background-color: white;
    color: teal;
    border: none;
    transition: 0.3s;
    font-size: 20px;
}

.complete:hover {
    color: black;
}

.list__label {
    float: left;
    font-size: 20px;
}

.complete:disabled {
    color: gray;
}

@media screen and (max-width: 540px) {
    .input__div{
        flex-wrap: wrap;
    }
    .add-task{
        width: 100%;
        height: 30px;
        margin: 0px;
        margin-top: 10px;
    }
    .function__buttons{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: center;
    }
    .list__label{
        width: 100%;
    }
}