
.scroll-body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 15px;
  margin-bottom: 20px;
}
.containers{
  max-width: 1599px;
  min-height: 15vh;

  width: 95%;
}
.slider-wrapper {
  position: relative;
}
.slider-wrapper .slide-button {
  position: absolute;
  top: 50%;
  outline: none;
  border: none;
  height: 50px;
  width: 50px;
  z-index: 5;
  color: #fff;
  display: flex;
  cursor: pointer;
  font-size: 2.2rem;
  background: rgb(10, 4, 60, 0.8);
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translateY(-50%);
}
.slider-wrapper .slide-button:hover {
  background: rgb(21, 245, 186, 0.8);
}
.slider-wrapper .slide-button#prev-slide {
  left: -25px;
  display: none;
}
.slider-wrapper .slide-button#next-slide {
  right: -25px;
}
.slider-wrapper .image-list {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  font-size: 0;
  list-style: none;
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: none;
  height: 200px;
}
.slider-wrapper .image-list::-webkit-scrollbar {
  display: none;
}
.slider-wrapper .image-list .image-item {
  width: 300px;
  height: 200px;
  object-fit: cover;
  padding: 0 10px;
  opacity: 0.8; 
  cursor: pointer;
}

.slider-wrapper .image-list .image-item:hover{
  opacity: 1;

}
.fullImg {
  position: relative;
  display: none;
  width: 80%;
}
.closebtn {
  position: absolute;
  right: 15px;
  color: white;
  font-size: 35px;
  cursor: pointer;
}
.containers .slider-scrollbar {
  height: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
.slider-scrollbar .scrollbar-track {
  background: #ccc;
  width: 100%;
  height: 2px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  position: relative;
}
.slider-scrollbar:hover .scrollbar-track {
  height: 4px;
}
.slider-scrollbar .scrollbar-thumb {
  position: absolute;
  background: rgb(10, 4, 60);
  top: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  cursor: grab;
  border-radius: inherit;
}
.slider-scrollbar .scrollbar-thumb:active {
  cursor: grabbing;
  height: 8px;
  top: -2px;
}
.slider-scrollbar .scrollbar-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  bottom: -10px;
}
/* Styles for mobile and tablets */
@media (max-width: 1500px){
  .containers {
    max-width: 100%;
    width: 90%;
  }
  .slider-wrapper .image-list .image-item {
    width: 300px;
    height: 200px;
    padding: 7px;
  }
}
@media only screen and (max-width: 1100px) {
  .containers {
    max-width: 100%;
    width: 90%;
  }
  .slider-wrapper .slide-button {
    height: 40px;
    width: 40px;
    margin-top: -15px;
  }
  .slider-wrapper .image-list {
    margin-bottom: 15px;
    scroll-snap-type: x mandatory;
  }
  .slider-wrapper .image-list .image-item {
    width: 250px;
    height: 167px;
    padding: 7px;
  }
  .slider-scrollbar .scrollbar-thumb {
    width: 20%;
  }
  .containers .slider-scrollbar{
    margin-top: -35px;
  }
}

@media only screen and (max-width:650px) {
  .scroll-body{
   
  }
  .containers {
    max-width: 100%;
    width: 90%;
 
  }
  .slider-wrapper .slide-button {
    height: 25px;
    width: 25px;
    font-size: 1.8rem;
  }
  .slider-wrapper .image-list .image-item {
    width: 150px;
    height: 100px;
    padding: 7px;
  }
  .slider-wrapper .slide-button#prev-slide {
    left: -10px;
    display: none;
  }
  .slider-wrapper .slide-button#next-slide {
    right: -10px;
  }
  .slider-wrapper .slide-button {

    margin-top: -50px;
  }
  .containers .slider-scrollbar{
    margin-top: -100px;
  }
}
@media only screen and (max-width:420px){

  .containers {
    max-width: 370px;
    width: 80%;
    }

  .slider-wrapper .image-list .image-item {
    width: 90px;
    height: 60px;
    padding: 5px;
  }
  .containers .slider-scrollbar {
    margin-top: -150px;
}
.slider-wrapper .slide-button {
  margin-top: -70px;
}
.slider-wrapper .slide-button {
  height: 17px;
  width: 17px;
  font-size: 1.3rem;
}
}
