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

:root {
    --background: #1157a2;
    --secondarybackground: #171c48;
    --text: #fff;
    --purple: #828dff;
    --teal: #26d26b;
}

body {
    background: var(--background);
    color: var(--text);
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 120px auto 0 auto;
    max-width: 500px;
}

.stats-container {
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--purple);
    display: flex;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.details {
    width: 100%;
}

#progressbar {
    width: 100%;
    height: 10px;
    background-color: var(--secondarybackground);
    border-radius: 5px;
    margin-top: 20px;
}

#progress {
    width: 0%;
    height: 10px;
    background-color: var(--teal);
    border-radius: 5px;
    transition: all 0.3s ease;
}

#number {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
}

form {
    margin-top: 60px;
    width: 100%;
    display: flex;
    gap: 10px;
}

input {
    flex: 1;
    padding: 10px;
    border-radius: 16px;
    background-color: var(--secondarybackground);
    border: 2px solid var(--purple);
    outline: none;
    color: var(--text);
}

button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 30px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #6c77ff;
}

#task-List {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    width: 100%;
    list-style: none;
}

.taskItem {
    width: 100%;
    display: flex;
    background-color: var(--secondarybackground);
    padding: 10px;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.taskItem:hover {
    background-color: #202654;
}

.task {
    display: flex;
    gap: 10px;
    align-items: center;
}

.task input {
    width: 24px;
    height: 24px;
    margin: 0 10px;
    cursor: pointer;
}

.taskItem img {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.3s;
}

.task p {
    transition: color 0.3s, text-decoration 0.3s;
}

.completed {
    text-decoration: line-through;
    color: var(--teal);
}