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

body {
    background-image: radial-gradient(circle at 83% 70%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 8%,transparent 8%, transparent 92%),radial-gradient(circle at 72% 5%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 8%,transparent 8%, transparent 92%),radial-gradient(circle at 26% 91%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 6%,transparent 6%, transparent 94%),radial-gradient(circle at 19% 59%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 6%,transparent 6%, transparent 94%),radial-gradient(circle at 18% 99%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 6%,transparent 6%, transparent 94%),radial-gradient(circle at 74% 21%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 6%,transparent 6%, transparent 94%),radial-gradient(circle at 54% 49%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.03) 6%,transparent 6%, transparent 94%),radial-gradient(circle at 14% 83%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.04) 4%,transparent 4%, transparent 96%),radial-gradient(circle at 37% 84%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.04) 4%,transparent 4%, transparent 96%),radial-gradient(circle at 42% 27%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.04) 4%,transparent 4%, transparent 96%),radial-gradient(circle at 67% 82%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.04) 4%,transparent 4%, transparent 96%),linear-gradient(135deg, rgb(207, 223, 223),rgb(3, 35, 171));
    color: white;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.app-container {
    animation: fadeIn 750ms;
    background-color: #ffffff;
    width: 700px;
    height: 700px;
    -webkit-box-shadow: 7px 7px 16px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    7px 7px 16px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         7px 7px 16px 0px rgba(50, 50, 50, 0.75);
    border-radius: 25px;
    overflow: hidden;
}

header {
    padding: 15px;
    font-size: 1rem;
    font-weight: 700;
    background-color: rgb(12, 72, 141);
}

.fa-solid {
    font-size: 1.5rem;
    margin-right: 10px;
}

form {
    border-bottom: 1px solid #d6d6d6;
    height: 150px;
}

header, form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bar-and-btn {
    display: flex;
    justify-content: center;
}

form input, form button {
    padding: 0.5rem;
    font-size: 1.5rem;
    border: none;
    background: white;
    border: 2px solid #d6d6d6;
    border-radius: 15px;
}

.todo-input {
    width: 95%;
}

input::-webkit-input-placeholder { 
    font-size: 1.5rem;
    color: #9c9c9c;
  }
  input::-moz-placeholder { 
    font-size: 1.5rem;
    color: #9c9c9c;
  }
  input:-ms-input-placeholder { 
    font-size: 1.5rem;
    color: #9c9c9c;
  }
  input:-moz-placeholder { 
    font-size: 1.5rem;
    color: #9c9c9c;
  }

form button {
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

form button:hover {
    background: rgb(39, 140, 255);
    color: white;
}

.todo-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 5%;
    height: 57%;
    overflow: auto;
}

/* width */
::-webkit-scrollbar {
    width: 20px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: gray; 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: rgb(39, 140, 255); 
  }

.todo-list {
    width: 100%;
    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;
    border: 1px solid #d6d6d6;
    border-radius: 25px 0 0 25px;
    overflow: hidden;
    font-weight: 700;
    height: 52px;
    animation: fadeIn 750ms;
}

.todo li {
    flex: 1;
}

.trash-btn, .complete-btn {
    background: rgb(255, 73, 73);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1rem;
}

.complete-btn {
    background: rgb(17, 131, 17);
}

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

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

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

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

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
}

.select {
    margin: 1rem;
    position: relative;
    overflow: hidden;
    border: 2px solid #d6d6d6;
}

select {
    color: black;
    width: 10rem;
    cursor: pointer;
    padding: 1rem;
}

.select::after {
    content: "\25BC";
    position: absolute;
    background: gray;
    top: 0;
    right: 0;
    padding: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.select:hover::after {
    background: rgb(87, 165, 255);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media only screen and (max-width:800px) {
    .app-container {
        width: 90%;
        height: 90vh;
    }
    
    form {
        display: flex;
        flex-direction: column;
    }

    .todo {
        font-size: 16px;
    }


}