
body {
    background-color: blanchedalmond;
    max-width: 400px;
    margin: 0 auto;
    font-family: sans-serif;
}

h1 {
    text-align: center;
    font-size: 40px;
}

input {
    height: 50px;
    border: 1px solid;
    background-color: white;
    color: black;
    font-size: 24px;
    outline: none;
    width: 72%;
}

button {
    background-color: white;
    font-size: 20px;
    border: 1px solid;
    height: 55px;
    cursor: pointer;
    transition: 0.5s;
    width: 100px;
}

button:hover {
    background-color: green;
    color: white;
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


form#task-form {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

form#task-form input {
    flex: 1;
    width: auto;
}

form#task-form button {
    width: auto;
    padding: 0 14px;
}


input:focus, button:focus {
    outline: 3px solid rgba(0,128,0,0.25);
    outline-offset: 2px;
}

.delete {
    margin-left: 10px;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    background-color: white;
    padding: 10px;
    margin: 5px auto;
    border-radius: 5px;
    color: black;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid;
}

span {
    cursor: pointer;
    margin-left: 10px;
}