.content { width: 100vw; min-height: 70vh; display: flex; flex-wrap: nowrap; padding-top: 200px; padding-bottom: 200px; }

.left-panel { width: 300px; height: 100%; padding: 20px; position: fixed; bottom: 0; left: 0; }
.left-panel ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-end; height: 100%; gap: 20px; }
.left-panel ul li { cursor: pointer; }

/* .project-images { width: calc(100vw - 300px); display: flex; flex-wrap: wrap; gap: 50px; margin-left: 300px; padding-bottom: 200px; } */
/* .project-images .popup-image { width: 200px; height: fit-content; transition: all 0.3s ease; } */

.project-images {
  column-count: 3;
  column-gap: 50px;
  width: calc(100vw - 350px);
  margin-left: 300px;
  margin-right: 50px;
  padding-bottom: 200px;
}

.project-images .popup-image {
  width: 100%;
  display: block;
  margin-bottom: 50px;
}

.image-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.image-popup-overlay img {
  max-width: 90%;
  max-height: 90%;
  border: 1px solid #777;
  border-radius: 8px;
}

.image-popup-overlay video {
  max-width: 90%;
  max-height: 80vh;
  border: 1px solid #777;
  border-radius: 8px;
}

.image-popup-overlay.active {
  display: flex;
}

.image-popup-overlay::after {
  content: '✖';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.project-images a { color: #000; }

@media (max-width:1075px) {
    .left-panel { display: none; }
    .project-images { column-count: 1; width: 100vw; margin-left: 20px; margin-right: 20px; column-gap: 0px;  }
}