:root {
  --para-color: #4094d8;
}

#rates {
  width: 100%;
}
#rates h1 {
  text-align: center;
  text-shadow: 0 0 2px;
  /* color: #47b8ff; */
  color: var(--para-color);
}
#rates .slider {
  /* width: 80%; */
  width: 95%;
  position: relative;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  /* grid-template-columns: repeat(auto-fill, minmax(300px, auto));    */
  row-gap: 20px;
  column-gap: 20px;
  max-width: 800px;
  margin: auto;

  display: grid;
  gap: 10px;
  max-width: 800px;

  margin: 20px auto 2rem;
  /* overflow-y: hidden; */
  /* overflow-x: scroll; */
}
/* Hide scrollbar for Chrome, Safari and Opera */
#rates .slider::-webkit-scrollbar {
  display: none;
}
#rates .slider::-moz-scrollbar {
  display: none;
}

/* Scroll bar style */
/* width */
#rates .slider::-webkit-scrollbar {
  /* width: 8px; */
  height: 7px;
}
#rates .slider::-moz-scrollbar {
  /* width: 8px; */
  height: 7px;
}

/* Track */
#rates .slider::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  width: 50%;
}
#rates .slider::-moz-scrollbar-track {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  width: 50%;
}

/* Handle */
#rates .slider::-webkit-scrollbar-thumb {
  background: var(--para-color);
  border-radius: 10px;
}
#rates .slider::-moz-scrollbar-thumb {
  background: var(--para-color);
  border-radius: 10px;
}

/* Handle on hover */
#rates .slider::-webkit-scrollbar-thumb:hover {
  background: blue;
}
#rates .slider::-moz-scrollbar-thumb:hover {
  background: blue;
}

/* Hide scrollbar for IE, Edge and Firefox */
#rates .slider {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
#rates .slider .img-holder {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;

  /* align-self: center; */
}

#rates .slider .img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}
#rates .slider .img-holder img:hover {
  transform: scale(1.15);
  /* filter: grayscale(1) blur(1px); */
  /* filter: brightness(0.9) blur(1px); */
  /* filter: blur(1px); */
  filter: grayscale(0.3) blur(1px);
}
#rates .slider .img-content {
  position: absolute;
  padding: 0 10px;
  bottom: 0.5rem;
}
#rates .slider .img-content h3 {
  color: #fff !important;
  font-weight: 600;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.75);
}
#rates .slider .img-content p {
  color: #fff !important;
  font-weight: 500;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}
#rates .slider .img-content p:nth-child(2) {
  font-weight: normal;
  font-size: smaller;
}
#rates .rate-hint {
  color: var(--para-color);

  text-align: center;
  width: 80%;
  margin: 80px auto;
}
#rates .arrow-holder {
  margin: 2rem auto 0;
  width: 95%;
}
#rates .arrow-holder .arrow {
  display: flex;
  justify-content: space-between;
  align-items: center;

  animation: hint 0.6s ease-in-out alternate-reverse infinite;
}
@keyframes hint {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(1.05);
    opacity: 1;
  }
}
#rates .arrow-holder .arrow ion-icon {
  font-size: 1.13rem;
  font-size: 2.5rem;
  color: var(--para-color);
}

/* =================== RESPONSIVE =================== */
@media (min-width: 992px) {
  #rates .slider {
    max-width: 1000px;
    /* max-width: 100%; */
    width: 90%;
  }
  #rates .arrow-holder {
    max-width: 1000px;
  }
}

@media (min-width: 768px) {
  #rates .slider::-webkit-scrollbar {
    display: unset;
  }
  #rates .slider::-moz-scrollbar {
    display: unset;
  }
}
