.header {
  position: relative;
  background-image: url("../images/images.jpg");
  background-size: cover;
  background-position: center;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 15%;
}

.logo-small {
  color: #f38f0c;
  font-size: 50px;
}

ul li a {
  color: black !important;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 18px;
}

#services {
  background-color: rgba(255, 253, 253, 0.753);
}

/* mobile */
@media only screen and (max-width: 768px) {
  .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }
}

/* ball */
@import url("https://fonts.googleapis.com/css?family=Roboto");

.wrap h1 {
  background-color: #a00707;
  font-size: 40px;
  justify-content: center;
  font-family: "arial";
  margin: 15px;
  padding: 10px;
  color: white;
  border-radius: 0.2em;
  width: 350px;
}

.ball {
  display: inline-block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(
    circle at 50% 40%,
    #fcfcfc,
    #efeff1 66%,
    #9b5050 100%
  );
  overflow: hidden;
  animation: ballGrow 2s ease-out forwards;
  transform: scale(0.5);
}
.ball:after {
  content: "";
  position: absolute;
  top: 5%;
  left: 10%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.8) 14%,
    rgba(255, 255, 255, 0) 24%
  );
  -webkit-transform: translateX(-80px) translateY(-90px) skewX(-20deg);
  -moz-transform: translateX(-80px) translateY(-90px) skewX(-20deg);
  -ms-transform: translateX(-80px) translateY(-90px) skewX(-20deg);
  -o-transform: translateX(-80px) translateY(-90px) skewX(-20deg);
  transform: translateX(-80px) translateY(-90px) skewX(-20deg);
}

.stage {
  width: 100px;
  height: 100px;
  display: inline-block;
  margin: 25px;
  -webkit-perspective: 1200px;
  -moz-perspective: 1200px;
  -ms-perspective: 1200px;
  -o-perspective: 1200px;
  perspective: 1200px;
  -webkit-perspective-origin: 50% 50%;
  -moz-perspective-origin: 50% 50%;
  -ms-perspective-origin: 50% 50%;
  -o-perspective-origin: 50% 50%;
  perspective-origin: 50% 50%;
}

.number {
  position: absolute;
  width: 12%;
  text-align: center;
  line-height: 100px;
  font-size: 48px;
  color: rgb(0, 0, 0);
  font-family: "Roboto", sans-serif;
  animation: ballRoll 2s ease-out;
}

.number:after {
  content: attr(data-number);
  position: absolute;
  transform: translateX(-100%);
  opacity: 0;
  animation: numberReveal 0.1s 1.5s reverse forwards;
}

.number:before {
  content: "?";
  position: absolute;
  transform: translateX(-25%);
  animation: numberReveal 0.1s 1.5s forwards;
}

@keyframes ballRoll {
  0%,
  20%,
  50% {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
  }
  10%,
  35%,
  75% {
    transform: translateY(100%) rotateX(170deg) scale(0.4);
  }
  11%,
  36%,
  76% {
    transform: translateY(-100%) rotateX(-170deg) scale(0.3);
    opacity: 0;
  }
}

@keyframes ballGrow {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes numberReveal {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* .stage:nth-child(2) .ball,
.stage:nth-child(2) .number {
  animation-delay: 0.3s;
}

.stage:nth-child(2) .number:after,
.stage:nth-child(2) .number:before {
  animation-delay: 1.8s;
}

.stage:nth-child(3) .ball,
.stage:nth-child(3) .number {
  animation-delay: 0.6s;
}

.stage:nth-child(3) .number:after,
.stage:nth-child(3) .number:before {
  animation-delay: 2.1s;
}

.stage:nth-child(4) .ball,
.stage:nth-child(4) .number {
  animation-delay: 0.9s;
}

.stage:nth-child(4) .number:after,
.stage:nth-child(4) .number:before {
  animation-delay: 2.4s;
} */

.prize {
  font-size: 25px;
  padding-bottom: 20px;
}

@media only screen and (max-width: 768px) {
  .stage {
    margin: 1px;
    width: 50px;
    height: 50px;
  }

  .number {
    line-height: 50px;
    font-size: 24px;
  }
}

/* pagination */
.pagination a {
  color: black;
}

/* set for active */
.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: rgb(14, 14, 14);
  border-color: rgb(18, 18, 18);
}
