body {
  background-color: var(--primary-color);
  background-size: 100% 100svh;
  background-repeat: repeat-y;
}

.overlay {
  background-color: rgba(0, 10, 0, 0.8);
  background-image: url("../assets/images/overlay-30.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: absolute;
  top: 0vh;
  left: 0;
  width: 100%;
  height: 140vh;
  z-index: 1;
  transition: opacity 0.4s ease-in;
  opacity: 1;
  pointer-events: auto;
}

.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.menu-wrapper {
  font-size: var(--fs-30);
  color: var(--secondary-color);
}

.menu-btn {
  padding: 0;
  position: absolute;
  z-index: 2;
  right: 180px;
  top: 80px;
  width: 120px;

  display: flex;
  flex-direction: column;
  align-items: center;

  transition: transform 0.4s ease;
}

.menu-btn img {
  position: relative;
  left: -3px;
}

.menu-nav-wrapper:not(.hidden) ~ .menu-btn,
.menu-btn:has(+ .menu-nav-wrapper:not(.hidden)) .line-container {
  --step-color: rgba(10, 31, 1, 0.7);
}

.menu-nav-item .line-container {
  --step-color: rgba(10, 31, 1, 0.7);
}

.menu-nav-item {
  position: relative;
}

.menu-nav-item .vertical-line {
  --width: 5px;
  position: absolute;
  left: calc(-1 * var(--width));
  top: 0;
  width: var(--width);
  height: 100%;
  background-color: var(--secondary-color);
}

.menu-nav-item .line-container,
.menu-nav-item .vertical-line {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
}

.menu-nav-item:hover .line-container,
.menu-nav-item:hover .vertical-line {
  opacity: 1;
}

.menu-text-wrapper {
  max-width: max-content;
}

.menu-text {
  max-width: max-content;
  text-align: center;
  color: var(--secondary-color);
  font-weight: 300;
  /* secondary-color but with opacity */
  text-decoration: line-through 4px rgba(117, 129, 101, 0.6);
}

.menu-nav-wrapper.hidden {
  opacity: 0;
  pointer-events: none;
}

.menu-nav-list {
  position: absolute;
  right: 82px;
  top: 300px;
  padding: 0;
  padding-bottom: var(--space-3);
  height: calc(100vh - 300px);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 2;

  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* if it overflow use custom scrollbar */
@supports (scrollbar-color: red blue) {
  .menu-nav-list {
    scrollbar-color: transparent transparent;
    scrollbar-width: auto;
  }
}

.menu-nav-list::-webkit-scrollbar {
  width: 0px;
}

.menu-nav-list::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 100vh;
}

.menu-nav-list::-webkit-scrollbar-thumb {
  background-color: var(--sam-gray-200);
  border-radius: 100vh;
}

.menu-nav-list::-webkit-scrollbar-thumb:hover {
  background-color: var(--sam-gray-300);
}

.menu-nav-link {
  display: inline-block;
  width: 100%;
}

.line-container {
  --height: 5px;
  --step-color: rgba(10, 31, 1, 0.85);
  width: 100%;
  height: var(--height);
  background-color: var(--secondary-color);

  position: relative;
}

.line-container::before {
  content: "";

  position: absolute;
  right: 0;
  top: 0;
  height: calc(var(--height) / 5);
  width: 10%;
  background-color: var(--step-color);
}

.line-container::after {
  content: "";

  position: absolute;
  right: 0;
  top: calc(var(--height) / 5 * 1);
  height: calc(var(--height) / 5);
  width: 5%;
  background-color: var(--step-color);
}

.line-inner {
  position: absolute;
  right: 0;
  top: calc(var(--height) / 5 * 2);
  height: calc(var(--height) / 5);
  width: 2%;
  background-color: var(--step-color);
}

.line-inner::before {
  content: "";

  position: absolute;
  right: 0;
  top: calc(var(--height) / 5 * 1);
  height: calc(var(--height) / 5);
  width: 50%;
  background-color: var(--step-color);
}

.line-inner::after {
  content: "";

  position: absolute;
  right: 0;
  top: calc(var(--height) / 5 * 2);
  height: calc(var(--height) / 5);
  width: 600%;
  background-color: var(--step-color);
}

.main {
  color: #c6c6c6;
  padding-bottom: var(--space-16);
  overflow-x: auto;
  min-height: 100svh;
}

.content {
  gap: var(--space-11);
}

.wrapper {
  display: grid;
  justify-content: space-between;
  grid-template-columns: 1fr minmax(400px, 600px);
  align-items: end;
  gap: var(--space-20);
}

.image-wrapper {
  max-width: 1036px;
}

.text-section {
  hyphens: auto;
  font-size: var(--fs-20);
  font-weight: 200;
  color: #96a082;
}

.exhibition-title {
  margin-bottom: var(--space-6);
  display: flex;
  justify-items: center;
  align-items: center;
  flex-direction: column;
  font-size: var(--fs-72);
  font-weight: 200;
  color: #ccc;
}

.outro {
  color: #96a082;
  font-size: var(--fs-36);
  font-weight: 300;
  line-height: 1.2;
  hyphens: auto;
  text-align: center;
}

.outro p {
  padding: var(--space-4) 0;
}

.outro .line-container {
  width: 50%;
  left: 50%;
}

.see-more-wrapper {
  margin: var(--space-6) auto;
}

.reverse-line-container {
  --height: 5px;
  --step-color: rgba(10, 31, 1, 0.85);
  width: 100%;
  height: var(--height);
  background-color: var(--secondary-color);
  width: 50%;
  right: 50%;
  left: 0;

  position: relative;
}

.reverse-line-container::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;
  height: calc(var(--height) / 5);
  width: 10%;
  background-color: var(--step-color);
}

