/*!
 * baguetteBox.js
 * @author  feimosi
 * @version 1.8.1
 * @url https://github.com/feimosi/baguetteBox.js
 */

.gallery-item {
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1s ease;
}

.gallery-item:hover img {
    opacity:0.9;
}

/* modal1 Styles */
.modal1 {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    flex-direction: column; /* Stack items vertically */
}

.modal1-content {
   max-width: 90vw!important; /* Max width of the image */
    max-height: 70vh!important; /* Max height of the image */
	background-color: transparent;
    margin: auto; /* Center horizontally */
    object-fit: contain; /* Maintain aspect ratio */
    display: block;
    position: relative; /* Ensure correct positioning for close button */
    z-index: 1; /* Ensure the image is above other content */
    opacity: 1; /* Start with visible image */
    transition: opacity 0.5s ease-in-out; /* Smooth fade transition */
}

/* modal1 Content Transition */
.modal1-content.fade {
    opacity: 0; /* Start with transparent image */
}

#caption {
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}

/* Close button styles */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Navigation Styles */
/* Navigation and Close Buttons */
.prev, .next, .close {
    position: absolute; /* Absolute positioning within modal1 */
    color: #f1f1f1;
    font-weight:300 ;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    z-index: 2; /* Ensure buttons are above modal1 content */
}

.prev {
    left: 30px; /* Increase distance from the left edge */
    top: 50%;
    transform: translateY(-50%);
	text-decoration:none;
	    font-weight:300 ;
    font-size: 40px;
}
.prev:hover,
.prev:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.next {
    right: 30px; /* Increase distance from the right edge */
    top: 50%;
    transform: translateY(-50%);
		text-decoration:none;
		    font-weight:300 ;
    font-size: 40px;
}
.next:hover,
.next:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}



/* thumbnail11 Styles */
.thumbnail1-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows thumbnail1s to wrap to the next line if needed */
    margin-top: 10px;
	margin-bottom: 10px;
}

.thumbnail1 {
    width: 80px;
    height: 100%
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease;
	border-radius: 4px;
}

.thumbnail1:hover {
    border: 2px solid #fff;
}

.thumbnail1 img {
   height: 80px;
	width: 100%;
	border-radius: 4px;
	object-fit:cover;
}
