@use "../../styles/colors" as colors;
@use "../../styles/shadows" as shadows;

.scroll-up-button {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: colors.$blue-light;
  color: colors.$white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  @include shadows.box-shadow-small;
  transition: background-color 0.2s, opacity 0.2s;

  &:hover {
    background-color: colors.$blue-light--hover;
  }

  svg {
    width: 20px;
    height: 20px;
  }
}
