@import url('https://fonts.googleapis.com/css2?family=Lexend+Peta:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lexend Peta", sans-serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    user-select: none;
}

body {
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(84, 154, 204, 1) 0%, rgba(178, 87, 199, 1) 100%);
}

h1 {
    color: rgb(97, 219, 176);
    text-shadow: 1px 1px 20px rgb(0, 37, 33);
    margin: 40px 0px 60px 0px;
    font-size: 60px;
}


.container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0px 20px;
}

.todo-input {
    width: 100%;
    padding: 10px 20px;
    background: none;
    border: none;
    outline: 2px solid rgb(26, 84, 101);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    color: rgb(0, 42, 42);
    transition: 0.5s box-shadow;
}

.todo-input:focus-visible {
    border: none;
    box-shadow: 0px 0px 15px 15px rgb(109, 255, 204), inset 0px 0px 25px 10px rgb(116, 246, 200);
}

.todo-input::placeholder {
    color: rgb(0, 62, 57);
    font-weight: 600;
    font-size: 16px;
}

.todo-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.todo-item {
    border: 1px solid black;
    font-weight: 600;
    border-radius: 10px;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
}

.remove-btn {
    margin: 10px 0px;
    padding: 10px 20px;
    background-color: rgba(86, 86, 86, 0.2);
    border-radius: 10px;
    border: none;
    cursor: pointer;
    color: rgb(64, 64, 64);
    font-size: 16px;
    font-weight: 600;
    transition: .5s;
    user-select: none;
}

.todo-item.completed {
    background: linear-gradient(to right, rgba(143, 248, 255, 0.4), rgba(255, 161, 247, 0.4));
}

.todo-item:hover {
    border: 1px solid rgb(109, 255, 204);
    box-shadow: 0px 0px 10px rgb(109, 255, 204), inset 0 0 10px rgb(116, 246, 200);
}

.todo-item span {
    pointer-events: none;
    user-select: none;
}

.todo-item.completed span {
    text-decoration: line-through;
}

.todo-item.completed button {
    background-color: rgb(255, 135, 135);
}

.todo-item.completed button:hover {
    background-color: rgb(255, 35, 35);
    transition: .5s;
}