#infinite-grid-menu-canvas {
  cursor: grab;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  outline: none;
}

#infinite-grid-menu-canvas:active {
  cursor: grabbing;
}

.infinite-menu-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.action-button {
  position: absolute;
  left: 50%;
  z-index: 10;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: #e91e63;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  border: 5px solid #000;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.5s ease, opacity 0.5s ease, bottom 0.5s ease;
}

.action-button.active:hover {
  background: #ff007f;
  box-shadow: 0 0 20px rgba(233, 30, 99, 0.4);
}

.action-button-icon {
  user-select: none;
  position: relative;
  color: #fff;
  top: 2px;
  font-size: 26px;
  margin: 0;
}

.face-title {
  user-select: none;
  position: absolute;
  font-weight: 900;
  font-size: 3rem;
  left: 1.6em;
  top: 50%;
  color: #ffffff;
  margin: 0;
  transform: translate(20%, -50%);
}

.face-description {
  user-select: none;
  position: absolute;
  max-width: 22ch;
  top: 50%;
  font-size: 1.2rem;
  right: 1%;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  transform: translate(0, -50%);
}

.face-title.active {
  opacity: 1;
  transform: translate(20%, -50%);
  pointer-events: auto;
  transition: 0.5s ease;
}

.face-title.inactive {
  pointer-events: none;
  opacity: 0;
  transition: 0.1s ease;
}

.face-description.active {
  opacity: 1;
  transform: translate(-90%, -50%);
  pointer-events: auto;
  transition: 0.5s ease;
}

.face-description.inactive {
  pointer-events: none;
  transform: translate(-60%, -50%);
  opacity: 0;
  transition: 0.1s ease;
}

.action-button.active {
  bottom: 3.8em;
  transform: translateX(-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.action-button.inactive {
  bottom: -80px;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1500px) {
  .face-title,
  .face-description {
    display: none;
  }
}
