.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

  /* background: url(assets/images/icon 2/inovation.jpg) !important; */

  font-family: primary-regular;
}

.square {
  position: relative;
  max-width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0rem 2rem;
}

.square span:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid white;
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  transition: 0.5s;
  animation: animate 6s linear infinite;
}

.square span:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid white;
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  transition: 0.5s;
  animation: animate 4s linear infinite;
}

.square span:nth-child(3) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid white;
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  transition: 0.5s;
  animation: animate2 10s linear infinite;
}

@keyframes animate {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes animate2 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(30deg);
  }
}

.content {
  position: relative;
  padding: 40px 60px;
  color: #83b8e8;
  text-align: center;
  transition: 0.5s;
  z-index: 100;
}

.square .content h2 {
  font-family: Arial, Helvetica, sans-serif;
  color: #83b8e8 !important;
}

.square .content p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

@media only screen and (max-width: 400px) {
  .square {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .square .content h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px !important;
  }

  .square .content p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    font-weight: 700;
  }
  .square span:nth-child(1) {
    border-radius: 41% 44% 56% 59% / 41% 44% 56% 59%;
  }
  .square span:nth-child(2) {
    border-radius: 41% 44% 56% 59% / 41% 44% 56% 59%;
  }
  .square span:nth-child(3) {
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  }
}
