.carousel-container {
    position: relative;
    width: 100vw;
	min-height: 700px;
    height: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000; /* Set a background color to match your design */
}

.carousel-loading {
    font-size: 24px;
    color: #fff; /* Adjusted for visibility */
}

/* Styling the images */
.carousel-slide img {
    position: absolute;
    width: 100%;
    height: auto; /* Maintain original image proportions */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the image */
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 3s, 8s;
    object-fit: contain; /* Maintain aspect ratio, image fills the width */
}

/* Different transform origins for varied panning effects */
.carousel-slide img:nth-child(2n+1) {
    transform-origin: top right;
}

.carousel-slide img:nth-child(3n+1) {
    transform-origin: top left;
}

.carousel-slide img:nth-child(4n+1) {
    transform-origin: bottom right;
}

.carousel-slide img:first-child + img ~ img {
    z-index: -1;
}

/* Active slide effect with Ken Burns */
.carousel-slide.active img {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1); /* Zoom in */
}

.fade-in {
    opacity: 1;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.carousel-button.left {
    left: 20px;
}

.carousel-button.right {
    right: 20px;
}

.carousel-button:focus {
    outline: none;
}



/* Remove bullet points from all list items */
.primary-menu-jc .menu-container-jc,
.primary-menu-jc .menu-container-jc li {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* Base styles for the menu */
.primary-menu-jc {
    display: flex;
    justify-content: flex-start;
    background-color: white;
    padding: 10px;
    position: relative;
    z-index: 100;
}

/* Desktop view: Top-level menu items as horizontal buttons */
.primary-menu-jc .menu-container-jc {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-menu-jc .menu-item-jc {
    position: relative;
    margin-right: 6px;
}

.primary-menu-jc .menu-link-jc {
    text-decoration: none;
    color: black;
    padding: 10px 20px;
    background-color: white;
    border: 1px solid transparent;
    transition: background-color 0.3s, border-color 0.3s;
}

.primary-menu-jc .menu-link-jc:hover {
    background-color: #f0f0f0;
}

/* Show submenus on hover in desktop */
.primary-menu-jc .menu-item-jc:hover > .sub-menu-container-jc {
    display: block;
}

/* Submenu styles for desktop: Vertical buttons */
.sub-menu-container-jc {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    padding: 0;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.sub-menu-item-jc {
    width: 100%;
}

.sub-menu-item-jc .menu-link-jc {
    display: block;
    padding: 10px 30px;
    color: black;
    text-align: left;
    white-space: nowrap;
}

.sub-menu-item-jc .menu-link-jc:hover {
    background-color: #f0f0f0;
}



/* Mobile-specific styles */
@media (max-width: 768px) {
    .burger-menu-icon {
        display: block;
        position: absolute;
        left: 20px;
        top: 20px;
        cursor: pointer;
        z-index: 1001;
    }

    .primary-menu-jc {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 70%;
        height: 100vh;
        background-color: white;
        padding-top: 60px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .primary-menu-jc.menu-open {
        display: block;
        transform: translateX(0);
    }

    .primary-menu-jc .menu-container-jc {
        display: block;
    }

    .primary-menu-jc .menu-item-jc {
        width: 100%;
    }

    .primary-menu-jc .menu-link-jc {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        font-weight: bold;
        border-bottom: 1px solid #e0e0e0;
    }

    .sub-menu-container-jc {
        display: block;
        position: static;
        border: none;
        box-shadow: none;
        padding-left: 20px;
    }

    .sub-menu-item-jc .menu-link-jc {
        padding: 10px 20px;
        font-size: 14px;
        font-weight: normal;
    }

    #logo {
        position: static;
        transform: none;
        margin: 20px auto;
    }
}

/* Hide the burger menu icon on larger screens */
@media (min-width: 769px) {
    .burger-menu-icon {
        display: none;
    }
}















.bold {
	font-size: 1.2em;
	font-weight: bold;
}

.new-line {
	margin-top: 0.9em;
}

.resume-line {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Adjust width as needed */
}

.flush-right {
    text-align: right; /* Ensure text is aligned to the right */
}







.gallery-container {
    padding: 20px;
}

.masonry {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.masonry-item {
    width: calc(33.333% - 20px); /* Three items per row with margin */
    margin: 10px;
    background-color: #fff;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
}

.thumbnail {
    width: 100%;
    padding-bottom: 150%; /* Adjust to set the height */
    background-position: center;
    background-size: cover;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thumbnail:hover .overlay {
    opacity: 1;
}

.overlay h2, .overlay h4 {
    margin: 0;
    padding: 10px 0;
    text-align: center;
}

.icons {
    margin-top: 10px;
}

.icons button {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    margin: 0 5px;
    cursor: pointer;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100vh;
    width: auto;
    height: auto;
    display: block;
    margin: auto; /* Center the image horizontally */
    object-fit: contain; /* Ensures the image scales without cropping */
}


.close-button, .prev-button, .next-button {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.close-button {
    top: 20px;
    right: 20px;
}

.prev-button {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.next-button {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.photo-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.gallery-thumbnail-header {
	font-size: 1.5em;
	color: white;
}

.gallery-thumbnail-subheader {
	font-size: 1em;
	color: white;
}




.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-content p {
    margin-bottom: 20px;
    font-size: 18px;
}

.popup-content button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}



