/* Global Styles */
* {
  margin: 0;
  box-sizing: border-box;
}

.wrapper {
  width: 100%;
  max-width: 800px;
  height: 400px;
  position: relative;
  margin: auto;
  overflow: hidden;
}

/* Rounded Corner Image Styling */
.before,
.after {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px; /* Makes every corner rounded */
}

.content-image {
  height: 100%;
}

.after {
  width: 125px;
}

.scroller {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  opacity: 0.9;
  pointer-events: auto;
  cursor: pointer;
}

.scroller:hover {
  opacity: 1;
}

.scrolling {
  pointer-events: none;
  opacity: 1;
  z-index: 1;
}

.scroller__thumb {
  width: 100%;
  height: 100%;
  padding: 5px;
}

.scroller:before,
.scroller:after {
  content: " ";
  display: block;
  width: 7px;
  height: 9999px;
  position: absolute;
  left: 50%;
  margin-left: -3.5px;
  z-index: 30;
  transition: 0.1s;
}

.scroller:before {
  top: 100%;
}

.scroller:after {
  bottom: 100%;
}

.scroller {
  border: 5px solid #fff;
  
}

.scroller:before,
.scroller:after {
  background: #fff;
}

/* Title and Subtitle Styles */
.titleheader {
  color: white; /* White color for the title */
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.subtitle {
  color: white; /* White color for the subtitle */
  font-size: 18px;
  margin-bottom: 20px;
}

/* Button Styles */
.button-group {
  display: flex;
  gap: 10px;
  justify-content: flex-start; /* Align buttons to the left by default */
}

/* Additional Button Styles */
.btn-primary,
.btn-secondary,
.btn-marketplace {
  padding: 12px 24px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #5a6268;
}
 

/* Responsive Design */
@media (max-width: 992px) {
  .wrapper {
    width: 100%;
    max-width: 600px;
    height: 400px;
  }

  .scroller {
    width: 40px;
    height: 40px;
  }

  .scroller__thumb {
    padding: 3px;
  }

  .after {
    width: 100px;
  }

  .titleheader {
    font-size: 24px;
    text-align: center;
  }

  .subtitle {
    font-size: 18px;
    text-align: center;
  }

  .button-group {
    justify-content: flex-start; /* Align buttons to the left on tablet and larger screens */
  }
}

@media (max-width: 576px) {
  .wrapper {
    width: 100%;
    max-width: 100%;
    height: 300px;
    padding: 20px;
  }

  .scroller {
    width: 35px;
    height: 35px;
  }

  .scroller__thumb {
    padding: 2px;
  }

  .after {
    width: 80px;
  }

  .titleheader {
    font-size: 22px;
    text-align: center;
  }

  .subtitle {
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
  }

  .button-group {
    display: flex;
    gap: 10px;
    justify-content: center; /* Center buttons on mobile screens */
  }

  .btn-primary, .btn-secondary {
    padding: 10px 20px;
    font-size: 12px;
  }

  .btn-marketplace {
    font-size: 12px;
  }
}
