/* fixed-buttons */
#fixed-buttons-wrap {
  position: fixed;
  bottom: 2rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  z-index: 900;
  transition: all 0.3s ease-out;
}
#fixed-buttons-wrap.hide {
  right: -5rem;
}

#fixed-buttons-wrap > *:not(:last-child) {
  margin-bottom: 1rem;
}

#fixed-buttons-wrap .scroll-top,
#fixed-buttons-wrap .fixed-button {
  width: 3.125rem;
  height: 3.125rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: relative;
  background-color: rgba(11, 104, 54, 0.3);
}
#fixed-buttons-wrap .scroll-top {
  background: #0b6836;
}
#fixed-buttons-wrap .scroll-top img {
  width: 1.05769rem;
  height: 1.05769rem;
  object-fit: contain;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-15%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(15%);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

#fixed-buttons-wrap .fixed-button__dot {
  width: 0.675rem;
  aspect-ratio: 1/1;
  background-color: #14ff00;
  box-shadow: 0px 0px 9.583px rgba(78, 242, 64, 0.6);
  border-radius: 50%;
  position: absolute;
  top: 0.25rem;
  right: 0;
}
#fixed-buttons-wrap .fixed-button::after {
  content: '';
  background-color: rgba(11, 104, 54, 0.3);
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

#fixed-buttons-wrap .fixed-button img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}
