body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    font-family: 'Roboto', sans-serif;
    background-color: #c5c5c5;
    color: #333;
}

.round-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 90%;
    max-width: 500px;
    background-color: #ffffff;
    text-align: center;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Headings */
h1 {
    font-size: 24px;
    color: #333;
    margin: 0;
    padding: 10px;
    border-bottom: 2px solid #dedede;
    width: 100%;
    background-color: #f9f9f9;
}

h2 {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

/* Input and Buttons */
input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #0056b3;
}

button:active {
    background-color: #004085;
    transform: scale(0.98);
}

.red{
    background-color: rgb(255, 33, 33);
}

.red:hover{
    background-color: rgb(161, 0, 0);
}

/* List Styling */
ul {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

li {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

li:hover {
    background-color: #f0f0f0;
    transform: scale(1.02);
}

/* Clear List Button */
button.clear-list {
    background-color: #dc3545;
    margin-top: 20px;
}

button.clear-list:hover {
    background-color: #c82333;
}

button.clear-list:active {
    background-color: #bd2130;
}
