.container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  overflow: hidden;
}

body {
  font-family:Cambria, sans-serif;
}

.slider {
  position: relative;
  display: flex;
  height: 100%;
  gap: 20px;
  right: 0;
}

.slide {
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  right: 820px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.buttons-prev,
.buttons-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

.buttons-prev:disabled,
.buttons-next:disabled {
  pointer-events: none;
}

.buttons-next {
  right: 10px;
  transform: rotate(90deg);
}

.buttons-prev {
  left: 10px;
  transform: rotate(-90deg);
}

.pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.pagination button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  margin-right: 10px;
  background-color: darkblue;
  cursor: pointer;
  padding: 0;
}

.pagination button:disabled {
  pointer-events: none;
}

.pagination button.active {
  background-color: #ff0000;
  pointer-events: none;
}
