*{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body{
    background-color: rgb(207, 170, 241);
    color-scheme: light;
}

.main{
    display: flex;
    flex-direction: column;
    background-color: beige;
    width: 70vh;
    height: 80vh;
    margin: auto;
    box-shadow: 0 0 1rem rgb(121, 58, 181);
    border-radius: 1rem;
    position: relative;
    top: 2rem;
    overflow: hidden;
}

.list{
    display: flex;
    align-items: center;
    height: 2.5rem;
    margin-top: 0.5rem;
    justify-content: space-between;
}

.content{
    overflow-y: auto;
    flex: 1;
    padding: 0 1rem;
    padding-bottom: 4rem;
}

.content::-webkit-scrollbar{
    height: 200px;
    width: 0.8rem;
    z-index: 15;
}

.content::-webkit-scrollbar-thumb{
    background-color: rgba(65, 61, 61, 0.546);
    border-radius: 10px;
    border: 3px solid beige;
}

input[type="checkbox"]{
    margin: 0.2rem 0.5rem;
    appearance: none;
    height: 1rem;
    width: 1rem;
    opacity: 0.8;
    background-color: white;
    border: 2px solid black;
    border-radius: 100px;
}

input[type="checkbox"]:checked {
    background-color: rgb(163, 92, 230);
}

input[type="checkbox"]:checked~label{
    text-decoration: line-through;
    opacity: 0.7;
}

.header{
    background-color: rgb(163, 92, 230);
    box-shadow: 0 0 1rem rgb(121, 58, 181);
    text-align: center;
    border-radius: 1rem 1rem 0 0;
}

.footer{
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 10;
    background-color: beige;
    border-radius: 0 0 1rem 1rem ;
}

input[type="text"]{
    appearance: none;
    height: 2rem;
    width: 50%;
    border: none;
    border-radius: 100px;
    padding: 0 8rem 0 1rem;
    box-shadow: 0 0 0.5rem rgb(173, 170, 170);
}

input[type="text"]:focus{
    outline: none;
}

button{
    appearance: none;
    width: 8rem;
    height: 2rem;
    border: none;
    border-radius: 100px;
    background-color: rgb(163, 92, 230);
    position: absolute;
    right: 6%;
    box-shadow: 0 0 0.5rem rgb(173, 170, 170);
}

label{
    font-size: larger;
    flex: 1;
    padding: 0 1rem;
}

i{
    margin-left: 0.5rem;
    font-size: large;
    opacity: 0.8;
}

#plus{
    margin: 0;
    opacity: 1;
}

button:hover,
i:hover,
input:hover{
    opacity: 1;
    cursor: pointer;
}

#editinp{
    width: 70%;
    padding: 0 1rem;
}

h4{
    opacity: 0.7;
    text-align: center;
}

@media(max-width:768px){
    button{
        right: 4%;
    }
}

@media(max-width:425px){
    .main{
        width: 300px;
    }
    button{
        right: 1%;
    }
}

