* {
    margin: o;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica, sans-serif;
    color: #77ffc0;
}
body {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.filter-video {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.filter-video::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
button {
    background-color: #77ffc0;
    color: #2b134b;
    border: none;
    border-radius: 20px;
    padding: .3rem .6rem;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
}
button:hover {
    color: #77ffc0;
    background-color: #2b134b;
}
button:hover i {
    color: #fdfdfd;
}
button i {
    color: #102f5e;
    font-weight: bold;
    pointer-events: none;
}
input, select {
    padding: 0.25rem 0.5rem;
    background-color: #514869;
    border: none;
    border-radius: 15px;
    color: #f0ffffde;
}
input[type="text"], select {
    padding: 0.55rem;
    margin-right: 10px;
}
input, select:focus {
    outline: 0;
}
.hide {
    display: none;
}
.todo-container {
    max-width: 450px;
    margin: 5rem auto;
    background-color: #2f2841;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0px 10px 40px #00000056;
}
.todo-container header {
    text-align: center;
    padding: 0 1rem 1rem;

}

#todo-form, #edit-form {
    padding: 1rem;
    border-bottom: 1px solid #2f2841;
}
#todo-form, #edit-form {
    margin-bottom: 0.2rem;
    font-weight: bold;
}
.form-control {
    display: flex;
}
.form-control input {
    margin-right: 0.3rem;
}
.form-control button {
    margin-left: 0.2rem;
    padding: 4.8px 9.6px;
}
#cancel-edit-btn {
    margin-top: 1rem;
}
#toolbar {
    padding: 1rem;
    display: flex;
}
#toolbar h4 {
    margin-bottom: .5rem;  
}
#search {
    border-right: 1px solid #2f2841;
    padding-right: 1rem;
    margin-right: 1rem;
    width: 65%;
    display: flex;
    flex-direction: column;
}
#search form {
    display: flex;
}
#serach input {
    width: 100%;
    margin-right: 0.3rem;
}

#filter {
    width: 35%;
    display: flex;
    flex-direction: column;
}
#filter select {
    flex: 1;
}



/* todo list */

.todo {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
    transition: 0.5s;
    border-radius: 15px;
}
.todo h3 {
    flex: 1;
    font-size: .9rem;
    cursor: pointer;
}
.todo:hover {
    background-color: #150d29;
}
.todo h3:hover {
    color: white;
}
.todo button {
    margin-left: .4rem;
}

.done {
    margin-top: 5px;
    background-color: #15a864;
    border-radius: 15px;
    z-index: 100;
}

.done h3 {
    color: white;
    text-decoration: line-through;
    font-style: italic;
}