@-webkit-keyframes pulse {

  0%,
  100% {
    -webkit-box-shadow:
      0px 0px 10px 3px rgba(255, 0, 0, 0.4),
      0 0 0 8px #D6D5DB,
      0 0 0 18px #96989E;
    box-shadow:
      0px 0px 10px 3px rgba(255, 0, 0, 0.4),
      0 0 0 8px #D6D5DB,
      0 0 0 18px #96989E;
  }


  25%,
  75% {
    -webkit-box-shadow:
      0px 0px 10px 8px rgba(255, 0, 0, 0.8),
      0 0 0 8px #D6D5DB,
      0 0 0 18px #96989E;
    box-shadow:
      0px 0px 10px 8px rgba(255, 0, 0, 0.8),
      0 0 0 8px #D6D5DB,
      0 0 0 18px #96989E;
  }
}

@keyframes pulse {

  0%,
  100% {
    -webkit-box-shadow:
      0px 0px 10px 3px rgba(255, 0, 0, 0.4),
      0 0 0 8px #D6D5DB,
      0 0 0 18px #96989E;
    box-shadow:
      0px 0px 10px 3px rgba(255, 0, 0, 0.4),
      0 0 0 8px #D6D5DB,
      0 0 0 18px #96989E;
  }


  25%,
  75% {
    -webkit-box-shadow:
      0px 0px 10px 8px rgba(255, 0, 0, 0.8),
      0 0 0 8px #D6D5DB,
      0 0 0 18px #96989E;
    box-shadow:
      0px 0px 10px 8px rgba(255, 0, 0, 0.8),
      0 0 0 8px #D6D5DB,
      0 0 0 18px #96989E;
  }
}

@-webkit-keyframes wave {

  0%,
  100% {
    background-image: radial-gradient(ellipse at center, #ff0505 10%, #960910 85%, #960910 85%);
  }

  10%,
  90% {
    background-image: radial-gradient(ellipse at center, #ff0505 20%, #960910 85%, #960910 85%);
  }

  20%,
  80% {
    background-image: radial-gradient(ellipse at center, #ff0505 30%, #960910 85%, #960910 85%);
  }

  30%,
  70% {
    background-image: radial-gradient(ellipse at center, #ff0505 40%, #960910 85%, #960910 85%);
  }

  40%,
  60% {
    background-image: radial-gradient(ellipse at center, #ff0505 50%, #960910 85%, #960910 85%);
  }

  50% {
    background-image: radial-gradient(ellipse at center, #ff0505 60%, #960910 85%, #960910 85%);
  }
}

@keyframes wave {

  0%,
  100% {
    background-image: radial-gradient(ellipse at center, #ff0505 10%, #960910 85%, #960910 85%);
  }

  10%,
  90% {
    background-image: radial-gradient(ellipse at center, #ff0505 20%, #960910 85%, #960910 85%);
  }

  20%,
  80% {
    background-image: radial-gradient(ellipse at center, #ff0505 30%, #960910 85%, #960910 85%);
  }

  30%,
  70% {
    background-image: radial-gradient(ellipse at center, #ff0505 40%, #960910 85%, #960910 85%);
  }

  40%,
  60% {
    background-image: radial-gradient(ellipse at center, #ff0505 50%, #960910 85%, #960910 85%);
  }

  50% {
    background-image: radial-gradient(ellipse at center, #ff0505 60%, #960910 85%, #960910 85%);
  }
}

@-webkit-keyframes implode {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  20%,
  40% {
    -webkit-transform: scale(10);
    transform: scale(10);
  }

  60%,
  80% {
    -webkit-transform: scale(0.01);
    transform: scale(0.01);
  }

  80% {
    -webkit-transform: scale(0.01);
    transform: scale(0.01);
    opacity: 1;
    background: transparent;
    /* box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.9); */
  }

  100% {
    -webkit-transform: scale(0.01);
    transform: scale(0.01);
    opacity: 0;
    background: rgba;
    /* box-shadow: 0 0 5px 10px rgba(0, 0, 0, 0.0); */
  }

}

@keyframes implode {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  20%,
  40% {
    -webkit-transform: scale(10);
    transform: scale(10);
  }

  60%,
  80% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  80% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
    /* background: transparent; */
    /* box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.9); */
  }

  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
    /* background: rgba; */
    /* box-shadow: 0 0 5px 10px rgba(0, 0, 0, 0.0); */
  }

}

@-webkit-keyframes vibrate {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }

  20% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }

  40% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }

  60% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }

  80% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }

  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}

@keyframes vibrate {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }

  20% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
    opacity: 0.7;
  }

  40% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
    opacity: 0.75;
  }

  60% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
    opacity: 0.8;
  }

  80% {
    -webkit-transform: translate(2px, -2px) scale(1.5);
    transform: translate(2px, -2px);
    opacity: 0.75;
  }

  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
    opacity: 1;
  }
}

@-webkit-keyframes visibility {
  0% {
    opacity: 0.8;
  }

  20% {
    opacity: 0.7;
  }

  40% {
    opacity: 0.75;
  }

  60% {
    opacity: 0.8;
  }

  80% {
    opacity: 0.75;
  }

  100% {
    opacity: 1;
  }
}

@keyframes visibility {
  0% {
    opacity: 0.8;
  }

  20% {
    opacity: 0.7;
  }

  40% {
    opacity: 0.75;
  }

  60% {
    opacity: 0.8;
  }

  80% {
    opacity: 0.75;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes deactivate {
  from {
    display: grid;
  }

  to {
    display: none;
  }
}

@keyframes deactivate {
  from {
    display: grid;
  }

  to {
    display: none;
  }
}

.doomsday {}

.doomsday:hover {
  -webkit-animation: wave 1s infinite backwards;
  animation: wave 1s infinite backwards, vibrate 0.3s infinite, visibility 0.5s infinite paused;
}

.doomsday:active {
  -webkit-animation-name: wave, implode;
  animation-name: wave, implode;
  -webkit-animation-duration: 0.2s, 5s;
  animation-duration: 0.2s, 5s;
  -webkit-animation-iteration-count: infinite, 1;
  animation-iteration-count: infinite, 1;
  -webkit-animation-delay: 0.3s, 3s;
  animation-delay: 0.3s, 3s;
  -webkit-animation-fill-mode: backwards, forwards;
  animation-fill-mode: backwards, forwards;
  -webkit-animation-play-state: running;
  animation-play-state: running;
}

.doomsday:hover::before {
  content: url("https://i.imgur.com/wQxLy3J.png");
  /* Caution Sign from pixabay */
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  font-size: 2rem;
  -webkit-animation: fadein 1s;
  animation: fadein 1s;
}

.coffee {}

.doomsday:hover::after {
  content: '';
}

.coffee:hover::before {
  content: url("https://i.imgur.com/ypHJlcF.png");
  /* Coffee Cup from pixabay */
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  font-size: 2rem;
  -webkit-animation: fadein 1s;
  animation: fadein 1s;
}

.coffee:hover {
  -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
  animation: heartbeat 1.5s ease-in-out infinite both;
}

.coffee:active {}

.coffee:hover::after {
  content: '';
}