/* Font */


/* Global */
* {
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
}
html {
    font-size: 62.5%;
}
body {
    background: url("../img/typewriter.jpg") center fixed no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: row;
    place-content: center center;
}

/* Main */
main {
    margin: 19% 19% auto;
    background-color: white;
    width: 40%;
    height: 20rem;
    text-align: center;
    overflow: auto;
}
main textarea {
    width: 98%;
    border: none;
    border-bottom: solid 1px gray;
}
main button {
    margin-top: 2px;
    border: solid 1px gray;
    border-radius: 5px;
    box-shadow: 1px 1px 1px black;
    padding: 0.3rem;
}
#addButton:hover {
    background-color: #e5ffe5;
}
#addButton:active {
    background-color: rgb(161, 209, 123);
    box-shadow: none;
}
#clearAllButton {
    margin-left: 0.3rem;
}
#clearAllButton:hover {
    background-color: #ffe5e5;
}
#clearAllButton:active {
    background-color: rgb(209, 123, 123);
    box-shadow: none;
}
main ul {
    width: 100%;
    padding: 0;
}
ul li {
    width: 100%;
    padding: 0;
    font-size: 1.4rem;
    font-family: 'Courier New', Courier, monospace;
    list-style-type: decimal;
}
.deleteButton {
    background-color: white;
    padding: 0.2rem 0.5rem;
}
.deleteButton:hover {
    background-color: #ffe5e5;
}
.deleteButton:active {
    background-color: rgb(209, 123, 123);
    box-shadow: none;
}
ul li:hover {
    background-color: lightgrey;
    text-decoration: line-through #FF3028;
}

@media all and (max-width: 767px) {
    main {
        margin-top: 60%;
        width: 65%;
    }
}