.portfolio-item img {
	width: 180px;
	height: 180px;
	object-fit: cover;
	border-radius: 5px;
    display: inline-block;
    cursor: pointer;
}

.portfolio-item {
    /* border: 1px solid #ddd; */
    padding: 10px 20px 10px 0px;
    /* margin-bottom: 10px; */
    display: inline-block;
}


/* Modal styles */
/* .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    display: flex;
    flex-direction: row;
    background-color: var(--off-white);
    border-radius: 8px;
    overflow: hidden;
    max-width: 900px;
    width: 90%;
    height: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modalImageBg {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: blur(10px);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain
    display: block;
}

.modal-details {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
}

.modal-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-grey);
}

.modal-details p {
    font-size: 1rem;
    color: var(--light-grey);
    line-height: 1.5;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    z-index: 1001;
} */

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent overlay */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    display: flex;
    flex-direction: row; /* Side-by-side layout */
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    max-width: 900px;
    width: 90%;
    height: 80%; /* Adjust height to fit the screen */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Modal image container */
.modal-image {
    flex: 2; /* Image takes up 2/3 of the modal */
    position: relative; /* Position relative for layering */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000; /* Fallback black background */
    overflow: hidden;
}

/* Blurred background image */
.modal-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(15px); /* Apply blur effect */
    opacity: 0.5; /* Make it semi-transparent */
    z-index: 1; /* Place it behind the main image */
}

/* Main image */
.modal-image-main {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure the image fits without distortion */
    z-index: 2; /* Place it above the blurred background */
}

/* Details section */
.modal-details {
    flex: 1; /* Details take up 1/3 of the modal */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto; /* Add scroll if content overflows */
}

.modal-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.modal-details p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    z-index: 3; /* Ensure the close button is on top */
}.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent overlay */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: row; /* Side-by-side layout */
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    max-width: 900px;
    width: 90%;
    height: 80%; /* Adjust height to fit the screen */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Blurred background image */
.modal-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(15px); /* Apply blur effect */
    z-index: 1; /* Place it behind the content */
    opacity: 0.5; /* Make it semi-transparent */
}

/* Main image container */
.modal-image-container {
    flex: 2; /* Image takes up 2/3 of the modal */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Place it above the blurred background */
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure the image fits without distortion */
}

/* Details section */
.modal-details {
    flex: 1; /* Details take up 1/3 of the modal */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto; /* Add scroll if content overflows */
    z-index: 2; /* Place it above the blurred background */
}

.modal-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.modal-details p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    z-index: 3; /* Ensure the close button is on top */
}

#modalImageUrl {
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 0.9rem;
    color: #555;
    display: inline-block;
}



