/* @2025 - Steffen Klausen - steffen@klausenguldbaek.dk*/
/* - * - * - * - * - * - * - * - * - * - * - * - * */
/* FLOATING BUTTON STYLING */

.floating-menu {
  position: fixed;
  right: 0;
  bottom: 40vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}

/* Show floating menu when scrolled past header */
.floating-menu.visible {
  opacity: 1;
  visibility: visible;
}

.floating-menu-item {
  position: relative;
  text-align: center;
  font-size: 30px;
  color: #fff;
  opacity: 1;
  transition: opacity 0.3s;

  margin-top: 10px;
  border-radius: 50%;

  /* background-color: rgb(243, 90, 90); */
  background-color: rgb(146, 67, 171);
  min-width: 75px;
  max-width: 0px;
  min-height: 75px;
  max-height: 0px;
  box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.6);
  /* cursor: pointer; */

  &:active {
    background-color: rgba(146, 67, 171, 0.8);
    /* background-color: rgba(243, 90, 90, .4); */
  }

  a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  a > div {
    position: absolute;
    bottom: -10%;
  }

  a:link,
  a:visited {
    text-decoration: none;
  }

  i {
    margin-right: 0;
    font-size: 1.4rem;
    color: #fff;
    transform: translate(0, -5px);
  }
}

.floating-menu-item--title {
  font-size: 1rem;
  color: #fff;
  position: absolute;

  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
}
