@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');


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

body {
    width: 100%;
    height: 100vh;
    color: #333;
    background-color: #f0f4f8;
}
.wrapper{
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.right-side {
    width: 45%;
    height: 60%;
    background-color: #ffffffbe;
    border-radius: 10px;
    box-shadow: 5px 5px 20px black;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.right-side h2 {
    text-align: center;
    margin: 20px 0;
}

.input {
    width: 80%;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.input input {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    outline: none;
    border: 2px solid rgb(170, 170, 170);
    margin: 20px;
    padding: 0 10px 0 10px;
    font-size: 18px;
}

.input .btn {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    border: 2px solid rgb(170, 170, 170);
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 900;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 7;
    user-select: none;
}

.input .btn::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: 	#8a8cff;
    top: 100%;
    left: 0px;
    border-radius: 60%;
    transition: all .5s ease-in-out;
    z-index: -5;
    user-select: none;
}

.input .btn:hover::before{
    top: 0%;
    border-radius: 0px;
      
}

.input input:focus {
    border: 2px solid black;
}

.left-side {
    width: 45%;
    height: 80%;
    background-color: #ffffffbe;
    border-radius: 10px;
    box-shadow: 5px 5px 20px black;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

.left-side::-webkit-scrollbar {
    display: none;
}

.left-side h2 {
    text-align: center;
    margin: 30px 0;
}

.left-side .lists {
    width: 90%;
    background-color: 	#8a8cff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 0 0 10px 0;
}

.left-side .lists .list {
    width: 100%;
    height: 40px;
    border: 2px solid black;
    border-radius: 10px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 10px;
    color: white;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* background-color: rgba(128, 128, 128, 0.653); */
}

.left-side .lists .delete-button {
    color: black;
    cursor: pointer;
    margin: 0 10px 0 0;
    transform: rotate(45deg);
}

.para {
    cursor: default;
    font-size: 18px;

}

.complete {
    text-decoration: line-through rgb(0, 0, 0) 2px;
    transition: .5s;
    position: relative;
}

.opa{
    opacity: .5;
}
/* .complete::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: rgb(22, 111, 207);
    position: absolute;
    top: 10px;
    left: 0px;
} */


@media screen and (max-width: 500px) {
    .container {
        width: 100%;
        flex-direction: column;
        justify-content: start;
        gap: 10px;
    }

    .right-side {
        width: 90%;
        height: fit-content;
        margin: 15px 0 0 0;

    }

    .right-side h2 {
        display: none;
    }

    .left-side {
        height: fit-content;
        width: 90%;
    }

    .left-side h2 {
        margin: 10px 0;
    }

    .input {
        height: 120px;
    }

    .input input {
        margin: 5px;
    }
    .input input{
        font-size: 15px;
    }

}