* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body {
    background: linear-gradient(90deg, #7d5fff, #7158e2);
    display: flex;
    flex-direction: column;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 90vw;
    max-width: 600px;
}

.top {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    padding: 25px 0;
    top: 0;
    background: linear-gradient(90deg, #7d5fff, #7158e2); /* Match the body background */
}

.top h1 {
    color: white;
    text-align: center;
    font-size: 64px;
}

.input {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.input input {
    width: 100%;
    height: 65px;
    font-size: 18px;
    padding: 10px;
}

input:focus,
button:focus {
    outline: none;
}

.input button {
    width: 75px;
    font-size: 18px;
}

.filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 18px;
}

.filter label {
    cursor: pointer;
}

.filter input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.tasks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.task p {
    color: white;
    font-size: 18px;
    width: 75%;
    word-break: break-all;
}

.task button {
    width: 65px;
    font-size: 18px;
    padding: 10px 0;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: 0.15s ease-in-out;
}

.task button:active {
    transform: translateY(5px);
}

.doneBtn {
    background-color: rgb(23, 207, 23);
    color: white;
}

.deleteBtn {
    background-color: rgb(255, 53, 53);
}

.done {
    text-decoration: line-through;
}

.done-popup {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: -50px;
    right: 50px;
    font-size: 20px;
    background: white;
    width: 175px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    transition: 0.5s linear;
}

.done-popup small {
    font-size: 12px;
    color: grey;
}
