* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    /* background-color: #f0f0f0; */
    background-color: pink;
    height: 100vh;
    margin: 0;
}

h1 {
    /* color: #333; */
    padding: 15px;
    color: #fff;
    margin-bottom: 10px;
    background-color: #007bff;
}

.formBox {
    display: flex;
    align-items: center;
    justify-content: center;
}

form {
    padding: 15px;
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    background-color: #ededed;
    transition: all 0.5s ease;
    border: 1px solid black;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

form button {
    width: 90%;
    border-radius: 10px;
}

.center {
    align-items: center;
}

.show {
    opacity: 1;
    max-height: 200px;
}

input {
    width: 90%;
    padding: 10px;
    border-radius: 4px;
    border: none;
    background: transparent;
    outline: none;
    border-bottom: 2px solid #000;
    transition: all 0.2s ease-in-out;
}

input:focus {
    color: #007bff;
    border-bottom: 4px solid #007bff;
}

#searchInput {
    width: 40%;
}

.searchBox {
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.searchBox label, .searchBox input, form input {
    font-size: 25px;
}

.showAddButton {
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    font-size: 20px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 10px;
}

button:hover {
    background-color: #0056b3;
}

.BList {
    display: flex;
    justify-content: center;
}

ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    width: 60%;
}

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    font-size: 20px;
    background-color: #f9f9f9;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

li:hover {
    color: #007bff;
}

li .buttons {
    display: flex;
    gap: 10px;
}

li button {
    background-color: transparent;
    color: red;
    border: none;
    /* color: white; */
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 10px;
}

li button:hover {
    background-color: transparent;
}

li button.edit {
    transition: all 0.3s ease-in-out;
    background-color: transparent;
    color: #007bff;
}

li button.edit:hover, li button:hover {
    transform: scale(1.3);
}

.hidden {
    display: none;
}

