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

body{
    min-height: 100vh;
    display: grid;
    place-items: center;
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
}

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

.todo-app{
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 30px;

    background-color: #95BBEA;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.todo-app h1{
    font-size: 2rem;
    font-weight: 600;
}

.todo-app h1 span{
    font-family: 'Pacifico', cursive;
    color: #2e308b;
    font-weight: normal;
}

.input-area{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.input-area input{
    flex: 1;
    padding: 10px 17px;
    font-size: 1.1rem;
    border: none;
    outline: none;
    border-radius: 22px;
    background-color: #FFF8E6;
    color: #2e308b
}

.input-area input::placeholder{
    color: #42110f;
}

.input-area button{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;

    width: 45px;
    height: 45px;

    border-radius: 12px;
    color: #fff;
    font-size: 1.4rem;
    background-color: #940501;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.input-area button:hover{
    transform: scale(1.1);
    background: #42110f;
}

.todos-container {
    width: 100%;
}

#task-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#task-list li{
    display: flex;
    align-items: center;
    justify-self: space-between;
    background-color: #fd9139;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 30px;
    font-size: 1.2rem;
    color: #fff;
    position: relative;
    transition: box-shadow 0.2s ease;
}

#task-list li {
    list-style: none;
    background: #FFF8E6;
    color: #2e308b;
    padding: 12px 15px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.2s ease;
}

#task-list li:hover {
    transform: scale(1.02);
}

.task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.completed {
    text-decoration: line-through;
    opacity: 0.7;
}

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

.task-actions {
    display: flex;
    gap: 8px;
}

.task-actions button {
    background: white;
    border: none;
    padding: 5px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.task-actions button:hover {
    transform: scale(1.1);
}

.completed {
    text-decoration: line-through;
    opacity: 0.7;
}

.progress-container {
    width: 100%;
    background: #940501;
    padding: 20px;
    border-radius: 25px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.progress-info h2{
    color: #FFF8E6;
    font-weight: 600;
}

.progress-bar {
    width: 200px;
    height: 10px;
    background: rgba(255, 255, 255, 0.712);
    border-radius: 20px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #FFF07A;
    border-radius: 20px;
    transition: width 0.3s ease;
}

.progress-count {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #FFF8E6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #2e308b;
    font-size: 18px;

    border: 5px solid #2e308b;
}