/* Reset e fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #89f7fe, #66a6ff);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: #fff;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    padding: 10px;
}
h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#todo-input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid #66a6ff;
    outline: none;
    font-size: 16px;
    transition: 0.3s;
}

#todo-input:focus {
    border-color: #89f7fe;
}

#add-btn {
    padding: 10px 20px;
    background: #66a6ff;
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

#add-btn:hover {
    background: #89f7fe;
}

#todo-list {
    list-style: none;
}

.todo-item {
    background: #f0f4ff;
    height: 10%;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.todo-item.completed {
    text-decoration: line-through;
    opacity: 0.6;
}

.todo-item button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #ff4b5c;
    font-size: 18px;
    transition: 0.3s;
}

.todo-item button:hover {
    transform: scale(1.2);
}

@media(max-width: 450px){
    .container {
        width: 90%;
    }

    #todo-input {
        width: 20px;
    }

    #add-btn {
        padding: 10px;
    }
}
