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

/* Body */
body {
  font-family: 'Inter', sans-serif;
  color: #68594A;
  background-image:
  linear-gradient(0deg, rgba(255, 241, 227, 0.55), rgba(255, 241, 227, 0.55)),
  url(/static/home/images/background.jpg);
  background-size: cover;
  min-height: 100vh;
  background-attachment: fixed;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 60px !important;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 2.5rem;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
}

h1 {
  line-height: 1 !important;
}

/* animation */
.animation-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 2.5rem;
  background: #fff;
  padding: 0 1.5rem !important;
}

.marquee-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 0 10px;
  filter: brightness(0.9);
}

.photo {
  width: 100%;
  object-fit: cover;
}

.marquee-track {
  height: 100%;
}

.marquee-inner {
  display: flex;
  flex-direction: column;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
  animation-play-state: running;
  will-change: transform;
  gap: 1rem;
}


@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes scroll-down {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

.game-launcher {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background-color: white;
  padding: 2.5rem 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
}

@media (max-width: 1024px) {
  .animation-wrapper {
    height: 450px;
  }
}

@media (max-width: 768px) {

.animation-wrapper {
  height: 400px;
  border-radius: 1.25rem;
}


.game-launcher {
  padding: 2rem 2.5rem;
}

  .marquee-container {
    width: 25%;
  }

  .marquee-container:nth-child(5),
  .marquee-container:nth-child(6) {
    display: none;
  }

}

@media (max-width: 480px) {

  .header-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.animation-wrapper {
  padding: 0 1rem !important;
}

.game-launcher {
  padding: 1.5rem 2rem;
}

.marquee-container {
    width: 33.333%;
    padding: 0 0.25rem;
  }

  .marquee-container:nth-child(n+4) {
    display: none;
  }
}