@import url('https://fonts.googleapis.com/css2?family=Lato&family=Raleway:wght@300&display=swap');

*{
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif; 

}

body {
    text-align: center;
    font-size: 1.5rem;
    margin: auto;
    width: 40%;
    border: none;
}

h1 {
    color: #616161;
    margin: 5% 0 2% 0;
    font-weight: 300;
    font-size: 2.5rem;
}

img {
    height: 5%;
    width: 5%;
}

#useless {
    border: none;
    margin-top: 1%;
}

ul {
    list-style-type: none;
    text-align: left;
    margin-top: 2%;
    padding-left: 0%;
}

li {
    margin: 2%;
    padding-bottom: 2%;
    border-bottom: 1px solid lightgray;
}

.checkbox {
    background-color: #F2F2F2;
    border-radius: 2px;
    appearance: none;
    width: 17px;
    height: 17px;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 5%;
    box-shadow: 1px 1px 1px 1px #616161;
}

.checkbox:checked{
    background: #A8CCE8 url("data:image/gif;base64,R0lGODlhCwAKAIABAP////3cnSH5BAEKAAEALAAAAAALAAoAAAIUjH+AC73WHIsw0UCjglraO20PNhYAOw==") 3px 3px no-repeat;
}

button {
    padding: 0.5rem;
    font-size: 1.25rem;
    color: #616161;
    border: none;
    border-radius: 1rem;
    background-color: #F2F2F2;
}

#submit:hover {
    background-color: #9DDB93;
    color: white;
}

#clearAll:hover {
    background-color: #FF7D78;
    color: white;
}

#hideDone:hover {
    background-color: #9c9a9a;
    color: white;
}

#showAll:hover {
    background-color: #9c9a9a;
    color: white;
}

.remove {
    float: right;
    padding-left: 1px;
    padding-right: 1px;
}

#amount {
    font-size: 1.25rem;
    padding: 0.5rem;
    float: left;
}

#clearAll {
    float: right;
}

textarea {
    padding: 0.5rem;
    font-size: 1.25rem;
    resize: none;
    border-radius: 1rem;
    border-style: none;
    background-color: #F2F2F2;
}

#submit {
    vertical-align: top;
}

@media screen and (max-width: 1100px) {
    body {
        width: 90%;
        font-size: 3vw;
    }

    textarea, #submit, #clearAll, #amount {
        float: none;
    }

    textarea {
        float: none;
    }

}

@media screen and (max-width: 500px){
    [class*="col-"] {
        width: 100%;
    }
  
    body {
        width: 90%;
        font-size: 1.3rem;
    }

    #second {
        margin-top: 2%;
    }

    .remove {
        padding-left: 0;
        padding-right: 0;
    }
}