.stats-section {
  height: auto;
  margin: 10px 0 20px 0;
  --star-size: 28px;
}

@media only screen and (max-width: 767px) {
  .stats-section {
    padding-top: 45px;
    height: 50vw;
  }
}

@media only screen and (max-width: 599px) {
  .stats-section {
    margin-bottom: 50px;
  }
}

.stats-section .w-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 850px;
}

.stats-section .w-container:before,
.stats-section .w-container:after {
  content: " ";
  display: table;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-column-end: 2;
  grid-row-end: 2;
}

.stats-section .items {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-top: -10px;
  position: relative;
}

.stats-section .w-col.w-col-4 {
  flex: 1 0 calc(25% - 10px);
  box-sizing: border-box;
  height: 37%;
  text-align: center;
  width: 33.3%;
  margin: 0 20px;
  padding: 0;
}

.stats-section .w-col.w-col-4.item-1 {
  padding: 0 10px;
}

.stats-section .block {
  margin: 0 auto;
  padding: 46px 10px 31px;
  align-self: stretch;
}

@media only screen and (max-width: 599px) {
  .stats-section .block {
    padding: 26px 10px 20px;
  }
}

.stats-section .title {
  font-size: 36px;
  line-height: 43px;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #ED2B7A 2.31%, #560D86 97.38%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  -ms-text-fill-color: transparent;
  text-fill-color: transparent;
  margin-bottom: 7px;
}

.stats-section .stars {
  --percent: calc( ( (var(--rating) / 5) - .032 ) * 100% );
  display: inline-block;
  font-size: var(--star-size);
  font-family: Times;
  line-height: 1;
  margin-bottom: 10px;
}

.stats-section .stars::before {
  content: '★★★★★';
  letter-spacing: 3px;
  background: -webkit-linear-gradient(0deg, #ED2B7A, #560D86 var(--percent), #CCC var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
  -ms-background-clip: text;
  -ms-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.stats-section .desc {
  font-size: 19px;
  line-height: 23px;
  color: #97A5B4;
  width: 140px;
  margin: 0 auto;
}

@media only screen and (max-width: 767px) {
  .stats-section .w-col.item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    -webkit-animation-duration: 15s;
            animation-duration: 15s;
    -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
    width: 90vw;
  }
  .stats-section .item-1 {
    -webkit-animation-name: statsFade;
            animation-name: statsFade;
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
  }
  .stats-section .item-2 {
    -webkit-animation-name: statsFade;
            animation-name: statsFade;
    -webkit-animation-delay: 3s;
            animation-delay: 3s;
  }
  .stats-section .item-3 {
    -webkit-animation-name: statsFade;
            animation-name: statsFade;
    -webkit-animation-delay: 6s;
            animation-delay: 6s;
  }
  .stats-section .item-4 {
    -webkit-animation-name: statsFade;
            animation-name: statsFade;
    -webkit-animation-delay: 9s;
            animation-delay: 9s;
  }
  .stats-section .item-5 {
    -webkit-animation-name: statsFade;
            animation-name: statsFade;
    -webkit-animation-delay: 12s;
            animation-delay: 12s;
  }
  @-webkit-keyframes statsFade {
    0% {
      opacity: 0;
    }
    15.11% {
      opacity: 0;
    }
    33.33% {
      opacity: 1;
    }
    41.44% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes statsFade {
    0% {
      opacity: 0;
    }
    15.11% {
      opacity: 0;
    }
    33.33% {
      opacity: 1;
    }
    41.44% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  .stats-section .title {
    /* font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width]))); */
    font-size: calc(32px + (92 - 32) * ((100vw - 300px) / (767 - 300)));
    line-height: calc(1.3em + (1.5 - 1.3) * ((100vw - 300px)/(767 - 300)));
  }
  .stats-section .desc {
    /* font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width]))); */
    font-size: calc(19px + (40 - 19) * ((100vw - 300px) / (767 - 300)));
    line-height: calc(1.3em + (1.5 - 1.3) * ((100vw - 300px)/(767 - 300)));
    width: auto;
  }
}

@media only screen and (max-width: 599px) {
  .stats-section .w-row {
    width: 95%;
  }
}
