.bubble-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 80px;
  flex-direction: row;
}

.wrap-bubble {
  display: flex;
  justify-content: center;
}
.wrap-bubble.trigger-hover .bubble {
  transform: rotateY(360deg);
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.wrap-bubble.trigger-hover .bubble .front {
  opacity: 0;
}

.wrap-bubble.trigger-hover .bubble .back {
  transform: rotateY(0deg);
}
.bubble:hover {
  /*      transform: rotateY(180deg);
	 transition: transform 0.8s;
	 transform-style: preserve-3d;  */
}

.bubble {
  position: relative;
  /* margin: 40px 40px; */
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #eee;
  border: #333;
  background-size: contain;
  overflow: hidden;
  background-repeat: no-repeat;
  /*     cursor: pointer; */
  transition: transform 0.8s;
  /*     transform-style: preserve-3d; */
}
.bubble-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-direction: row;
}

.bubble-row .wrap-bubble:nth-child(1) {
  margin-left: 0;
}

.bubble-row .wrap-bubble:nth-child(3) {
  margin-right: 0;
}

.wrap-bubble {
  width: 330px;
}

.animation-duration {
   /* animation-name: bubble;
  animation-duration: 15s;
  animation-play-state: paused; */
 
  /*animation-iteration-count: infinite; */
  position: relative;
  top: 0;
    /* animation-timing-function: linear;  */
} 

.animation-duration.active {
    /* animation-play-state: running;   */
}

.bubble .front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-color: #fff;
  /* margin: 20px 0; */
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

.bubble .front img {
  padding: 50px;
  background-color: #fff;
}

.bubble .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-color: #ed6c05;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  transform: rotateY(180deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@keyframes bubble {
  0% {
    transform: translate(0, 0%);
  }
  100% {
    transform: translate(0, 100%);
  }
}

.bubble-container {
  position: relative;
  top: -100px;
}

.services-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.service {
  margin: 8px;
}

.container-animation {
  overflow: hidden;
}
.wrap-bubble {
  width: 300px;
}

.bubble-row .wrap-bubble:nth-child(1) .bubble {
  margin-left: 0;
}

.bubble-row .wrap-bubble:nth-child(3) .bubble {
  margin-left: 80px;
  margin-right: 0;
}
@media only screen and (max-width: 1023px) {

  .wrap-bubble {
    width: 240px;
  }
}

@media only screen and (max-width: 991px) {

  .wrap-bubble {
    width: 230px;
  }
}

@media only screen and (max-width: 768px) {
  .bubble-row {
    margin-bottom: 10px;
  }
  .wrap-bubble {
    width: 170px;
  }

  .bubble {
    width: 100px;
    height: 100px;
    margin: 5px;
  }
  .bubble-row {
    margin-bottom: 10px !important;
  }
  /* .bubble-row .wrap-bubble:nth-child(1) .bubble {
    margin-left: 0;
  }

  .bubble-row .wrap-bubble:nth-child(3) .bubble {
    margin-left: 27px;
    margin-right: 0;
  } */

  .bubble .back {
    font-size: 11px;
    padding: 10px;
    position: relative;
    text-align: center;
  }

  .bubble .front img {
    padding: 15px;
  }

  .animation-duration {
    /* animation-duration: 25s !important; */
  }
}

.icon-animation img {
  animation: blinker 1s linear infinite;
  cursor: pointer;
}
@media only screen and (max-width: 540px) {
  .wrap-bubble {
    width: 112px;
  }
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}
