* {
  box-sizing: border-box;
}


@keyframes stageBackground {
  0%, 10%, 90%, 100% {
    background-color: #00B6BB;
  }
  25%, 75% {
    background-color: #0087ad;
  }
}
@keyframes earthRotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes sunrise {
  0%, 10%, 90%, 100% {
    box-shadow: 0 0 0 25px #5ad6bd, 0 0 0 40px #4acead, 0 0 0 60px rgba(74, 206, 173, 0.6), 0 0 0 90px rgba(74, 206, 173, 0.3);
  }
  25%, 75% {
    box-shadow: 0 0 0 0 #5ad6bd, 0 0 0 0 #4acead, 0 0 0 0 rgba(74, 206, 173, 0.6), 0 0 0 0 rgba(74, 206, 173, 0.3);
  }
}
@keyframes moonOrbit {
  25% {
    transform: rotate(-60deg);
  }
  50% {
    transform: rotate(-60deg);
  }
  75% {
    transform: rotate(-120deg);
  }
  0%, 100% {
    transform: rotate(-180deg);
  }
}
@keyframes nightTime {
  0%, 90% {
    opacity: 0;
  }
  50%, 75% {
    opacity: 1;
  }
}
@keyframes hotPan {
  0%, 90% {
    background-color: #74667e;
  }
  50%, 75% {
    background-color: #b2241c;
  }
}
@keyframes heat {
  0%, 90% {
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.3);
  }
  50%, 75% {
    box-shadow: inset 0 -2px 0 0 white;
  }
}
@keyframes smoke {
  0%, 50%, 90%, 100% {
    opacity: 0;
  }
  50%, 75% {
    opacity: 0.7;
  }
}
@keyframes fire {
  0%, 90%, 100% {
    opacity: 0;
  }
  50%, 75% {
    opacity: 1;
  }
}
@keyframes treeShake {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-2deg);
  }
  40% {
    transform: rotate(4deg);
  }
  50% {
    transform: rotate(-4deg);
  }
  60% {
    transform: rotate(6deg);
  }
  75% {
    transform: rotate(-6deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@keyframes fireParticles {
  0% {
    height: 30%;
    opacity: 1;
    top: 75%;
  }
  25% {
    height: 25%;
    opacity: 0.8;
    top: 40%;
  }
  50% {
    height: 15%;
    opacity: 0.6;
    top: 20%;
  }
  75% {
    height: 10%;
    opacity: 0.3;
    top: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fireLines {
  0%, 25%, 75%, 100% {
    bottom: 0;
  }
  50% {
    bottom: 5%;
  }
}



.scene {
  position:absolute; top:0; left:0;
  display: flex;
  margin: 0 auto 80px auto;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 50vh;
}



.time-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
}

.time {
  display: block;
  width: 100%;
  height: 200%;
  position: absolute;
  transform-origin: 50% 50%;
  transform: rotate(270deg);
  animation: earthRotation 5s linear infinite;
}
.time .day {
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 20%;
  left: 40%;
  border-radius: 50%;
  box-shadow: 0 0 0 25px #5ad6bd, 0 0 0 40px #4acead, 0 0 0 60px rgba(74, 206, 173, 0.6), 0 0 0 90px rgba(74, 206, 173, 0.3);
  animation: sunrise 5s ease-in-out infinite;
  background-color: #ef9431;
}
.time .night {
  animation: nightTime 5s ease-in-out infinite;
}
.time .night .star {
  display: block;
  width: 4px;
  height: 4px;
  position: absolute;
  bottom: 10%;
  border-radius: 50%;
  background-color: #fff;
}
.time .night .star-big {
  width: 6px;
  height: 6px;
}
.time .night .star1 {
  right: 23%;
  bottom: 25%;
}
.time .night .star2 {
  right: 35%;
  bottom: 18%;
}
.time .night .star3 {
  right: 47%;
  bottom: 25%;
}
.time .night .star4 {
  right: 22%;
  bottom: 20%;
}
.time .night .star5 {
  right: 18%;
  bottom: 30%;
}
.time .night .star6 {
  right: 60%;
  bottom: 20%;
}
.time .night .star7 {
  right: 70%;
  bottom: 23%;
}
.time .night .moon {
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  bottom: 22%;
  right: 33%;
  border-radius: 50%;
  transform: rotate(-60deg);
  box-shadow: 9px 9px 3px 0 white;
  filter: blur(1px);
  animation: moonOrbit 5s ease-in-out infinite;
}
.time .night .moon:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: -9px;
  left: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.05), 0 0 0 15px rgba(255, 255, 255, 0.05), 0 0 0 25px rgba(255, 255, 255, 0.05), 0 0 0 35px rgba(255, 255, 255, 0.05);
  background-color: rgba(255, 255, 255, 0.2);
}
