@import url('https://fonts.googleapis.com/css?family=Montserrat:700');
.hero {
  background-color: var(--color-base1);
  position: relative;
  height: 100vh;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}
.hero__title {
  color: var(--color-headline-text);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 50px;
  z-index: 1;
}
.cube {
  position: absolute;
  top: 80vh;
  left: 45vw;
  width: 10px;
  height: 10px;

  background-image: url(../img/bubble.png);
  background-size: contain;

border-radius:10px;
box-shadow:
inset 0 1px 1px rgba(255,255,255,0.1),
inset 1px 0 1px rgba(255,255,255,0.1),
inset 0 -1px 1px rgba(255,255,255,0.1),
inset -1px 0 1px rgba(255,255,255,0.1),
inset 0 0 1px rgba(255,255,255,0.1);

  transform-origin: top left;
  transform: scale(0) translate(-50%,-50%);
  animation: cube 12s ease-in forwards infinite;
}
/*
.cube:nth-child(2n) {
  border-color: #0051f4;
}
*/
.cube:nth-child(2) {
  animation-delay: 2s;
  left: 25vw;
  top: 40vh;
}
.cube:nth-child(3) {
  animation-delay: 4s;
  left: 75vw;
  top: 50vh;
}
.cube:nth-child(4) {
  animation-delay: 6s;
  left: 90vw;
  top: 10vh;
}
.cube:nth-child(5) {
  animation-delay: 8s;
  left: 10vw;
  top: 85vh;
}
.cube:nth-child(6) {
  animation-delay: 10s;
  left: 50vw;
  top: 10vh;
}
@keyframes cube {
  from {
    transform: scale(0) translate(-50%,-50%);
    opacity: 0.2;
  }
  to {
    transform: scale(50) translate(-50%,-50%);
    opacity: 0;
  }
}