/* Styles for the scroll-to-top button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 2rem;
  height: 2rem;
  background-image: linear-gradient(to right ,#8a2be2,#ff69b4);
  color: #fff;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.20s ease-in;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-to-top:hover {
  background:var(--clr-1);
  transform: translateY(-2px);
  border: 1px solid var(--slate-900);
}

.scroll-to-top svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 3rem;
    height: 3rem;
  }
  .scroll-to-top svg {
    width: 1.5rem;
    height: 1.5rem;
    font-weight: 600;
  }
}