@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wdth,wght@0,75..100,300..800;1,75..100,300..800&display=swap');


:root{
    --primary-color: #dec3c3;
    --primary-color-dark: #dec7c3b0;
    --secundary-color: #1404379b;
}


*{
    box-sizing: border-box;
    outline: 0;
}
body{
    margin: 0;
    padding: 0;
    background: var(--primary-color);
    font-family: 'Open sans', sans-serif;
    font-size: 1.3em;
    line-height: 1.5em;
}

.container{
    max-width: 640px;
    margin: 50px auto;
    background: #fff7;
    padding: 20px;
    border-radius: 10px;
}

.btn-enviar, form label, form input{
    display: block;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 5px;
}

.input-tarefa {
    font-size: 18px;
    height: 55px; /* Aumentando a altura */
    width: 100%; /* Ocupa toda a largura disponível */
    padding: 0 15px;
    border: 2px solid var(--secundary-color);
    border-radius: 8px;
    transition: border 0.3s, box-shadow 0.3s;
}

/* Efeito ao focar no input */
.input-tarefa:focus {
    outline: none;
    border-color: var(--primary-color-dark);
    box-shadow: 0 0 10px var(--primary-color-dark);
}
form button {
    border: none;
    background-color: var(--secundary-color);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    height: 50px;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
}

form button:hover {
    background: var(--primary-color-dark);
    transform: scale(1.05);
}

form button:active {
    background: rgb(254, 73, 73);
    transform: scale(0.95);
}

.btn-tarefa {
    background: var(--secundary-color);
    color: white;
    border: none;
    font-size: 18px;
    font-weight: bold;
    height: 30px;
    cursor: pointer;
    margin-top: 10px;
    margin-left: 10px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
}

.btn-tarefa:hover {
    background: var(--primary-color-dark);
    transform: scale(1.05);
}

.btn-tarefa:active {
    background: #990000;
    transform: scale(0.95);
}

/* Melhorias no botão de apagar */
.apagar {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s, transform 0.2s;
    margin-left: 10px;
}

.apagar:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.apagar:active {
    background: #990000;
    transform: scale(0.9);
}