.sun {
  height: 24px;
  width: 24px;
  position: relative;
  margin: 0 auto;
  top: -2.5em;
}

.sun .sunrays {
  -webkit-animation: spin 15s linear infinite;
  -moz-animation: spin 15s linear infinite;
  animation: spin 15s linear infinite;
  box-shadow: 0px 0px 100px #ffe866;
  height: 24px;
  width: 24px;
}

.circle {
  height: 24px;
  width: 24px;
  z-index: 1;
  background: #ffe866;
  position: absolute;
  border-radius: 50%;
}

.sunrays span {
  background: #ffdd4a;
  width: 24px;
  height: 24px;
  position: absolute;
}

.sunrays span:first-child {
  -ms-transform: rotate(30deg);
  -webkit-transform: rotate(30deg);
  transform: rotate(30deg);
}

.sunrays span:nth-child(2) {
  -ms-transform: rotate(60deg);
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
  }
}
