.fab-button {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: var(--colorSelected); /* Customize the button color */
    color: var(--color4);
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fab-button-shifted {
    transform: translateY(-54px); /* Moves the button 64px up */
}


.fab-button i {
  pointer-events: none; /* avoid issues with icon clicking */
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000; /* Adjust the z-index as needed */
}

.scroll-to-bottom {
  position: absolute;
  bottom: 80px;
  right: 16px;
  width: 36px;
  height: 36px;
  background-color: var(--colorSelected);
  color: var(--color4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1000;
  padding: 0;
  overflow: hidden;
}

.scroll-to-bottom i {
  font-size: 16px;           /* Make sure it's not too big */
  display: flex;             /* Force icon to be a flex container */
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}




