/*Floating Action*/
.fab-stack {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px -12px rgba(26, 34, 56, .12);
  border: none;
  cursor: pointer;
  transition: transform .3s;
}

.fab:hover {
  transform: translateY(-2px);
}

.fab i {
  width: 20px;
  height: 20px;
}

.fab.light {
  background: #fff;
  color: #1A2238;
  border: 1px solid #E5E9F2;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}

.fab.light.show {
  opacity: 1;
  pointer-events: auto;
}

.fab.primary {
  background: #2F5AA8;
  color: #fff
}

.fab.accent {
  background: #18A85B;
  color: #fff;
  box-shadow: 0 20px 50px -20px rgba(24, 168, 91, .45);
}

.fab.pulse {
  animation: pulse-ring 2s ease-out infinite;
}

/* Animations */
@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-30px) translateX(15px);
  }
}

@keyframes float-med {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-20px) rotate(8deg);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 90, 168, .6);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(47, 90, 168, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(47, 90, 168, 0);
  }
}
