.main {
  display: flex;
  flex-direction: column;
  gap: var(--space);
  position: relative;
  width: 100%;
  z-index: 5;
}

.main > *:not(.prevnext) {
  max-width: var(--max-width);
}

img,
video {
  max-width: 100%;
}

.project-image-gallery.is-vertical {
  width: 65%;
}

.text {
  display: flex;
  flex-direction: column;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.5em;
  gap: 36px;
  margin-top: 20px;
  max-width: var(--max-width-text) !important;
}

.description {
}

.info {
}

.info strong {
  font-family: "Unica77LLWeb-Regular", Helvetica, Arial, sans-serif;
  font-size: small;
  font-weight: 400;
  margin-top: -1px;
}

.prevnext {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: calc(12vw + 40px);
  margin-top: 60px;
}

.prev,
.next {
  font-size: 16.5vw;
}

@media screen and (min-width: 640px) {
  .prev,
  .next {
    font-size: clamp(1em, 16.5vw, 14em);
  }
}

.prev:hover,
.next:hover {
  color: var(--red);
}
