* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
}

#container {
    margin: 0 auto;
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 600px;
}

h1 {
    background-color: #059142;
    font-size: 1.9em;
    color: white;
    padding: 10px;
    border-radius: 10px 10px 0px 0px;
    text-transform: uppercase;
    width: 350px;
    text-align: center;
}

.caixa {
    border: 2px solid #059142;
    border-radius: 0px 0px 10px 10px;
    width: 350px;
    text-align: center;
}

#inputTarefas {
    margin: 20px 0px 20px 0px;
    background-color: rgba(211, 211, 211, 0.644);
    outline: none;
    border: none;
    padding: 6px;
    border-radius: 25px;
    font-size: 1em;
}

#addTarefa{
    border: none;
    width: 120px;
    padding: 6px;
    border-radius: 25px;
    font-size: 1em;
    background-color: #07da63;
    color: white;
    cursor: pointer;
}

hr {
    margin-bottom: 20px;
}

.lista {
    margin: 0 auto;
    border: 2px solid #059142;
    padding: 10px;
    width: 300px;
    height: 45px;
    background-color: white;
    border-radius: 5px;
    margin-bottom: 10px;
    list-style: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
}

.marcarLista {
    opacity: 0.5;
    border: 2px solid #ccc;
    text-decoration: line-through;
}

.btns {
    width: 25px;
    cursor: pointer;
    float: right;
    margin-right: 10px;
    transform: translate(40%, -10%);
}

@media (min-width: 576px){
    h1 {
        width: 500px;
    }

    .caixa {
        width: 500px;
    }

    #inputTarefas{
        padding: 11px;
    }
    #addTarefa{
        padding: 11px;
    }
    .lista{
        width: 450px;
    }
}