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

body {
  font-family: Arial, sans-serif;
  background: url(bg.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;  /* Keeps the background fixed while scrolling */
  margin: 0;  /* Removes default margin */
  height: 800px;
  width: 100%;
  position: absolute;
}


.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: 92px;
  left: 108px;
  width: 80px;
  height: 110px;
  z-index: 9999;
}

.arrow {
  position: relative;
  content: "";
  top: 85px;
  left: 260px;
  width: 35px;
  height: 35px;
  z-index: 999;
  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: 430px;
  height: 430px;
  left:-65px;
  top: -22px;
}


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: 28px;
  right: 172px;
  text-align: center;
  transform: rotate(-90deg);
  height: 145px;
}
.rotasigambar2 {
  position: absolute;
  top: -8px;
  right: 116px;
  text-align: center;
  transform: rotate(-45deg);
  height: 145px;
}
.rotasigambar3 {
  position: absolute;
  top: 8px;
  right: 50px;
  text-align: center;
  transform: rotate(0deg);
  height: 145px;
}
.rotasigambar4 {
  position: absolute;
  top: 65px;
  right: 13px;
  text-align: center;
  transform: rotate(45deg);
  height: 145px;
}

.rotasigambar21 {
  position: absolute;
  top: 23px;
  right: 169px;
  text-align: center;
  transform: rotate(-90deg);
  height: 145px;
}
.rotasigambar22 {
  position: absolute;
  top: -14px;
  right: 112px;
  text-align: center;
  transform: rotate(-45deg);
  height: 145px;
}
.rotasigambar23 {
  position: absolute;
  top: 1px;
  right: 45px;
  text-align: center;
  transform: rotate(0deg);
  height: 145px;
}
.rotasigambar24 {
  position: absolute;
  top: 60px;
  right: 10px;
  text-align: center;
  transform: rotate(45deg);
  height: 145px;
}

.spin {
  transform: translate(0%, 30%);
  width: 346px;
  height: 75px;
  border: 4px solid #FFFFFF;
  background-color: #e9bf59;
  color: #fff;
  box-shadow: 0 5px 20px #000;
  font-weight: bold;
  font-size: 22px;
  cursor: pointer;
  top: -35px;
  left: -3.8px;
  position: relative;
}

.spin:active {
  width: 346px;
  height: 75px;
  font-size: 22px;
  border: 4px solid #FFFFFF;
  background-color: #e3b33d;

}

.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%;
  }
}*/
