.project-right{
  display: flex;
  flex-direction: column;
}

.image-gallery {
  display: flex;
  flex-direction: column;
  height: 90%;
  width: 90%;
  gap: 5px;
}

.main-image-display {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.main-image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.main-image-slide.active {
  opacity: 1;
  z-index: 10;
}

.image-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 20%;
  border-top: 2px solid #ccc;
}

.preview-left,
.preview-right {
  display: flex;
  gap: 4%;
  height: 100%;
  align-items: center;
  overflow: hidden;
}

.preview-thumbnail {
  height: 90%;
  width: auto;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.preview-thumbnail:hover {
  opacity: 0.8;
}

.image-caption {
  flex-grow: 1;
  text-align: center;
  font-style: italic;
  padding: 0 10px;
}