* {
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.333rem;
    font-family: Aleo, --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol";
    word-wrap: break-word;
    user-select: none;
}

body {
    display: grid;
    align-items: center;
    justify-items: center;
    background: hsl(360, 12%, 98%);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 2.5rem;
    color: hsl(246, 12%, 32%);
}

h1 span {
    font-size: inherit;
    color: hsl(27, 100%, 50%);
}

.container {
    display: grid;
    align-items: center;
    justify-items: center;
    width: 50%;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
    }
}

@media (min-width: 1600px) {
    .container {
        width: 33%;
    }
}

nav {
    margin-bottom: 2rem;
    background-color: white;
    padding: 0.5rem;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    border: 1px solid hsl(220, 2%, 80%);
    border-radius: 2px;
}

button,
button:visited {
    outline: none;
    background: hsl(27, 100%, 45%);
    background-size: 20px;
    padding: 0.5rem 0;
    border: 1px solid hsl(27, 100%, 45%);
    color: hsl(360, 12%, 98%);
    cursor: pointer;
    transition-property: background-color;
    transition-duration: 200ms;
    transition-timing-function: ease-out;
    width: 100px;
    border-radius: 2px;
}

button:hover {
    background-color: hsl(27, 100%, 50%);
}

button:active {
    position: relative;
    top: 2px;
}

.delete {
    background: url(trash.png) hsl(27, 100%, 45%) no-repeat center center;
    background-size: 20px;
    width: 48px;
}

.delete:before {
    content: "\00a0";
}

input[type="text"],
textarea {
    outline: none;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    margin-right: 0.5rem;
    color: hsl(246, 12%, 46%);
    width: 100%;
    min-width: 200px;
    background-color: transparent;
}

input[type="text"]::placeholder,
textarea::placeholder {
    color: hsla(246, 12%, 46%, 0.5);
}

textarea:focus{
    text-decoration: none;
}

input[type="checkbox"]{
    cursor: pointer;
}

label {
    padding: 0.5rem;
    cursor: pointer;
}

ul {
    margin: 0;
    padding: 0;
    width: 100%;
}

li {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0.5rem;
    border: 1px solid hsl(220, 2%, 80%);
    border-bottom: 0;
    border-radius: 0;
    background-color: hsl(360, 100%, 100%);
    transition-property: background-color;
    transition-duration: 200ms;
    transition-timing-function: ease-out;
}

li:first-child {
    border-radius: 2px 2px 0 0;
    margin-bottom: 0;
}

li:last-child {
    border-radius: 0 0 2px 2px;
    margin-bottom: 0;
    border-bottom: 1px solid hsl(220, 2%, 80%);
}

.done {
    background-color: hsla(27, 100%, 45%, 0.1);
    transition-property: background-color;
    transition-duration: 200ms;
    transition-timing-function: ease-out;
}

.strikethrough {
    text-decoration-line: line-through;
}

.countdown {
    color:hsl(27, 100%, 45%);
}
