body, h1 {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #111;
    color: white;
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

#item-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.item-box {
    border: 2px solid white;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1); 
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
    transform: scale(1);
}

.item-box:hover {
    background-color: rgba(255, 255, 255, 0.2); 
    transform: scale(1.05);
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5); 
}

.item-select {
    margin-right: 10px;
    padding: 5px;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    border-radius: 5px;
}

.remove-button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.remove-button:focus {
    outline: none;
}

.remove-button:hover {
    transform: scale(1.2); 
}

#add-button {
    background-color: #007BFF;
    border: none;
    color: white;
    font-size: 24px;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

#add-button:focus {
    outline: none;
}

#add-button:hover {
    background-color: #0056b3; 
    transform: scale(1.05);
    box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.7);
}

#result {
    margin-top: 20px;
    font-size: 24px;
}
