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

body {
    font-family: 'Roboto', sans-serif;
    background-image: linear-gradient(120deg, #A20025, #f12152);
    min-height: 100vh;
}

header {
    font-size: 1.5rem;
}

header, form {
    min-height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

form input, form button {
    padding: 0.5rem;
    font-size: 2rem;
    border: none;
    background: white;
}

form button {
    color: #A20025;
    background: #fff;
    cursor: pointer;
    transition: all 0.3sec ease;
}

form button:hover {
    background: #f12152;
    color: #fff; 
}

.todo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.todo-list {
    min-width: 30%;
    list-style-type: none;
}

.todo {
    margin: 0.5rem;
    background: #BAC8D3;
    color: black;
    font-size: 1.5rem;
    display: flex; 
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease; 
}

.todo li {
    flex: 1;
}

.trash-btn, .complete-btn {
    background: #f12152;
    color: #333;
    border: 1px solid;
    border-radius: 10px;
    padding: 1rem; 
    cursor: pointer;
    font-size: 1rem;
}

.complete-btn {
    background: rgb(51, 245, 51)
}

.todo-item {
    padding: 0rem 0.5rem;
}

.fa-trash, 
.fa-check {
    pointer-events: none;
}

.completed {
    text-decoration: line-through;
    opacity: 0.5;
}

p {
    margin: 1vw 10vw;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    border: 2px solid rgba(245, 9, 1, 0.6);
    background: #C0C0C0;
    color: black;
    font-weight: bold;
    box-shadow: 1px 1px 2px rgba(27, 109, 6, 0.4);
    border-radius: 10px;
    padding: 3px 10px;
    display: inline-block;
    cursor: pointer;
}

#mydiv {
    text-align: center;
}

.fall {
    transform: translateY(8rem) rotateZ(20deg);
    opacity: 0;
}