.news-homepage {
  margin: 20px 0 40px;
  padding: 28px;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border: none;
}

.news-rectangle {
  width: 100px;
  height: 8px;
  margin: 0 773px 19px 0;
  background-color: var(--primary);
}

/* styles for screens smaller than 768px */
@media (max-width: 767px) {
  .news-rectangle {
    margin-top: 1em;
  }
}

.news-homepage h3 {
  font-size: 24px;
}
.news-homepage .sport {
  font-size: 14px;
  font-weight: bold;
  color: var(--primary);
  width: 100%;
}

.news-homepage .card-text {
  font-size: 18px;
  max-height: 72px;
  overflow: hidden;
}

.homepage-hero {
  height: 856px;
  position: relative;
}

.homepage-hero .carousel,
.homepage-hero .hero-results {
  position: absolute;
}

.homepage-hero .carousel {
  width: 100%;
}

.homepage-hero .hero-results {
  height: 280px;
  bottom: 0;
  display: flex;
  flex-direction: row;
}

@media (max-width: 767px) {
  .hero-game .content p {
    font-size: 12px;
  }
}

.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 856px;
  filter: brightness(
    0.4
  ); /* Adjust this value to make the image darker or brighter */
}

.carousel-indicators {
  right: inherit;
  left: inherit;
  margin: 0;
  bottom: 333px;
}

.carousel-indicators li {
  background-color: transparent !important;
  border: 1px solid #fff !important;
  border-radius: 50% !important;
  height: 16px !important;
  width: 16px !important;
  margin-right: 7px !important;
  margin-left: 7px !important;
}

.carousel-indicators .active {
  background-color: var(--primary) !important;
}

.homepage-sport {
  background-color: var(--primary);
  display: inline-block;
  padding: 4px;
  text-align: start;
}

.carousel-caption {
  right: 0;
  left: 0;
  bottom: 310px;
}

.hero-game {
  position: relative;
  width: 550px;
  height: 100%;
  border: solid 1px #fff;
  color: white;
  padding: 0;
}

.hero-game .mask {
  background-color: var(--primary);
  opacity: 0.5;
  position: absolute;
  height: 100%;
  width: 100%;
}

.hero-game .content {
  position: absolute;
  height: 100%;
  width: 100%;
  padding: 2em;
  justify-content: center;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease-in-out;
}

.hero-game .content:hover {
  background-color: var(--primary);
  cursor: pointer;
}

.hero-game .content p {
  text-transform: uppercase;
}

.filter {
  background-color: var(--primary);
  color: white;
  text-transform: uppercase;
  display: flex;
  margin: 0 10px 0 0.8em;
  align-items: center;
  font-weight: bold;
}

select {
  margin-right: 0.8em;
}

option,
select,
.filter {
  font-family: var(--font_titles);
}

@media (max-width: 993px) {
  .filter {
    margin-left: 5px;
  }
  select {
    margin-right: 5px;
  }
}

.hero-game p {
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide the overflowed text */
  text-overflow: ellipsis; /* Add ellipsis (...) to indicate truncated text */
}
