/* Ensure the body and html have no default margins/padding */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Container for the background image, with a fixed size */
.fixed-background-container {
    background-image: url('/images/br1.jpg'); /* Update path to your image */
    background-position: center; /* Center the image within its container */
    background-repeat: no-repeat; /* Prevents the image from tiling */
    background-size: auto; /* Ensures the image maintains its natural size and does not expand with the browser window */
    /* Set a specific width and height for this container */
    width: 1200px; /* Example fixed width */
    height: 800px; /* Example fixed height */
    margin: 0 auto; /* Center the container on the page */
    position: relative; /* Needed for positioning internal elements */
    /* Add other styling as needed, e.g., borders, shadows */
}

/* Container for the actual Razor Page content and menu bar */
.main-content-container {
    /* Style the content container to fit within the background container */
    width: 100%; /* Takes full width of fixed-background-container */
    height: 100%; /* Takes full height of fixed-background-container */
    overflow: auto; /* Adds scrollbars if content exceeds fixed size */
    /* Ensure the content is visible over the background */
    background-color: transparent;
}

/* General site styles (adjust as needed) */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide adequate right-margin when expanding the navbar vertically */
.navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.footer {
    position: absolute; /* Position the footer relative to the background container */
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}
@media (max-width: 1200px) {
    .banner-background img {
        max-width: 100vw;
    }
}
.white-text-block {
    color: #fff;
    /* Optional extras for better visibility on dark backgrounds: */
    background: rgba(0,0,0,0.5);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 600px;
}