@import url('https://fonts.googleapis.com/css?family=Quicksand:300,400');

body {
  background-color: #dfdaff;
  font-family: 'Quicksand', sans-serif;
}
.title {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.25);
}
.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.cake {
  width: 200px;
  height: 40px;
  background-color: #745a4a;
  border-radius: 100%;
  margin-bottom: 120px;
  box-shadow: 0 4px 0 #6b5344, 0 8px 0 #6b5344, 0 12px 0 #6b5344,
    0 16px 0 #6b5344, 0 20px 0 #6b5344, 0 24px 0 #6b5344, 0 28px 0 #6b5344,
    0 32px 0 #e76868, 0 36px 0 #e76868, 0 40px 0 #f8ecc9, 0 44px 0 #f8ecc9,
    0 48px 0 #f8ecc9, 0 52px 0 #f8ecc9, 0 56px 0 #6b5344, 0 60px 0 #6b5344,
    0 64px 0 #6b5344, 0 68px 0 #6b5344, 0 72px 0 #6b5344, 0 76px 0 #6b5344,
    0 80px 0 #6b5344;
}
.cake:before {
  position: absolute;
  content: '';
  top: 79px;
  left: -25px;
  width: 250px;
  height: 50px;
  border-radius: 100%;
  background: #fff;
  box-shadow: 0px 6px 0px rgba(0, 0, 0, 0.1);
  z-index: -1;
}
.cake__candle {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 40px;
  background-image: repeating-linear-gradient(
    -45deg,
    white,
    white 5px,
    #e76868 5px,
    #e76868 10px
  );
}
.cake__candle:before {
  position: absolute;
  content: '';
  top: -20px;
  left: -4px;
  width: 15px;
  height: 15px;
  background: orange;
  border-radius: 0 100px 60px 100px;
  transform: rotate(40deg);
  animation: 0.3s flicker infinite ease;
}
.cake__candle:after {
  position: absolute;
  top: 0;
  left: -35px;
  content: '';
  width: 5px;
  height: 65px;
  background-color: black;
  border-radius: 15px 5px 5px 0;
  opacity: 0.2;
  transform: rotate(-80deg);
}
.clock {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 500px;
  width: 100%;
  text-align: center;
}
.clock__days,
.clock__hours,
.clock__minutes,
.clock__seconds {
  font-size: 18px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.25);
}
.clock__days span,
.clock__hours span,
.clock__minutes span,
.clock__seconds span {
  font-size: 60px;
  font-weight: 400;
  color: black;
}

@keyframes flicker {
  0% {
    transform: rotate(45deg);
  }
  50% {
    transform: rotate(40deg);
  }
  75% {
    transform: rotate(45deg);
  }
  100% {
    transform: rotate(48deg);
  }
}
