.news-slider {
      position: relative;
      width: 100%;
      margin: auto;
      overflow: hidden;
      border-radius: 1px;
}

.news-slides-container {
      display: flex;
      transition: transform 0.8s ease-in-out;
}

.news-slide {
      width: 100%;
      background-size: cover;
      background-position: center;
      border-radius: 6px;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      box-sizing: border-box;
      flex-shrink: 0;
}

.news-content {
      max-width: 90%;
      background: rgba(0, 0, 0, 0.55);
      padding: 20px;
      border-radius: 10px;
      margin-left: 620px;
      margin-right: auto;
}

.news-content h3 {
      font-size: 24px;
      margin: 0 0 10px;
}

.news-content p {
      font-size: 14px;
}

button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      padding: 10px;
      font-size: 18px;
      cursor: pointer;
      z-index: 10;
      border-radius: 5px;
}

button.prev {
      left: 20px;
}

button.next {
      right: 20px;
}

    button:hover {
      background-color: rgba(0, 0, 0, 0.7);
}