/* styles.css */

.top-bar {
  color: #fff; /* Text color for the top bar */
  text-align: center;
  overflow: hidden;
  position: relative; /* Set the position of the top bar to relative */
  background: #64142d;
  padding-top: 6px;
  padding-bottom: 6px;
}

.top-bar .slide-list {
  display: flex;
  justify-content: center;
}

.top-bar .slide {
  position: absolute; /* Set the position of the slides to absolute */
  display: none;
  font-size: 14px;
  transition: opacity 2s;
  color: #fff;
  line-height: 1.2;
  text-align: center; /* Center-align the text within each slide */
}

.top-bar .slide a {
  text-decoration: none;
  color: #fff; /* Link text color (white) */
  cursor: pointer; /* Change cursor to pointer on hover */
  opacity: 0.9; /* Reduce link opacity to 0.9 (slightly lighter) */
}

.top-bar .slide a:hover {
  text-decoration: none !important; /* Remove link text decoration on hover */
  color: #fff; /* Link text color remains the same on hover */
}

.top-bar .slide.active {
  display: block;
  opacity: 1;
}

.top-bar .slide.active a {
  text-decoration: none; /* Remove link text decoration */
  color: #fff; /* Link text color (white) for the active slide */
  opacity: 0.9; /* Reduce link opacity to 0.9 (slightly lighter) */
}

/* Media query for screens under 680px */
@media (max-width: 680px) {
  .top-bar {
    padding-top: 12px;
    padding-bottom: 14px;
  }
  .top-bar .slide {
    font-size: 12px;
  }

  .top-bar .slide-list {
    display: flex;
    justify-content: center;
    margin-top: 6px;
    margin-bottom: 28px;
  }
}
