* {
  padding: 0;
  margin: 0;
  box-shadow: beige;
}

html {
  font-size: 62.5%;
}

@media (max-width: 576px) {
  html {
    font-size: 50%;
  }
}

body {
  font-family: sans-serif;
  font-size: 1.6rem;
}

img {
  display: block;
}

.full-img {
  width: 100%;
}

.small-img {
  display: none;
}

@media (max-width: 768px) {
  .small-img {
    display: block;
  }

  .big-img {
    display: none;
  }
}

.primary-heading {
  font-size: 4.2rem;
  font-weight: 600;
}

.secondary-heading {
  font-size: 3.6rem;
  font-weight: 600;
}

.tertiary-heading {
  font-size: 2.4rem;
}

section {
  position: relative;
}

.section-hero {
  background-color: black;
  padding-bottom: 5rem;
}

.section-hero h1 {
  position: absolute;
  top: 3rem;
  color: white;
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

@media (max-width: 576px) {
  .section-hero h1 {
    top: 1rem;
    width: 90%;
  }
}

.details-text {
  position: absolute;
  top: 3rem;
  color: white;
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.game-text {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 5rem 0;
}

/* Carousel */

.black {
  background-color: black;
  color: white;
  padding: 5rem 0;
}

.white {
  padding: 5rem 0;
}

.vs-carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin-left: 10vw;
  border-radius: 1rem;
  width: 70%;
  padding: 2rem 0 5rem;
}

.vs-carousel video,
.vs-carousel img {
  border-radius: 12px;
}

.vs-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.vs-carousel-slide {
  flex: 0 0 100%; /* each slide takes full width of carousel */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  line-height: 1.4;
}

.vs-carousel-btn {
  position: absolute;
  top: 40%;
  background: #00000080;
  color: white;
  border: none;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.vs-carousel-btn.prev {
  left: 1rem;
}

.vs-carousel-btn.next {
  right: 1rem;
}

.vs-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.vs-carousel-dots button {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
}

.vs-carousel-dots button.active {
  background: #333;
}

.carousel-hero {
  width: 80%;
  margin: 0 auto 3rem;
  padding: 3rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

@media (max-width: 768px) {
  .vs-carousel {
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .vs-carousel-btn {
    top: 30%;
  }

  .vs-carousel-btn.prev {
    left: 0.2rem;
  }

  .vs-carousel-btn.next {
    right: 0.2rem;
  }
}
