* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(180deg, #1695A3, #F3FFE2);
    color: 	#FFFBEB;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
}

header {
    font-size: 1.8rem;
}


header, form {
    min-height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

form input {
    border-radius: 5px 0 0 5px;
}
form button {
    border-radius: 0 5px 5px 0;
}

form input, form button {
    padding: 0.5rem;
    font-size: 2rem;
    border: none;
    background: white;
    color: #7e7c7c;
}

form button {
    color: 	#225378;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

form button:hover {
    background:#225378;
    color: white;
}

.todo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.todo-list { 
    min-width: 30%;
    list-style: none;
}

.todo {
    margin: 0.5rem;
    background: white;
    color: black;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease;
    color: #666666;
    border-radius: 5px 5px 5px 5px;
}

.todo li{
    flex: 1;
}

.trash-btn,
.complete-btn {
    background: #225378;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1rem;
    color: white;
}

.trash-btn {
    border-radius: 0 5px 5px 0;
}

.complete-btn {
    background: rgb(61, 165, 61);
}

.todo-item {
    padding: 0rem 0.5rem;
}

.fa-trash, 
.fa-check {
    pointer-events: none;
}

.completed {
    text-decoration: line-through;
    opacity: 0.5;
}

.fall {
    transform: translateY(8rem) rotateZ(10deg);
    opacity: 0;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
}

.select {
    margin: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 5px 5px 5px 5px;
}

select {
    color: #225378;
    width: 12rem;
    cursor: pointer;
    padding: 1rem;
    font-size: 1.1rem;
}

.select::after {
    content: '\25BC';
    position: absolute;
    background: white;
    top: 0;
    right: 0;
    padding: 1rem;
    pointer-events: none;
    transition: 0.3s ease all;
    color: #225378;
}

.select:hover::after {
    background: #225378;
    color: white;
}

@media screen and (max-width: 600px) {
    form input {
        width: 50%;
        font-size: 1.2rem;
    }
    .todo-button {
        font-size: 1.2rem;
    }
    select {
        width: 4rem;
        font-size: 0.6rem;
        padding: 0.9rem;
    }
    .select::after {
        display: none;
    }
    .todo-item {
        font-size: 1.2rem;
        width: 30%;
    }
    .trash-btn,
    .complete-btn {
        padding: 0.6rem;
    }
}