.hero-section {
  position: relative;
  height: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(/assets/img/f1-backdrop.jpg) center/cover no-repeat fixed;
}

@media only screen and (max-width: 1000px) {
  .hero-section {
    height: 600px;
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-section .hero-container {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.hero-container h1 {
  font-size: 40px;
}

.hero-container p {
  font-size: medium;
}

.hero-container .search-container {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1000px;
  width: 100%;
}

.hero-container .search-container .search-icon {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: small;
}

.hero-container .search-container .search-icon i {
  color: black;
}

.hero-container .search-container #search-box {
  padding: 20px;
  padding-inline-start: 50px;
  border-radius: 30px;
  width: 100%;
  outline: none;
  border: none;
}

.movies-section,
.genres-section {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  overflow-x: scroll;
}

.movies-section .movie-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: black;
}

.movies-section .movie-poster {
  width: 200px;
  min-height: 300px;
}

.movies-section .movie-poster img {
  border-radius: 5px;
}

.genres-section .genre-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 150px;
  width: 300px;
  min-width: 300px;
  text-decoration: none;
}

.genres-section .genre-item .genre-poster {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  min-height: 100px;
}

.genres-section .genre-item .genre-poster img {
  position: relative;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.genres-section .genre-item::before {
  content: "";
  position: absolute;
  border-radius: 5px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.genres-section .genre-item h3 {
  position: relative;
  z-index: 3;
  color: white;
  font-size: x-large;
  text-decoration: none;
}

.section-header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.section-header .section-header-anchor {
  color: black;
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-size: small;
}
