@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
    font-family: 'Poppins';
    margin: 0;
    padding: 0;
}
body {
    background: linear-gradient(57deg, #749bbb, linen);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
main {
    background-color: #FFF;
    padding: 30px;
    border-radius: 15px;
    margin: 0 auto;
    width: 300px;
    height: 400px;
    overflow-y: auto;
    box-shadow: rgba(0, 0, 0, 0.1) 3px 2px 7px 3px;
}
.delete {
    width: 25px;
    height: 25px;
    cursor: pointer;
    position: relative;
}
.delete::before {
    content: ' ';
    width: 25px;
    height: 5px;
    background-color: red;
    margin-top: 17px;
    transform: rotate(-45deg);
    position: absolute;
    border-radius: 5px;
}
.delete::after {
    content: ' ';
    width: 25px;
    height: 5px;
    background-color: red;
    margin-top: 17px;
    transform: rotate(45deg);
    position: absolute;
    border-radius: 5px;
}
.item {
    display: flex;
    margin: 15px 0;
    box-shadow: rgb(0 0 0 / 30%) 3px 3px 8px 1px;
    border-radius: 5px;
    padding: 0 15px;
    background: linear-gradient(to left, #b8f5ff24, #fff);
}
.text {
    flex: 1;
    margin: 10px;
    font-size: 0.85em;
    word-break: break-all;
}
.action {
    display: flex;
}
.name-item {
    border: rgb(109 109 165 / 40%) 1px solid;
    border-radius: 5px;
    padding: 5px 15px;
    outline: 0;
    flex: 1;
}
.add-item {
    border: none;
    background: #4caf50;
    color: white;
    padding: 0 15px;
    border-radius: 5px;
    cursor: pointer;
    height: 32px;
    margin-left: 10px;
}