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

:root {
    --background: #000430;
    --secondaryBackground: #171c48;
    --text: #fff;
    --purple: #828dff;
    --teal: #24feee;
}

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

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 120px auto 0px auto;
    border-radius: 15px;
    padding: 20px;
    background: var(--secondaryBackground);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

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

.details {
    width: 100%;

}

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

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

}

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

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

}

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

}

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

}

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

.taskItem {
    display: flex;
    background-color: var(--secondaryBackground);
    padding: 10px;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
}

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

.task input {
    width: 20px;
    height: 20px;
}

.completed p {
    opacity: 0.6;
    text-decoration: line-through;
    color: var(--teal);
    transition: all 0.3s;
}

.taskItem img {
    width: 34px;
    height: 34px;
    margin: 0 8px;
    cursor: pointer;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--teal);
    transition: all 0.2s ease;
}

.taskItem img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px var(--teal));
    transition: all 0.2s ease;
}


#toggleTheme {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--purple);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text);
    font-size: 18px;
}

body.light {
    --background: #ffffff;
    --secondaryBackground: #f5f5f5;
    --text: #000000;
    --purple: #6c63ff;
    --teal: #00c2b8;
    transition: background 0.3s ease, color 0.3s ease;
}