/* CSS Document */
.steps {
  counter-reset: step;
  padding: 20px
}

@media only screen and (min-width:768px) {
  .steps {
    max-width: 1200px;
    padding: 0 30px;
    margin: 0 auto;
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    -webkit-box-pack: center;
    justify-content: center
  }
}

@media only screen and (min-width:1120px) {
  .steps {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr)
  }
}

.steps li {
  counter-increment: step;
  position: relative;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, .08);
  text-align: center;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column
}
	


@media only screen and (min-width:768px) {
  .steps li {
    margin-bottom: 0;
    width: calc(33% - 20px)
  }
}

@media only screen and (min-width:1120px) {
  .steps li {
    width: auto
  }

  .steps li:after {
    content: "";
    position: absolute;
/*    top: 20px;
    right: -30px;
    border-top: 30px solid transparent;
    border-left: 30px solid #b9b0f9;
    border-bottom: 30px solid transparent;*/
	top: 30px;
    right: -20px;
    border-top: 20px solid transparent;
    /*border-left: 30px solid #b9b0f9;*/
	border-left: 30px solid #2C93CC;
    border-bottom: 20px solid transparent;
    z-index: 1
  }
}

.steps li .step__content {
  position: relative;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column
}

.steps li .step__content:after {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 100px;
  line-height: 60px;
  color: hsla(0, 0%, 100%, .38)
}

@media only screen and (min-width:768px) {
  .steps li .step__content:after {
    font-size: 150px;
    line-height: 90px
  }
}

.steps li .step__content .step__header {
  position: relative;
 /* background: linear-gradient(90deg, #cdcbfb, #b9b0f9);*/
  background: linear-gradient(90deg, #80B5EC, #2C93CC);
  padding: 50px 0 0
}

@media only screen and (min-width:768px) {
  .steps li .step__content .step__header {
    padding: 80px 0 0
  }
}

.steps li .step__content .step__header .step__icon {
  position: absolute;
  right: 10px;
  top: 0;
  width: 45px;
  margin: 10px 0
}

@media only screen and (min-width:768px) {
  .steps li .step__content .step__header .step__icon {
    right: 15px;
    width: 65px
  }
}

.steps li .step__content .step__header .wave {
  display: block;
  height: 20px;
  width: 100%
}

.steps li .step__content h3 {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 5px 0 0;
  font-size: 20px;
  background: none;
	border:none;
	padding:0;
}

.steps li .step__content p {
  position: relative;
  text-align: left;
  color: #000;
  padding: 15px;
  font-size: 90%;
  margin: 0;
}



.steps li:nth-child(2) .step__header {
  background: linear-gradient(90deg, #cfeef3, #8ed3da);
}

.steps li:nth-child(2):after {
  border-left: 30px solid #8ed3da;
}

.steps li:nth-child(2) .tag {
  color: #8ed3da;
}

.steps li:nth-child(3) .step__header {
  background: linear-gradient(90deg, #f9e3b4, #efcf7b);
}

.steps li:nth-child(3):after {
  border-left: 30px solid #efcf7b;
}

.steps li:nth-child(3) .tag {
  color: #efcf7b;
}

.steps li:nth-child(4) .step__header {
  background: linear-gradient(90deg, #f4e8d9, #f9e6cf);
}

.steps li:nth-child(4):after {
  border-left: 30px solid #f9e6cf;
}

.steps li:nth-child(4) .tag {
  color: #efcf7b;
}

.steps li:nth-child(5) .step__header {
  background: linear-gradient(90deg, #F5A4C5, #EF7DAB);
}

.steps li:nth-child(5):after {
  border-left: 30px solid #EF7DAB;
}

.steps li:nth-child(5) .tag {
  color: #ECBFDD;
}

.steps li:nth-child(6) .step__header {
  background: linear-gradient(90deg, #f3cfe5, #da8eae);
}

.steps li:nth-child(6):after {
  border-left: 30px solid #da8eae;
}

.steps li:nth-child(6) .tag {
  color: #da8eae;
}

.steps li:nth-child(7) .step__header {
  background: linear-gradient(90deg, #daf3cf, #97da8e);
}

.steps li:nth-child(7):after {
  border-left: 30px solid #97da8e;
}

.steps li:nth-child(7) .tag {
  color: #97da8e;
}


.steps li:nth-child(8) .step__header {
  background: linear-gradient(90deg, #8BDF65, #4BAF1F)
}

.steps li:nth-child(8):after {
  display: none;
}

.steps li:nth-child(8) .tag {
  color: #4BAF1F;
}

	
/*.steps li:nth-child(8):after {
  display: none
}

.steps li:nth-child(8) .tag {
  color: #97da8e
}*/

.steps li .tag {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #b9b0f9;
  padding-bottom: 10px;
}

.steps-attention {
  padding: 0 20px;
  margin: 0 auto;
}

@media only screen and (min-width:768px) {
  .steps-attention {
    padding: 0 40px;
  }
}

@media only screen and (min-width:1120px) {
  .steps-attention {
    padding: 20px 0 0;
    max-width: 770px;
  }
}	
