/* SERVICE page animation style */

#top-service {
  position: relative;
  height: 350px;
  margin: 0;
  padding-top: 0px;
  background: #2980b9;
  overflow: hidden;
}

.ripples1 {
  position: absolute;
  left: 20%;
  top: 75%;
  width: 0;
  height: 0;
  border: solid 2px #FFF;
  border-radius: 50%;
  opacity: 0;
  animation: ripples_anim1 2.5s linear infinite;
}

.ripples2 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border: solid 2px #FFF;
  border-radius: 50%;
  opacity: 0;
  animation: ripples_anim2 3.5s linear infinite;
}

.ripples3 {
  position: absolute;
  left: 75%;
  top: 25%;
  width: 0;
  height: 0;
  border: solid 2px #FFF;
  border-radius: 50%;
  opacity: 0;
  animation: ripples_anim3 3s linear infinite;
}

@keyframes ripples_anim1 {
    0% {
    opacity: 1;
  }
  
  50% {   
    transform: translate(-100px,-100px);
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

@keyframes ripples_anim2 {
  0% {
  opacity: 1;
}

50% {   
  transform: translate(-200px,-200px);
  width: 400px;
  height: 400px;
  opacity: 0;
}
}

@keyframes ripples_anim3 {
  0% {
  opacity: 1;
}

50% {   
  transform: translate(-150px,-150px);
  width: 300px;
  height: 300px;
  opacity: 0;
}
}

.scroll-2 {
  display: inline-block;
  padding-top: 70px;
  padding-bottom: 10px;
  position: relative;
  background: #2980b9;
}
.scroll-2::before {
  animation: scroll 3.5s infinite;
  border: solid #acd5f0;
  border-width: 0 0 3px 3px;
  content: "";
  display: inline-block;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  transform: rotate(-45deg);
  width: 20px;
  height: 20px;
}
@keyframes scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }
  80% {
    transform: rotate(-45deg) translate(-30px, 30px);
  }
  0%, 80%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}
