.float-window {
  position: fixed;
  /* box Shadow in top, right, left */
  z-index: 40;
  /* Border radius in top left, top right and bottom left */
  transition: transform 0.25s cubic-bezier(0.47, 0, 0.745, 0.715); /* Curva de aceleración */
  transform-origin: bottom right;
  transform: scale(0);
}

.float-window.show {
  transform: scale(1);
}

/* floating.css */

@keyframes iconScale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.float-window .icon {
  transition: transform 0.3s ease;
}

.float-window .icon:hover {
  animation: iconScale 0.5s infinite alternate;
}

.modal {
  position: fixed;
  transition: transform 0.25s cubic-bezier(0.47, 0, 0.745, 0.715); /* Curva de aceleración */
  transform-origin: bottom right;
  transform: scale(0);
}

.modal.show {
  transform: scale(1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeIn {
  animation: fadeIn 0.3s ease-in-out forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.modal-container {
  animation: scaleIn 0.3s ease-in-out forwards;
}

.radar-button {
  position: relative;
  overflow: visible;
}

.radar-button::before,
.radar-button::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 180%;
  height: 180%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background-color: rgba(125, 255, 92, 0.685);
  animation: radar-pulse 2.3s infinite ease-out;
  z-index: -1;
}

.radar-button::after {
  animation-delay: 0.75s;
}

@keyframes radar-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}
