@keyframes pulse-group {
  0% { transform: scale(1, 1); opacity: 0.1; }
  50% { transform: scale(1.02, 1.2); opacity: 0.5; }
  75% { transform: scale(1.07, 1.6); opacity: 0.0; }
  100% { transform: scale(1, 1); opacity: 0.0; }
}

@-moz-keyframes pulse-group {
  0% { transform: scale(1, 1); opacity: 0.1; }
  50% { transform: scale(1.02, 1.2); opacity: 0.5; }
  75% { transform: scale(1.07, 1.6); opacity: 0.0; }
  100% { transform: scale(1, 1); opacity: 0.0; }
}

@-webkit-keyframes "pulse-group" {
  0% { transform: scale(1, 1); opacity: 0.1; }
  50% { transform: scale(1.02, 1.2); opacity: 0.5; }
  75% { transform: scale(1.07, 1.6); opacity: 0.0; }
  100% { transform: scale(1, 1); opacity: 0.0; }
}

$background-color: hsla(0, 0%, 100%, 0.25);
$pulse__color: hsla(60, 100%, 50%, 0.8);

.board__tower-group {
  background-color: $background-color;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  width: 100%;
}

.board__tower-group--body {
  cursor: pointer;
  position: absolute;
  width: 100%;

  &:hover {
    background-color: opacify($background-color, 0.01);
    box-shadow: 0 0 40px opacify($background-color, 0.05);
  }
}

.tower-group__pulse {
  background: $pulse__color;

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;

  height: 100%;
  width: 100%;

  -webkit-animation: pulse-group 1.5s ease-out;
  -moz-animation: pulse-group 1.5s ease-out;
  animation: pulse-group 1.5s ease-out;

  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  position: absolute;
  top: 0%; left: 0%;
  opacity: 0;
}

@import "tower-group/tower";
