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%;
}

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

.title-container {
  max-width: max-content;
  position: relative;
}

.title-container__text {
  font-size: var(--fs-72);
  font-weight: 200;
  padding-right: 250px;
  padding-left: 72px;
}

.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);
}

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

.intro {
  font-size: var(--fs-24);
  font-weight: 200;
  line-height: 2;
  hyphens: auto;
}

.table {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.table-header {
  font-size: var(--fs-30);
  font-weight: 200;
}

.table-col {
  padding: 0;
  margin-top: var(--space-3);
  font-size: var(--fs-24);
  font-weight: 200;
  line-height: 2;
  hyphens: auto;
}

.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: var(--space-5);
  overflow: hidden;
  position: relative;
  margin: var(--space-28) 0;

  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;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);

  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;
}

.gallery-group {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.gallery-group.normal {
  width: 600px;
  max-width: 600px;
}

.gallery-group.type-2 {
  width: 1453px;
}

.gallery-group.type-2 .caption {
  color: #96a082;
}

.gallery-group.type-2 .top .caption {
  text-align: center;
  margin-bottom: var(--gap);
}

.gallery-group.type-2 .bottom .caption {
  margin-top: var(--gap);
}

.gallery-group.type-2 .row {
  width: 100%;
  display: flex;
  gap: var(--gap);
}

.gallery-group.type-3 {
  width: 1280px;
}

.gallery-group.type-3 .caption {
  color: #96a082;
}

.gallery-group.type-3 .caption:not(:first-of-type) {
  margin-top: var(--space-4);
}

.gallery .seperator {
  width: var(--space-4);
  height: 100%;
}

.image-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-wrapper .caption {
  max-width: max-content;
  color: #96a082;
  background-color: rgba(0, 0, 0, 0.6);
  padding: var(--space-1) var(--space-2);
  font-size: var(--fs-14);
  font-style: normal;

  position: absolute;
  bottom: 0;
  left: 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;
}

/* footer */
.footer {
  padding-left: 180px;
  padding-right: 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;
}
