body {
  background-color: #0c5d59;
  padding: 0;
  margin: 0;
}

.text {
  font-family: bday;
  text-align: center;
  font-size: 40px;
  color: pink;
  animation-name: colorchange;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  cursor: pointer;
}
.hero {
  color: #fbb200;
  text-decoration: none;
  display: flex;
  justify-content: center;
}
@keyframes colorchange {
  0% {
    color: Blue;
  }
  10% {
    color: purple;
  }
  20% {
    color: pink;
  }
  30% {
    color: red;
  }
  40% {
    color: green;
  }
  50% {
    color: cyan;
  }
  70% {
    color: orange;
  }
}

@font-face {
  font-family: bday;
  src: url(./Fonts/bday.ttf);
}

.container {
  height: 250px;
  width: 300px;
  border: 5px solid #fff;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.cake {
  height: 80px;
  width: 180px;
  background-color: #000000d3;
  position: absolute;
}
.c1 {
  bottom: 0;
  left: 60px;
}
.cream {
  background-color: #fa406b;
  height: 15px;
  width: 100%;
  position: absolute;
  top: 30px;
}
.icing {
  position: relative;
}
.icing > div {
  background-color: #fbd028;
  height: 12.5px;
  width: 26px;
  border-radius: 0 0 26px 26px;
  position: absolute;
  top: -30px;
}
.icing > div:nth-child(1) {
  left: -2px;
}
.icing > div:nth-child(2) {
  left: 26px;
}
.icing > div:nth-child(3) {
  left: 52px;
}
.icing > div:nth-child(4) {
  left: 78px;
}
.icing > div:nth-child(5) {
  left: 104px;
}
.icing > div:nth-child(6) {
  left: 130px;
}
.icing > div:nth-child(7) {
  left: 156px;
}

.cherries > div {
  background-color: #f7174c;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  position: absolute;
  top: -48px;
  left: -2px;
}
.cherries > div:nth-child(1) {
  left: 8px;
}
.cherries > div:nth-child(2) {
  left: 40px;
}
.cherries > div:nth-child(3) {
  left: 70px;
}
.cherries > div:nth-child(4) {
  left: 100px;
}
.cherries > div:nth-child(5) {
  left: 130px;
}
.cherries > div:nth-child(6) {
  left: 156px;
}

.c2 {
  transform: scale(0.8);
  bottom: 30px;
  left: 0px;
  z-index: -1;
}
.c3 {
  transform: scale(0.6);
  bottom: 20px;
  left: 2px;
  z-index: -2;
}

.candle {
  background-color: #f8f8f8;
  height: 70px;
  width: 20px;
  position: absolute;
  z-index: -3;
  bottom: 40px;
  left: 80px;
}
.flame {
  background-color: #fbb200;
  height: 22px;
  width: 22px;
  border-radius: 0 50% 50% 50%;
  position: absolute;
  top: -20px;
  transform: rotate(45deg);
}
