html, body {
    background-color: #fff;
    color: #000;
    font-family: Arial, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes up the full height of the viewport */
}

.wrapper {
    flex: 1;
}


.wrap-image {
    float: left; /* or right */
    margin: 0 15px 15px 0; /* space around the image */
}

.maintext{
    max-width: 65%; 
    margin: 0 auto;

}

ul li {
    margin-bottom: 7px; /* Space between each list item */
}

.breadcrumb {
    display: flex;
    position: absolute;
    top: 10px;
    left: 10px;
    color: #000;
    flex-wrap: nowrap;
}

.breadcrumb a {
    color: #000;
    text-decoration: none;
    margin-right: 5px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

h1 {
    margin: 50px 0;
    text-align: center;
}

/* Main content should take up all available space */
.grid-container {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    flex-wrap: wrap; /* Ensure items wrap within the container */
    margin: 0 auto; /* Center the container horizontally */
    max-width: 80%; /* Optional: Limit the width of the container */
}

.grid-item {
    display: flex;
    flex-direction: column; /* Ensure text is below the image */
    margin: 10px; /* Add some spacing between items */
    text-align: center;
    color: #000;
}

.photo-text {
    display: block;
    text-decoration: none;
    margin-top: 5px;
    color: #000;
}

.grid-item img {
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
}

.grid-item img:hover {
    transform: scale(1.2);
}

.photo-text:hover {
    text-decoration: underline;
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .grid-container {
        width: 66%;
        /* Take up 66% of the viewport width */
    }
}

.footer {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: x-small;
    padding: 5px 10px;
    margin: 0;
    line-height: 1.2;
    flex-shrink: 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}

.footer-left, .footer-center, .footer-right {
    text-align: left;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}