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

}
body{
    overflow:hidden;
    font-family: 'Lobster', cursive;
    min-height: 100vh;
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #32a6ff 0%, #3f6fff 49%, #8d54ff 82%);            /* background-color: #0F0A3C; */
}
body::before{
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    left: 0;
    background: linear-gradient(#f3f5f5,#9c27b0);

    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    bottom: 0;
    border-radius: 50%;
}

body::after{
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: 0;
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    background: linear-gradient(#ff2871,rgba(255,40,113,0.2));
    top: 0;
    border-radius: 50%;
    
}

.main{
    z-index: 11;
    backdrop-filter: blur( 25px );
    -webkit-backdrop-filter: blur( 25px );
    background: rgba( 255, 255, 255, 0.25 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    width: 400px;
    height: 600px;
}
.main h2{
    font-size: 3rem;
    text-align: center;
}

.input{
    display: flex;
}
.input input:focus{
    outline: none;
}
input{
    display: block;
    padding: 0.7em 5em;
    margin-left: auto;
}
#add{
    overflow: hidden;
    position: relative;
    padding: 0 1em;
    background: #3f6fff;
    margin-right: auto;
}
#add::after{
    content: "";
    position: absolute;
    top:0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);  
    transition: 0.5s;

}
#add:hover::after{
    left: 100%;
}


ul{
    height: 84%;  
    overflow-y: auto;
    padding: 1.2rem 1rem 1.2rem 1.8rem;
}
li{

    list-style: none;
    margin-bottom: 1rem;
    display: flex;
    align-items:center;
  
}
input[type="checkbox"]{
    cursor: pointer;
    opacity: 0;
    position: absolute;
}
label{
    border-radius: 12px;
    padding: 0.5rem 0;
    width: 89%;
    cursor: pointer;
    display: flex;
}
label::before{
    content: "";
    border-radius: 2px;
    margin: 0 0.4em;
    border:0.15em;
    height: 20px;
    min-width: 1.4em;
    border:2px solid #EDEDED;
}
input[type="checkbox"]:checked + label::before{
    background-color: rgb(72, 190, 72);
    content: '\002714';
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
}
input[type="checkbox"]:checked + label{
    background: rgb(181, 240, 181);
}



.del{
    margin-left: 0.5em;
    font-size: 1.3rem;
    background: transparent;
    border:none;
}

ul::-webkit-scrollbar{
    background:rgba(255, 255, 255, 0.4);
    border-radius: 15px;
}

ul::-webkit-scrollbar-thumb{
    background: #3f6fff;
    border-radius: 15px;
}