.container {
  --primary: 190;
  --color-primary: hsl(calc(var(--primary)), 50%, 50%);
  --color-primary-light: hsl(calc(var(--primary)), 35%, 80%);
  --color-primary-dark: hsl(calc(var(--primary)), 70%, 35%);
  --bg-start: hsl(calc(var(--primary)), 20%, 65%);
  --bg-end: hsl(calc(var(--primary)), 20%, 85%);
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #E1E4FA;
  background-image: linear-gradient(to top right, var(--bg-start), var(--bg-end));
  overflow: hidden;
}

.title {
  font-family: "Lato", arial, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 40px;
  font-size: 24px;
}

.subtitle {
  font-family: "Lato", arial, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 40px;
  font-size: 14px;
}
.subtitle2 {
  font-family: "Lato", arial, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 40px;
  font-size: 8px;
}

.whale {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: 7%;
  margin-top: -15%;
  -webkit-animation: levitation 3s ease-in-out infinite;
          animation: levitation 3s ease-in-out infinite;
}
.whale:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 100%;
}

.shadow {
  border-radius: 45%;
  height: 10%;
  width: 20%;
  box-shadow: 0px 0px 15px 15px rgba(0, 0, 0, 0.2);
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transform-origin: 50% 50%;
  -webkit-animation: shadow 3s ease-in-out infinite;
          animation: shadow 3s ease-in-out infinite;
}

.abs {
  position: absolute;
}

.top {
  top: 0;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
}

.front {
  top: 60%;
  left: 5%;
  width: 70%;
  height: 60%;
  border-radius: inherit;
  background-color: var(--color-primary);
}
.front:before, .front:after {
  content: "";
  position: absolute;
  width: 85%;
  height: 25%;
  border-radius: inherit;
  background-color: inherit;
  transform-orgin: 50% 50%;
}
.front:before {
  top: 8.5%;
  left: 42%;
  transform: rotate(20deg);
}
.front:after {
  top: 40%;
  left: 42%;
  transform: rotate(-20deg);
}

.bottom {
  width: 80%;
  height: 50%;
  top: 52%;
  left: -1.5%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}

.tummy {
  width: 75%;
  height: 95%;
  top: -33%;
  left: 10%;
  border-radius: 50%;
  background: repeating-linear-gradient(to right, var(--color-primary-dark), var(--color-primary-dark) 10px, var(--color-primary-light) 10px, var(--color-primary-light) 20px);
}

.fin {
  position: absolute;
  left: 20%;
  top: 65%;
  height: 25%;
  width: 8%;
}
.fin:before, .fin:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 50%;
  transform-origin: 50% 50%;
}
.fin:after {
  left: 0%;
  transform: rotate(-35deg);
}
.fin:before {
  left: 150%;
  transform: rotate(-40deg);
  z-index: 3;
}

.backfin {
  position: absolute;
  left: 70%;
  top: 57%;
  width: 12%;
  height: 12%;
}
.backfin:before, .backfin:after {
  content: "";
  position: absolute;
  background-color: var(--color-primary);
  border-radius: 50%;
  transform-origin: 50% 50%;
  width: 30%;
  height: 100%;
}
.backfin:before {
  transform: rotate(40deg);
  top: -10%;
}
.backfin:after {
  transform: rotate(-40deg);
  top: 20%;
}

.eyes {
  width: 10px;
  height: 10px;
  top: 65%;
  left: 15%;
  border-radius: 50%;
  background-color: #fff;
  z-index: 3;
}
.eyes:before {
  content: "";
  position: absolute;
  background-color: var(--color-primary);
  border-radius: 50%;
  width: 70%;
  height: 70%;
  top: 50%;
  left: 0;
  z-index: 4;
  transform-origin: 50% 50%;
  transform: translate3d(calc(var(--rx-x) * -2px), calc(var(--rx-y) * -2px), 0);
}

@-webkit-keyframes shadow {
  0%, 100% {
    transform: scale(1) rotateX(100deg);
  }
  50% {
    transform: scale(0.7) rotateX(100deg);
  }
}

@keyframes shadow {
  0%, 100% {
    transform: scale(1) rotateX(100deg);
  }
  50% {
    transform: scale(0.7) rotateX(100deg);
  }
}
@-webkit-keyframes levitation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25px);
  }
}
@keyframes levitation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25px);
  }
}