html {
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body takes full viewport height */
    overflow: hidden;
}

/* Ensure the main content area is scrollable */
.container-fluid.mt-3 {
    flex-grow: 1; /* Allow container-fluid to take up remaining vertical space */
    overflow: hidden; /* Hide overflow to prevent scrollbars on the container itself */
    display: flex;
    flex-direction: column;
}

.container-fluid.mt-3 > .row {
    flex-grow: 1; /* Allow the row to take up remaining vertical space */
    overflow: hidden; /* Hide overflow */
}

.sidebar {
    height: calc(100vh - 80px); /* Adjust height based on header height, approx 80px */
    overflow-y: auto; /* Enable scrolling for the sidebar */
}

#content-area {
    height: calc(100vh - 80px); /* Adjust height based on header height, approx 80px */
    overflow-y: auto; /* Enable vertical scrolling for the content area */
}

.image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 5px;
}

.image-column {
    width: 320px;
    flex-shrink: 0;
}

.image-column img {
    width: 100%;
    height: auto;
    display: block;
}