html {
  overflow-x: hidden;
}

* {
  font-family: "jaf-bernina-sans-narrow", "Arial", sans-serif;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  position: relative;
  scrollbar-color: var(--oa-yellow-dark-dark) var(--oa-yellow);
  scrollbar-width: thin;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100vw;
  opacity: 0;
  animation: fadeInAnimation 1s ease forwards;
}

@keyframes fadeInAnimation {
  to {
    opacity: 1;
  }
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  box-sizing: border-box;
  background: url("../images/background_static.png") repeat;
  background-size: cover;
  animation: backgroundShift 10s infinite alternate;
  z-index: -1;
}

@keyframes backgroundShift {
  0% {
    background-position: 50% 120%;
  }
  100% {
    background-position: 120% 50% ;
  }
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  border-style: solid;
  border-width: 0.4rem;
  border-color: var(--oa-pink) var(--oa-yellow) var(--oa-green) var(--oa-blue);
  pointer-events: none;
  box-sizing: border-box;
  z-index: 10000;
}

::-webkit-scrollbar {
  width: 0.4rem;
  height: 0.4rem;
  background-color: var(--oa-yellow-dark-dark);
}

::-webkit-scrollbar-thumb {
  background-color: var(--oa-yellow);
  border-radius: 0.1rem;
}

:root {
  --oa-pink: #dd1167;
  --oa-pink-light: #fd3689;
  --oa-pink-dark: #a40f4d;
  --oa-pink-dark-dark: #690b32;
  --oa-pink-low-alpha: #dd116733;

  --oa-yellow: #f7ef3b;
  --oa-yellow-light: #fff990;
  --oa-yellow-dark: #dcd212;
  --oa-yellow-dark-dark: #bdbd13;
  --oa-yellow-low-alpha: #dcd21233;

  --oa-green: #19892a;
  --oa-green-light: #23bc3a;
  --oa-green-dark: #136620;
  --oa-green-low-alpha: #19892a33;

  --oa-blue: #1892be;
  --oa-blue-light: #1ab2e9;
  --oa-blue-dark: #146c8d;
  --oa-blue-low-alpha: #1892be33;

  --oa-orange: #d66d0f;
  --oa-orange-light: #f57b0f;
  --oa-orange-dark: #a84f0f;
  --oa-orange-low-alpha: #d66d0f33;

  --oa-text-dark: #000000;
  --oa-text-light: #ffffff;
  --oa-text-medium: #5a5a5a;
  --oa-text-medium-light: #a4a4a4;

  color: white;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.container {
  width: 90%;
  margin: 0 auto;
  padding: 20px;
}

.hamburger-menu {
  display: none;
}

@media (max-width: 1200px) {
  .nav ul li {
    font-size: 0.8em;
    padding: 0;
    gap: 0;
  }

  .header .nav ul {
    gap: 0;
  }

  .header-container {
    padding: 5px 10px;
  }
}

@media (max-width: 768px) {
  .header .nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    background-color: var(--oa-text-dark);
    z-index: 2;
    padding: 20px;
    justify-content: center;
    align-items: center;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav ul li {
    margin: 20px 0;
  }

  .nav ul li a {
    color: whitesmoke;
    font-size: 1.5rem;
    text-decoration: none;
    text-align: center;
  }

  .hamburger-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
  }
}

#hamburgerButton {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.header {
  width: 100%;
  background-color: transparent;
  transition: top 0.3s ease, background-color 0.3s ease;
  min-height: 7%;
  z-index: 3;
}

.header.scrolled,
.header.open {
  background-color: var(--oa-text-dark);
  position: fixed;
  top: 0;
  left: 0;
}

.header-scroll-placeholder {
  display: none;
}

.header-scroll-placeholder.scrolled,
.header-scroll-placeholder.open {
  display: block;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.header.open .header-container {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

.header.open .nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: auto !important;
  height: auto !important;
  font-size: 1.4rem;
}

.header.open #hamburgerMenuSVG {
  width: 2.5rem;
  height: 2.5rem;
}

