/* ======================= */
/* Home Page Styles        */
/* ======================= */
/* reusable */
.line-container {
  --height: 5px;
  --step-color: var(--primary-color);
  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 {
  min-height: max-content;
}

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

.main.block {
  opacity: 1;
  pointer-events: auto;
}

.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;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

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

.content {
  background-image: url("../assets/images/artistWithFade.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100svh;

  position: relative;
}

.top-box {
  position: absolute;
  top: 0;
  left: 150px;
  width: 400px;
  height: 80px;
  background-color: var(--primary-color);
  opacity: 0.7;
}

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

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

/* Style the button when nav is visible (doesn't have .hidden) */
.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%;
}

.artist-info {
  position: absolute;
  bottom: 0;
  left: 150px;
  width: 400px;
  height: 478px;
  background-color: #0a1e0a;

  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-7) var(--space-5);

  font-size: var(--fs-24);
  font-weight: 300;
  font-style: italic;
  color: var(--secondary-color);
}

.social-links {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 1),
    20%,
    rgba(0, 0, 0, 0.5),
    80%,
    var(--primary-color)
  );
}

.social-list {
  padding: 0px 180px;
  width: 100%;
  height: 100%;

  display: grid;
  grid-template-columns: repeat(3, max-content);
  grid-gap: var(--space-1);
  align-items: center;
  justify-content: end;
}

.social-link svg {
  color: var(--secondary-color);
}

/* Video section */
.video-section {
  --video-size: 879px;
  --pb: var(--space-16);
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  padding-bottom: var(--pb);
  z-index: 1;
  width: 100%;

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

@media (min-width: 1550px) {
  .video-section {
    --video-size: 1379px;
    --pb: var(--space-20);
  }
}

.video-description {
  text-align: center;
  font-size: var(--fs-30);
  line-height: 1.2;
  font-style: italic;
  color: var(--secondary-color);
  width: var(--video-size);
}

.video-container {
  aspect-ratio: 16 / 9;
  width: var(--video-size);
  margin-inline: auto;
}

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