:root{
    --darkBlue: #002765;
    --whiteish: #edeef0;
    --red: #ff5945;
    --dark: #555555;
    --black: #515151;
    --purple: #5d0bba;
    --pink: #d63686;
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    box-sizing: border-box;
}

body{
    background: linear-gradient(135deg, #153677, #4e085f);
}

#container{
    width: 100%;
    min-height: 100vh;
    padding: 10px;
}

#todo-app{
    width: 100%;
    max-width: 540px;
    background: #ffffff;
    margin: 100px auto 20px;
    padding: 40px 30px 70px;
    border-radius: 10px;
}

#todo-app h2{
    color: var(--darkBlue);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

#todo-app h2 img{
    width: 30px;
    margin-left: 10px;
}

.row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--whiteish);
    border-radius: 30px;
    padding-left: 20px;
    margin-bottom: 25px;
}

input{
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
}

button{
    border: none;
    outline: none;
    padding: 16px 50px;
    background: var(--red);
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 40px;
}

.toggleLight{
    outline: none;
    padding: 10px 15px;
    background: var(--purple);
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    border-radius: 40px;
}

.toggleDark{
    outline: none;
    padding: 10px 15px;
    background: var(--pink);
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    border-radius: 40px;
}

#toggle:hover{
    background-color: var(--dark);
}
#toggle:active{
    background-color: #696666;
}

#toggleSpan{
    display: flex;
    justify-content: right;
    align-items: center;
}

ul li{
    list-style: none;
    font-size: 17px;
    padding: 12px 8px 12px 50px;
    user-select: none;
    cursor: pointer;
    position: relative;
}
ul li::before{
    content: '';
    position: absolute;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-image: url(https://cdn.glitch.global/96e0bf6b-e1e5-48d0-9274-bc9e0fc0ba54/unchecked.png?v=1703013527952);
    background-size: cover;
    background-position: center;
    top: 12px;
    left: 8px;
}
ul li.checked{
    color: var(--dark);
    text-decoration: line-through;
}
ul li.checked::before{
    background-image: url(https://cdn.glitch.global/96e0bf6b-e1e5-48d0-9274-bc9e0fc0ba54/checked.png?v=1703013516395);
}

ul li span{
    position: absolute;
    right: 0;
    top: 5px;
    width: 40px;
    height: 40px;
    font-size: 22px;
    color: var(--dark);
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
}
ul li span:hover{
    background: var(--whiteish);
}

.light_mode{
    background: linear-gradient(to right, #3494e6, #ec6ead);
}