.scroll-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0;
}

.scroll-to-top:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(-3px);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Медиа-запросы для разных устройств */
@media (min-width: 768px) {
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 30px;
    left: 30px;
  }

  .scroll-to-top svg {
    width: 22px;
    height: 22px;
  }
}

@media (min-width: 1024px) {
  .scroll-to-top {
    width: 50px;
    height: 50px;
    bottom: 40px;
    left: 40px;
  }

  .scroll-to-top svg {
    width: 24px;
    height: 24px;
  }
}