* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

body {
  font-family: arial ;
  background-color: #000;
  background: url(bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.atas{
  margin: auto;
  width: 300px;
  height: 300px;
}

.bawah{
  width: 100%;
  float: left;
  clear: both;
  position: absolute;
}

.mainbox {
  position: absolute;
  width: 300px;
  height: 300px;
  margin:auto;
}

.logo {
  position: absolute;
  content: "";
  top: 110px;
  left: 110px;
  width: 80px;
  height: 80px;
  z-index: 9999;
}

.arrow {
  position: relative;
  content: "";
  top: 85px;
  left: 260px;
  width: 25px;
  height: 30px;
  z-index: 9;
  transform: rotate(-20deg);
}

.box {
  width: 300px;
  height: 300px;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  transition: all ease-in-out 5s;
  transform: rotate(90deg);
}

.ring{
  position: absolute;
  z-index: 99;
  width: 428px;
  height: 428px;
  left:-64px;
  top: -80px;
}


span {
  width: 100%;
  height: 100%;
  display: inline-block;
  position: absolute;
}



.span1 {
  clip-path: polygon(0 0, 0 50%, 50% 50%);
  background-color: #000;
}

.span2 {
  clip-path: polygon(0 0, 50% 0, 50% 50%);
  background-color: #000;
}

.span3 {
  clip-path: polygon(50% 0, 100% 0, 50% 50%);
  background-color: #000;
}

.span4 {
  clip-path: polygon(100% 0%, 600% 50%, 50% 50%);
  background-color: #000;
}



.box2 {
  width: 100%;
  height: 100%;
  transform: rotate(180deg);
}

.font {
  color: white;
  font-size: 13px;
}

.span1 b {
  position: absolute;
  top: 108px;
  right: 209px;
  transform: rotate(210deg);
  text-align: center;
}

.span2 b {
  position: absolute;
  top: 70px;
  right: 160px;
  transform: rotate(-110deg);
}

.span3 b {
  position: absolute;
  top: 60px;
  right: 90px;
  transform: rotate(-65deg);
}

.span4 b {
  position: absolute;
  top: 110px;
  right: 40px;
  transform: rotate(-20deg);
}


.rotasigambar1 {
  position: absolute;
  top: 58px;
  right: 188px;
  text-align: center;
  transform: rotate(315deg);
  width: 105px
}
.rotasigambar2 {
  position: absolute;
  top: -5px;
  right: 148px;
  text-align: center;
  transform: rotate(357deg);
  width: 105px
}
.rotasigambar3 {
  position: absolute;
  top: -15px;
  right: 75px;
  text-align: center;
  transform: rotate(43deg);
  width: 105px
}
.rotasigambar4 {
  position: absolute;
  top: 26px;
  right: 20px;
  text-align: center;
  transform: rotate(86deg);
  width: 105px
}

.rotasigambar21 {
  position: absolute;
  top: 56px;
  right: 192px;
  text-align: center;
  transform: rotate(312deg);
  width: 105px
}
.rotasigambar22 {
  position: absolute;
  top: 2px;
  right: 150px;
  text-align: center;
  transform: rotate(356deg);
  width: 105px
}
.rotasigambar23 {
  position: absolute;
  top: -8px;
  right: 80px;
  text-align: center;
  transform: rotate(40deg);
  width: 105px
}
.rotasigambar24 {
  position: absolute;
  top: 22px;
  right: 18px;
  text-align: center;
  transform: rotate(89deg);
  width: 105px
}

.spin {
  transform: translate(0%, 30%);
  width: 150px;
  height: 75px;
  border-radius: 10%;
  border: 4px solid white;
  background-color: #bd0808;
  color: #fff;
  box-shadow: 0 5px 20px #000;
  font-weight: bold;
  font-size: 22px;
  cursor: pointer;
}

.spin:active {
  background-color: #e22423;
}

.mainbox.animate:after {
  animation: animateArrow 0.7s ease infinite;
}

audio {
  display: none;
}

@keyframes animateArrow {
  50% {
    right: -50px;
  }
}

@media (max-width: 576px) {
  .mainbox {
    width: 100%;
    height: 50%;
  }
}
