/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: Arial, sans-serif;

    background-image: url("Imagens-ToDoList/fundo-wolf.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* CONTAINER PRINCIPAL */
.container {
    width: 90%;
    max-width: 700px;

    padding: 30px;

    border-radius: 25px;

    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,0.3);

    box-shadow:
        0 8px 32px rgba(0,0,0,0.35);

    color: white;
}

/* TÍTULO */
h1 {
    text-align: center;
    margin-bottom: 25px;
}

/* CAMPO DE ADICIONAR */
.add-task {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

#taskInput {
    flex: 1;

    padding: 15px;

    border: none;
    border-radius: 12px;

    background: rgba(255,255,255,0.15);

    color: white;

    outline: none;
}

#taskInput::placeholder {
    color: rgba(255,255,255,0.7);
}

/* BOTÃO ADICIONAR */
#addBtn {
    width: 55px;
    border: none;
    border-radius: 12px;

    background: #002159;
    color: white;

    font-size: 24px;
    cursor: pointer;

    transition: 0.3s;
}

#addBtn:hover {
    transform: scale(1.05);
}

/* LISTA */
#taskList {
    list-style: none;
}

.task {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 15px;
    padding: 15px;

    border-radius: 12px;

    background: rgba(255,255,255,0.08);
}

/* CHECKBOX */
.task input[type="checkbox"] {
    width: 20px;
    height: 20px;

    accent-color: #002159;
}

/* TEXTO */
.task span {
    flex: 1;
}

/* TAREFA CONCLUÍDA */
.completed {
    text-decoration: line-through;
    opacity: 0.6;
}

/* BOTÃO EXCLUIR */
.delete-btn {
    background: #002159;

    color: white;

    border: none;
    border-radius: 10px;

    width: 40px;
    height: 40px;

    cursor: pointer;
}

/* RODAPÉ */
.footer {
    margin-top: 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

#clearAllBtn {
    padding: 12px 20px;

    border: none;
    border-radius: 12px;

    background: #002159;
    color: white;

    cursor: pointer;
}
