.md-header__button.md-logo {
    margin: 0;
    padding: 0;
}

.md-header__button.md-logo img, .md-header__button.md-logo svg {
    height: 3rem;
    width: 3rem;
}

/* Container for the entire slideshow */
.slideshow-container {
    max-width: 800px;
    min-width: 300px;
    position: relative;
    margin: auto;
}

/* Hide all slides by default */
.mySlides {
    display: none;
}

/* Container for each image to standardize dimensions */
.image-container {
    width: 100%;
    height: 300px;
    overflow: visible; /* Allow overflow for zoom effect */
    position: relative;
    max-width: 800px;
    min-width: 300px;
}

/* Image styling for proper fit and zoom effect */
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure the entire image is visible within the container */
    transition: transform 0.2s ease-in-out;
}

/* Navigation buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 0;
    width: auto;
    height: 100%;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Position the "next" button on the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Border radius for "prev" button */
.prev {
    border-radius: 0 3px 3px 0;
}

/* Hover effects for navigation buttons */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption styling */
.caption {
    text-align: center;
    color: #f2f2f2;
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Styles for zoom effect */
.zoom {
    cursor: zoom-in;
}
.zoomed {
    transform: scale(1.8);
    cursor: zoom-out;
    position: relative;
    z-index: 10; /* Ensure zoomed image is above other elements */
}

/* Dimmed overlay */
.dimmed-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    z-index: 9; /* Ensure the overlay is below the zoomed image */
    pointer-events: none; /* Allow interaction with elements behind the overlay */
}

.dimmed-overlay.zoomed {
    display: none; /* Hide the overlay when an image is zoomed */
}