body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #EEEEF3;
    color: black;
}

header {
    display: flex;
    flex-direction: row;
    justify-items: center;
    align-items: center;
    text-align: center;
}
header nav ul {
    display: flex; /* This is what you're missing */
    flex-direction: row; /* Optional, row is default for flex */
    list-style: none; /* Optional: removes bullet points */
    margin: 0;
    padding: 0;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

header nav ul li {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

main {
    max-height: 100%;
    width: 40rem;
    overflow: hidden;
    background-color: #e6f0ff; /* Soft blue */
    padding: 20px;
}

#inventory-title {
    max-height: 10%;
}

.scrollbox {
    max-height: 90%;
    overflow-y: scroll;
    margin-top: 2em;
}

.card-button {
    margin-top: 0.5em;
}

.card-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 0.5em;
    flex: 1;
}

.card-settings {
    text-align: right;
}

.card, main {
    border: 2px solid #552D30;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    background-color: #86BCEC;
}

.card-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    height: 10em;
    margin-right: 2em;
}

.card {
    margin-bottom: 0.5rem;
    background-color: #EEEEF3;
    display: flex;
    flex-direction: row;

}
.card:hover {
    background-color: #e0e1e7;               /* Slightly darker hover shade */
}
footer {
    width: 100%;
    text-align: center;
}

#add-new-item-button {
    flex-shrink: 0;
    border: 2px solid #552D30;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    font-size: 1rem;
    margin-top: 1em;
    background-color: #86BCEC;
}

.raised-form {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);  /* subtle lift */
    padding: 1.5rem;
    max-width: 500px;
    margin: 2rem auto;
    border: 1px solid #eee;  /* optional soft border */
}
