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

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

.list body {
    display: flex;
    justify-content: left;
    align-items: left;
    height: 100vh;
}

.list ul {
    width: 80%; /* Set ul width to 80% of the viewport */
    margin-left: auto; /* Center align ul */
    margin-right: auto;
    list-style: none; /* Remove default list styling */
}

.list ul li {
    width: 100%; /* li will take full width of ul */
    height: 35px;
    display: flex;
    align-items: center;
    margin: 1.5em 0; /* Adjusted margin for top and bottom */
    cursor: pointer;
    padding: 1em;
    background: rgb(43, 43, 43);
    position: relative;
    color: white;
    border-radius: 5px;
}


.list ul li::before,
.list ul li::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 5px;
    width: 105%;
    transition: all 0.4s;
}

.list ul li::before {
    left: 0%;
    height: 130%;
    background: linear-gradient(to right, #252727, #ce9232);
}

.list ul li::after {
    left: -10%;
    height: 120%;
    background: #ffffff56;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.164);
}

.list ul li:hover::before {
    transform: translateX(-2.5%);
}

.list ul li:hover::after {
    transform: translateX(15%);
}
