main {
  max-width: 1250px;
  margin: 0 auto;
  float: none;
}

main > h1 {
  font-weight: bold;
  border-left: 3px #cc0202 solid;
  padding-left: 0.5rem;
  margin: 50px 0 0 20px;
}

main > p {
  font-size: 18px;
  margin: 0 0 25px 20px;
}

main > a {
  border: none;
  border-radius: 1rem;
  background-color: #cc0202;
  color: #fff;
  padding: 0.4rem 0.8rem;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0 0 0 20px;
}
main > a:hover {
  background-color: rgb(100, 10, 10);
  transition-duration: 100ms;
}

/* Slider General */

.dot-navigation-container {
  text-align: center;
}

.slides-text {
  position: absolute;
  bottom: 4px;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 0 0 2rem 2rem;
}

.slides-fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

/* -------------------- LATEST NEWS (Slide) -------------------- */
.news-slideshow {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.news-slides {
  display: none;
}

.news-slides img {
  width: 48rem;
  height: 23rem;
  border-radius: 2rem;
}

.news-prev,
.news-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

.news-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.news-prev:hover,
.news-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.news-dot-navigation {
  cursor: pointer;
  height: 0.8rem;
  width: 0.8rem;
  margin: 0 2px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.news-active,
.dot-navigation:hover {
  background-color: #cc0202;
}

/* -------------------- LATEST NEWS -------------------- */
.latest-news {
  width: 100%;
  margin: 1rem 0 3rem 0;
}

.latest-news-container {
  margin: 0 4.5%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}

footer {
  margin-top: 50px;
}

@media screen and (max-width: 780px) {
  .latest-news {
    margin-bottom: 1rem;
  }

  .news-slideshow {
    max-width: 100vw;
    width: 90vw;
  }

  .news-slides img {
    width: 90vw;
  }

  .news-slides > .slides-text {
    margin-bottom: 4px;
  }

  .news-slides img {
    height: 19rem;
  }
}

@media (max-width: 780px) {
  main > h1 {
    font-size: 26px;
  }
  main > p {
    font-size: 15px;
  }

  main > a {
    font-size: 1rem;
  }
}
