@import url("https://fonts.googleapis.com/css?family=Vibur");
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-family: "Vibur", cursive;
  background-color: #FFECCC;
}

.artboard {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 400px;
  height: 350px;
  padding-top: 10rem;
}

.cake {
  z-index: 2;
  position: relative;
  width: 300px;
  height: 120px;
  background: #D2BBA0;
}
.cake::before, .cake::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 15px;
}
.cake::before {
  top: 56%;
  background: rgba(164, 48, 63, 0.3);
}
.cake::after {
  top: 77%;
  background: #9F7E69;
}
.cake .deco {
  position: relative;
}
.cake .deco::before {
  z-index: 1;
  content: "";
  position: absolute;
  top: -75px;
  left: 50%;
  transform: translateX(-50%);
  height: 50px;
  width: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: -40px 0 0 0 #fff, 40px 0 0 0 #fff, -80px 0 0 0 #fff, 80px 0 0 0 #fff;
}
.cake .deco .bunny {
  content: "";
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: #9F7E69;
  border-radius: 50%;
  opacity: 1;
}
.cake .deco .bunny::before, .cake .deco .bunny::after {
  content: "";
  top: -40px;
  position: absolute;
  width: 15px;
  height: 50px;
  background: inherit;
  transform-origin: bottom center;
  border-radius: 50% 50% 0 0;
}
.cake .deco .bunny::before {
  left: 10px;
  transform: rotate(-20deg);
  -webkit-animation: greetSx 6s infinite;
          animation: greetSx 6s infinite;
}
.cake .deco .bunny::after {
  right: 10px;
  transform: rotate(20deg);
  -webkit-animation: greetDx 6s infinite;
          animation: greetDx 6s infinite;
}
.cake .deco .bunny .eye {
  position: absolute;
  top: 12px;
  width: 10px;
  height: 18px;
  background: rgba(210, 187, 160, 0.7);
  border-radius: 50%;
}
.cake .deco .bunny .eye:nth-child(1) {
  left: 15px;
}
.cake .deco .bunny .eye:nth-child(2) {
  right: 15px;
}
.cake .deco .bunny .eye::before, .cake .deco .bunny .eye::after {
  content: "";
  position: absolute;
}
.cake .deco .bunny .eye::before {
  top: 4px;
  left: 1px;
  width: 6px;
  height: 6px;
  background: #FFECCC;
  border-radius: 50%;
}
.cake .deco .bunny .eye::after {
  top: 10px;
  right: 1px;
  width: 4px;
  height: 4px;
  background: #FFECCC;
  border-radius: 50%;
}
.cake .deco .bunny .mouth {
  position: absolute;
  top: 33px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 3px;
  background: rgba(210, 187, 160, 0.7);
  border-radius: 50%;
}
.cake .marmelade {
  z-index: 2;
  position: absolute;
  left: 0;
  top: -50px;
  width: 100%;
  background: #D2BBA0;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.cake .marmelade--bar {
  display: block;
  float: left;
  width: 6.66666667%;
  background: rgba(164, 48, 63, 0.6);
  border-radius: 0 0 12px 12px;
}
.cake .marmelade--bar:nth-child(1) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(1)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(2) {
  position: relative;
  height: 83px;
  transform: translateY(-48%);
  -webkit-animation: fall 5s 0.2s linear forwards;
          animation: fall 5s 0.2s linear forwards;
}
.cake .marmelade--bar:nth-child(3) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(3)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(4) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(4)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(5) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(5)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(6) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(6)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(7) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(7)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(8) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(8)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(9) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(9)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(10) {
  position: relative;
  height: 89px;
  transform: translateY(-48%);
  -webkit-animation: fall 5s 1s linear forwards;
          animation: fall 5s 1s linear forwards;
}
.cake .marmelade--bar:nth-child(11) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(11)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(12) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(12)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(13) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(13)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(14) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(14)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .marmelade--bar:nth-child(15) {
  height: 50px;
  border-radius: 0;
  position: relative;
}
.cake .marmelade--bar:nth-child(15)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #D2BBA0;
  border-radius: 18px 18px 0 0;
}
.cake .basement {
  position: absolute;
  bottom: -25px;
  left: -2rem;
  right: -2rem;
  height: 25px;
  line-height: 25px;
  text-align: center;
  background: #fff;
  border-radius: 0 0 6px 6px;
}
.cake .basement::before {
  content: "";
  position: absolute;
  left: 0;
  top: 105px;
  width: 100%;
  height: 1px;
  background: rgba(159, 126, 105, 0.25);
}
.cake .basement .text {
  color: rgba(164, 48, 63, 0.6);
}
.cake .basement .base {
  position: absolute;
  width: 40px;
  height: 80px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fafaf2;
}
.cake .basement .base::before, .cake .basement .base::after {
  position: absolute;
  top: 0;
  content: "";
}
.cake .basement .base::before {
  left: -40px;
  border-bottom: 20px solid #fafaf2;
  border-top: 60px solid transparent;
  border-right: 10px solid #fafaf2;
  border-left: 30px solid transparent;
}
.cake .basement .base::after {
  right: -40px;
  border-bottom: 20px solid #fafaf2;
  border-top: 60px solid transparent;
  border-left: 10px solid #fafaf2;
  border-right: 30px solid transparent;
}

@-webkit-keyframes fall {
  from {
    transform: translateY(-48%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fall {
  from {
    transform: translateY(-48%);
  }
  to {
    transform: translateY(0);
  }
}
@-webkit-keyframes greetSx {
  0% {
    transform: rotate(-20deg);
  }
  10% {
    transform: rotate(-20deg);
  }
  12% {
    transform: rotate(-10deg);
  }
  14% {
    transform: rotate(-20deg);
  }
  16% {
    transform: rotate(-10deg);
  }
  18% {
    transform: rotate(-20deg);
  }
  100% {
    transform: rotate(-20deg);
  }
}
@keyframes greetSx {
  0% {
    transform: rotate(-20deg);
  }
  10% {
    transform: rotate(-20deg);
  }
  12% {
    transform: rotate(-10deg);
  }
  14% {
    transform: rotate(-20deg);
  }
  16% {
    transform: rotate(-10deg);
  }
  18% {
    transform: rotate(-20deg);
  }
  100% {
    transform: rotate(-20deg);
  }
}
@-webkit-keyframes greetDx {
  0% {
    transform: rotate(20deg);
  }
  10% {
    transform: rotate(20deg);
  }
  12% {
    transform: rotate(10deg);
  }
  14% {
    transform: rotate(20deg);
  }
  16% {
    transform: rotate(10deg);
  }
  18% {
    transform: rotate(20deg);
  }
  100% {
    transform: rotate(20deg);
  }
}
@keyframes greetDx {
  0% {
    transform: rotate(20deg);
  }
  10% {
    transform: rotate(20deg);
  }
  12% {
    transform: rotate(10deg);
  }
  14% {
    transform: rotate(20deg);
  }
  16% {
    transform: rotate(10deg);
  }
  18% {
    transform: rotate(20deg);
  }
  100% {
    transform: rotate(20deg);
  }
}