:root {
  --bgcolor: #6e7684;
  --fcolor: #fff;
  --iconbgcolor: #fff;
}

html {
  box-sizing: border-box;
}

html *,
html *::before,
html *::after {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}

body {
  margin: 0;
  display: flex;
  height: 100vh;
  overflow: hidden;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: var(--bgcolor);
  color: var(--fcolor);
}
.color {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
}
.bubble {
  transition: all 2s cubic-bezier(0.3, 0.27, 0.07, 1.64);
  position: absolute;
  top: 10%;
  left: 10%;
  height: 1px;
  width: 1px;
  border-radius: 50%;
  background: radial-gradient(
    at 30% 20%,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );

  box-shadow: 0 0 2px rgba(255, 255, 255, 0.7),
    inset 1px 1px 3px 1px rgba(255, 255, 255, 0.3),
    inset -1px -1px 3px 2px rgba(0, 0, 0, 0.1);
}
span.material-icons {
  display: block;
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 40px;
  border-radius: 100%;
  background: var(--iconbgcolor);
  color: var(--bgcolor);
  padding: 5px;
  cursor: pointer;
}
.bubble.pulsed {
  background: transparent;
  animation: pulse 1s 1 forwards;
}
.bubble.brandnew {
  opacity: 0;
  animation: show 1s 1 forwards;
}
@keyframes show {
  to {
    opacity: 1;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}