@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
    --background: linear-gradient(to left, #8e2de2, #4a00e0);
}

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

body {
    height: 100vh;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem .5rem;
    font-family: "Poppins", sans-serif;
}

main {
    background-color: #ffffff71;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1rem;
    border-radius: 2rem;
    color: rgb(46, 46, 46);
    max-width: 37.5rem;
}

h1 {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
}

.entrada {
    background-color: #ffffff85;
    width: 100%;
    height: 4rem;
    padding: .3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: .5rem;
}

.entrada input {
    background-color: transparent;
    outline: none;
    border: 1px solid rgb(68, 68, 68);
    height: 1.8rem;
    border-radius: .5rem 0 0 .5rem;
    margin-left: .5rem;
    padding: 0 .5rem;
    color: rgb(26, 26, 26);
    width: 100%;
}

.entrada button {
    border-radius: 0 .5rem .5rem 0;
    height: 1.8rem;
    width: 3rem;
    border: none;
    cursor: pointer;
    background-color: #fff;
    box-shadow: 0 0 .2rem rgba(0, 0, 0, 0.267);
    background-color: rgb(68, 68, 68);
    color: #fff;
    padding: .2rem;
}

.entrada button:hover {
    background-color: rgb(107, 107, 107);
}

.list {
    align-self: flex-start;
    width: 100%;
}

.list ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem;
    background-color: #ffffff71;
    border-radius: .5rem;

}

li .check {
    background-color: transparent;
    border: none;
    padding: .5rem;
    color: rgb(0, 168, 0);
    cursor: pointer;
    border-radius: .2rem;
}

li .check:hover {
    background-color: #ffffff4d;
}

li .delete {
    background-color: transparent;
    border: none;
    padding: .5rem;
    color: rgb(175, 0, 0);
    cursor: pointer;
    border-radius: .2rem;
}

li .delete:hover {
    background-color: #ffffff4d;
}

.checkedList {
    color: gray;
}