/* General Body Styles */
body {
  margin: 0;
  font-family: Helvetica, sans-serif;
  text-align: center;
  background: #ffffff;
  color: #8B0000;
}

/* HEADER */
h1 {
  font-size: 28px;
  margin-top: 40px;
  color: #7a0000;
}

.logo-box {
  margin-top: 40px;
}

.subtitle {
  margin-top: 10px;
  font-size: 12px;
}

/* SLIDER */
.slider-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slider .slide {
  flex: 0 0 auto; /* Show 5 items at once */
  width: auto;
  margin: 0 10px;
  box-sizing: border-box;
  position: relative;
}

.slider img {
  width: auto;
  height: 400px;
  border-radius: 10px;
  object-fit: cover;
}

.book-title {
  margin-top: 10px;
  font-size: 16px;
  color: #7a0000;
}

/* Navigation buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Center vertically */
  color: #dbdbdb;
  border: none;
  cursor: pointer;
  font-size: 50px;
  background: none;
  z-index: 10;
}

.prev {
  left: 5px; /* Adjust this to move the left arrow outside */
}

.next {
  right: 5px; /* Adjust this to move the right arrow outside */
}

/* Dots for navigation */
.dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.active {
  background-color: #717171;
}

/* BUTTONS BELOW */
.buttons {
  margin-top: 40px;
}

.btn {
  text-decoration: none;
  background: #7a0000;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  margin: 5px;
  font-size: 14px;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.8;
}
