body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #fdfdfd;
  color: #333;
}

.main-header {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-right: 25px;
}

.logo a {
  text-decoration: none;
}

.main-header nav a {
  text-decoration: none;
  color: #555;
  margin-right: 15px;
  display: inline-block;
}

.main-header nav a:hover {
  text-decoration: underline;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  padding: 100px 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.content-image img {
  width: 100%;
  height: auto;
}

.content-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.content-footnotes {
  font-size: 12px;
  color: #666;
  border-left: 1px solid #ccc;
  padding-left: 20px;
}

.stream-path-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  visibility: hidden;
}

.stream-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-image: url(assets/lines.svg);
  background-size: cover;
  /* background-position: center; */
  /* background-color: #e0f2f1; */
}

.stream {
  position: relative;
  width: 100%;
  height: 100%;
}

.stream-item {
  position: absolute;
  cursor: pointer;
  /* visibility: hidden; */
}

.stream-item.is-visible {
  visibility: visible;
}

.stream-item:hover {
  z-index: 10;
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
}

.stream-item img {
  height: 120px;
  width: auto;
  pointer-events: none;
}

.image-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  pointer-events: none;
}

.stream-item:hover .image-title {
  opacity: 1;
  visibility: visible;
}

.stream-label {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: #fffacd;
  padding: 10px;
  font-style: italic;
  z-index: 5;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-footnotes {
    border-left: none;
    border-top: 1px solid #ccc;
    padding-left: 0;
    padding-top: 20px;
  }
}