.reverse-line-container::after {
  content: "";

  position: absolute;
  left: 0;
  top: calc(var(--height) / 5 * 1);
  height: calc(var(--height) / 5);
  width: 5%;
  background-color: var(--step-color);
}

.reverse-line-inner {
  position: absolute;
  left: 0;
  top: calc(var(--height) / 5 * 2);
  height: calc(var(--height) / 5);
  width: 2%;
  background-color: var(--step-color);
}

.reverse-line-inner::before {
  content: "";

  position: absolute;
  left: 0;
  top: calc(var(--height) / 5 * 1);
  height: calc(var(--height) / 5);
  width: 50%;
  background-color: var(--step-color);
}

.reverse-line-inner::after {
  content: "";

  position: absolute;
  left: 0;
  top: calc(var(--height) / 5 * 2);
  height: calc(var(--height) / 5);
  width: 600%;
  background-color: var(--step-color);
}

.carousel {
  --gap: 150px;
  overflow: hidden;
  position: relative;
  margin: var(--space-48) 0 var(--space-28);

  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  height: 900px;
  background-color: var(--slide-bg);
}

.gallery {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  list-style: none;
  display: grid;
  gap: var(--gap);
  grid-auto-flow: column;
  grid-auto-columns: auto;

  padding: 0;

  overflow-x: auto;
  overscroll-behavior-inline: contain;
  cursor: grab;
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

/* if it overflow use custom scrollbar */
@supports (scrollbar-color: red blue) {
  .gallery {
    scrollbar-width: none;
  }
}

.gallery::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.next-btn,
.prev-btn {
  height: 150px;
  width: var(--btn-size);
  padding: 0;
  position: absolute;
  z-index: 1;
}

.prev-btn {
  left: var(--space-6);
}

.next-btn {
  transform: rotate(180deg);
  right: var(--space-6);
}

.next-btn .arrow-up,
.prev-btn .arrow-up {
  transform: rotate(45deg) translate(0px, 1px);
  transform-origin: bottom left;
}

.next-btn .arrow-down,
.prev-btn .arrow-down {
  transform: rotate(-45deg) translateX(1px);
  transform-origin: top left;
}

.gallery-group {
  hyphens: auto;
  font-size: var(--fs-24);
  font-weight: 200;
  color: #c6c6c6;
  line-height: 2.2;
}

.group-header {
  max-width: max-content;
  margin-bottom: var(--space-11);
  padding-top: var(--space-20);
}

.gallery-group h2 {
  font-size: var(--fs-36);
  font-weight: 200;
  color: #c6c6c6;
  padding: 0 var(--space-28);
  max-width: max-content;
}

.group-description {
  padding-left: var(--space-28);
}

.gallery-group {
  width: 1310px;
  height: 900px;
}

.gallery-group.type-2 {
  width: 1750px;
  display: flex;
  gap: var(--space-14);
}

.gallery-group.type-2 .image-wrapper {
  flex-shrink: 0;
}

.gallery-group.type-3 {
  position: relative;
  width: 1600px;
  display: flex;
  gap: var(--space-14);
}

.gallery-group.type-3 .image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
}

/* footer */
.footer {
  padding: 0 180px;
}

.footer .social-list {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  grid-gap: var(--space-1);
  align-items: center;
  justify-content: end;
  padding: var(--space-6) 0;
}

.footer .social-link svg {
  color: #c6c6c6;
}

.footer .footer-description {
  margin-top: var(--space-6);
  font-size: var(--fs-14);
  font-weight: 400;
  line-height: 2;
  color: #96a082;
}