.header .logo {
  margin-right: 20px;
}

.header.open .logo {
  margin-right: 0;
}

.logo img {
  height: 60px;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav ul li {
  margin: 0;
  text-transform: uppercase;
}

.nav ul li a {
  background: linear-gradient(to right, white, rgb(230, 230, 230), white);
  color: white;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientAnimation 5s linear infinite;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  padding: 10px 15px;
}

.nav ul li a:hover {
  color: var(--oa-text-medium-light);
}

.hero {
  height: 30rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 3em;
  color: var(--oa-yellow);
  margin-bottom: 20px;
  font-weight: bold;
}

.hero p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto 20px;
  color: var(--oa-text-light);
  line-height: 1.5;
}

.cta-button button {
  background-color: var(--oa-pink);
  border: none;
  padding: 15px 30px;
  color: var(--oa-text-light);
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

.cta-button button:hover {
  background-color: var(--oa-pink-light);
}

.featured-artists {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.featured-artists h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding-top: 20px;
}

.artist-card {
  background: #f5f5f5;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.artist-card:hover {
  transform: translateY(-5px);
}

.artist-card h3 {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 10px;
}

.artist-card p {
  font-size: 1em;
  color: #666;
}

.upcoming-gigs {
  padding: 60px 0;
  background: var(--oa-text-dark);
  text-align: center;
}

.upcoming-gigs h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
}

.upcoming-gigs ul {
  list-style: none;
  padding: 0;
}

.upcoming-gigs ul li {
  background: var(--oa-text-light);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer {
  background: var(--oa-text-dark);
  color: var(--oa-text-light);
  padding: 20px 0;
  text-align: center;
  margin-top: auto;
  width: 100%;
}

.footer p {
  margin: 0;
  padding-bottom: 10px;
}

.footer .social-links a {
  color: var(--oa-text-light);
  margin: 0 10px;
  text-decoration: none;
  font-size: 1.5em;
}

.footer .social-links a:hover {
  color: var(--oa-pink);
}

.footer .sign-up-form input[type="email"] {
  padding: 8px;
  border: none;
  border-radius: 5px;
  margin-right: 5px;
  width: 250px;
}

.footer .sign-up-form .cta-button button {
  background-color: var(--oa-pink);
  color: var(--oa-text-light);
  padding: 10px 20px;
  border-radius: 5px;
}

.footer .sign-up-form .cta-button button:hover {
  background-color: var(--oa-pink-light);
}

.hero-content h1 {
  font-size: 2em;
}

.artists-grid {
  grid-template-columns: 1fr;
}

.artist-card {
  margin: 0 auto;
}

.insta-carousel {
  display: grid;
  grid-template-columns: repeat(var(--insta-count, 8), minmax(20.25rem, 1fr));
  grid-template-rows: 1;
  overflow-x: auto;
  gap: 1rem;
  align-items: center;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.insta-carousel::-webkit-scrollbar {
  display: none;
}
.slider-container::-webkit-scrollbar {
  display: none;
}

.insta-square {
  display: flex;
  justify-content: center;
  width: 20.25rem;
  height: 14.25rem;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  border-radius: 0.25rem;
  background-color: var(--oa-text-medium);
}

.instagram-media {
  position: relative;
  transform: scale(1.15) translateY(-8rem);
}

.insta-square blockquote.instagram-media {
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  opacity: 25% !important;
}

.WatchOnInstagramContainer {
  background-color: none !important;
}

.WatchOnInstagram {
  background-color: none !important;
}

.slider-container {
  position: relative;
  max-width: 90%;
  margin: 0 auto;
  scrollbar-width: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  padding: 1rem;
  cursor: pointer;
  z-index: 10;
}
.prev {
  left: 0;
}
.next {
  right: 0;
}
