/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100vw;
    background: url("./images/bg.jpg");
    background-size: cover;
}

html {
    font-size: 16px;
}

/* container */

.container {
    padding: 5rem;
    height: 80vh;
    width: 60%;
    /* justify-content: space-between; */
    display: flex;
    flex-flow: column;
    gap: 1rem;
    margin-bottom: 20rem;
}

h2 {
    font-size: 2rem;
    color: rgb(97, 97, 238);
    font-size: 5rem;
    text-align: center;
    text-shadow: 0 -1px 4px #fff, 0 -2px 10px #ff0, 0 -10px 20px #ff8000, 0 -18px 40px #f00,
        2px 2px 15px rgba(206, 89, 55, 0), 2px 2px 15px rgba(206, 89, 55, 0);
}

h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: aqua;
    text-shadow: -11px 6px 18px rgba(200, 101, 101, 0.97);
}
/* form */
form {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
form input {
    width: 90%;
    padding: 1rem 0.5rem;
    font-size: 2rem;
    border-radius: 10px;
    border: 0;
    box-shadow: 1px -1px 91px 49px rgba(212, 174, 174, 0.76);
    -webkit-box-shadow: 1px -1px 91px 49px rgba(212, 174, 174, 0.36);
    -moz-box-shadow: 1px -1px 91px 49px rgba(212, 174, 174, 0.26);
}
button {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    /* border: 1px solid salmon; */
    border: none;
    background-color: transparent;
    transition: all 300ms;
}
button:hover {
    background-color: aqua;
}
/* list */
.list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.card {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 1rem;
    /* From https://css.glass */
    background: rgba(210, 232, 224, 0.39);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.9px);
    -webkit-backdrop-filter: blur(3.9px);
    border: 1px solid rgba(214, 226, 222, 0.52);
    transition: all 1000ms;
}
.card p {
    width: 80%;
}
.card .tittle {
    font-size: 2rem;
    font-weight: bolder;
    color: rgb(11, 15, 125);
}
.fa {
    cursor: pointer;
    font-size: 2rem;
    transition: all 200ms;
}

.check {
    color: rgb(22, 221, 22, 0.2);
}

.check:hover {
    color: rgb(22, 221, 22, 1);
    text-shadow: 2px 2px 15px #ce5937, 2px 2px 15px #ce5937, 2px 2px 15px #ce5937, 2px 2px 15px #ce5937;
}

.trash {
    /* display: none; */
    color: rgb(208, 67, 67);
}

.trash:hover {
    color: rgb(105, 6, 6);
}

.toDo,
.done {
    display: none;
}

.done:checked + label .check {
    color: rgb(22, 221, 22, 1);
    text-shadow: 2px 2px 15px #ce5937, 2px 2px 15px #ce5937, 2px 2px 15px #ce5937, 2px 2px 15px #ce5937;
}

.hidden {
    display: none;
}

.done__card {
    /* From https://css.glass */
    background: rgba(10, 109, 144, 0.39);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.9px);
    -webkit-backdrop-filter: blur(3.9px);
    border: 1px solid rgba(12, 77, 97, 0.52);
    transition: all 300ms;
}
