*{
    box-sizing: border-box;
    padding: 0;
}

body{
    margin: 0;
    display: flex;
    justify-content: center; 
    background: rgba(0,0,0 ,0.5);
}

h2{
    font-family: cursive;
    margin-bottom: 1.5em;
    text-align: center;
    font-weight: bold;
}

.form{
    position: absolute;
    top: 10%;
    background: goldenrod;
    box-shadow: 0 4px 8px rgba(0,0,0 ,0.5);
    width: 30em;
    padding: 10px;
    border-radius: 10px;
}

.input{
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    outline: none;
    font-family: cursive;
}
.input::placeholder{
    color: gray;
}

.list li{
    background: black;
    padding: 15px;
    border-top: double;
    border-color: lightgray;
    color: white;
    font-family: cursive;
    font-size: 13px;
    list-style-type: none;
    border-radius: 5px;
    position: relative;
}

.list li .fa-check-square{
    position: absolute;
    right: 50px;
    color: rgb(86, 241, 86);
    top: 50%;
    transform: translateY(-50%);
    scale: 1.3;
    cursor: pointer;
}

.list li .fa-trash{
    position: absolute;
    right: 15px;
    color: red;
    top: 50%;
    transform: translateY(-50%);
    scale: 1.3;
    cursor: pointer;
}

.list li.checked{
    text-decoration: line-through;
    color: grey;
}

.list li.checked .fa-check-square{
    color: gray;
}

footer{
    position: absolute;
    bottom: 0;
    text-align: center;
    background: black;
    width: 100%;
    font-family: cursive;
    font-size: 12px;
    font-weight: bold;
    color: gold;
}

@media screen and (max-width: 400px){
    .form{
    position: absolute;
    top: 10%;
    background: goldenrod;
    box-shadow: 0 4px 8px rgba(0,0,0 ,0.5);
    width: 24em;
    padding: 10px;
    border-radius: 10px;
}
}
    
