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

:root {
    --background: lightsalmon;
}

h1 {
    margin-bottom: 25px;
}

body {
    background-color: var(--background);
    --textcolor:darkred;
    color: var(--textcolor);
}

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

.stats-container {
    padding: 40px;
    border-radius: 20px;
    border: 4px solid darksalmon;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.details {
    width: 100%; 
}

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

#progress {
    width: 0%;
    height: 10px;
    background-color: darkred;
    border-radius: 10px;
    transition:Tall 0.5s ease;
}

#num {
    width: 70px;
    height: 50px;
    background-color: lightcoral;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20%;
    margin-top: 3%;
    font-size: 20px;
    font-weight: bold;
}
    
form {
    margin-top: 40px;
    width: 100%;
    display: flex;
    gap: 10px;
}

input {
    flex: 1;
    padding:10px;
    background-color: #FFA07A;
    border: 3px solid darksalmon;
    border-radius: 7px;
    height: 60px;
    width: 250px;
    margin-right: 25px;
    outline: none;
    color: var(--textcolor);
}

button {
    padding: 16px;
    width: 60px;
    height: 60px;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: lightcoral;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 45px;
    color: darkred;
}

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

.taskItem {
    width: 100%;
    display: flex;
    background-color: lightcoral;
    padding: 10px;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    width: 505px;
}

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

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

.completed p {
    text-decoration:line-through;
    color:darkred;
}

.taskItem img {
    size: 10%;
    width: 24px;
    height: 24px;
    margin:0 10px;
    cursor: pointer;
}

#copy {
    text-align: center;
    vertical-align: text-bottom;
    margin-top: 400px;
    margin-bottom: 20px;
    font-weight: bold;
}
