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

:root {
  --theme: #1a1a1a;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #000000;
  color: #fff;
}

.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  display: none;
}
.hero.show {
  display: block;
}
.hero h1 {
  font-size: 3rem;
}
.hero p {
  text-align: justify;
  font-size: 1.2rem;
}
.hero-genres {
  display: flex;
  gap: 1rem;
}
.hero-genres span {
  padding: 10px;
  border: 1px solid #ffffff;
  border-radius: 15px;
}
.slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

/* fade overlay */
.slide::before,
.slide::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 30%; /* adjust how tall the fades are */
  z-index: 1;
  pointer-events: none;
}

.slide::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.963), transparent);
}

.slide::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.963), transparent);
}

/* make sure content sits on top of overlays */
.slide-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  bottom: 40%;
  left: 5%;
  color: #fff;
  max-width: 600px;
  z-index: 2;
}
.slide-content > * {
  text-shadow: rgba(255, 251, 10, 0.5) 0px 1px 30px;
}
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slider-dots button {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.slider-dots button.active {
  background-color: #fff;
}
