/* CSS Document */

.how-does-it-work {
	background: var(--darkgray);
	color: white;
}

.how-does-it-work h2 {
	margin: 0 0 3rem;
	text-transform: none;
	text-align: center;
	font-size: 3rem;
	color: var(--green);
}

.steps-list {
	width: 25%;
}

.steps {
	width: 75%;
}

.step {
	display: flex;
	justify-content: space-between;
}

.step-content {
	width: 45%;

}

.step-image {
	width: 45%;
	height: 300px;
	overflow: hidden;

}

.step-image img {
	width: 100%;
	height: auto;
}



.steps-list ol {
	margin: 0;
	padding: 0;
	list-style: none;
	
	
	counter-reset: my-awesome-counter;

}



.steps-list ol li {
	margin: 0 0 .25rem;
	
	
	counter-increment: my-awesome-counter;
}

ol li a::before {
  content: counter(my-awesome-counter);
  font-weight: bold;
  margin-right: 1rem;
	color: var(--darkgray);
}

.steps-list a {
	display: inline-block;
	padding: .5rem 3rem .5rem 1.5rem;
}

.steps-list a.current-step {
  background: url("../images/arrow-tip-green.svg") right center / auto 112% no-repeat var(--green);
}


.steps-list strong {
	font-weight: normal;
}

@media (max-width: 1250px) {
	
  .how-does-it-work h2 {
  margin: 0 0 3rem;
  font-size: 2rem;
}
	
	
.step-content {
  width: 100%;
}
	
	.step {
		display: block;
	}

.steps {
	width: 100%;
}
	
	.steps-list {
	width: 100%;
}

.steps-list ol {
	display: flex;
	white-space: nowrap;
	margin: 0 0 2rem;
	
		overflow-x: scroll;
	
	  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
	
	.steps-list ol::-webkit-scrollbar {
  display: none;
}
	

	
	.steps-list a {
	color: white;
    display: inline-block;
    padding: .5rem 1rem ;
}
	
	.steps-list strong {
		display: none;
	}
	
	.steps-list a.current-step strong {
		display: inline-block;
	}
	
	.steps-list a.current-step {
		  padding: .5rem 3rem .5rem 1rem;
	}
	
	ol li a::before {
		color: white;
	}
	
	.step-image {
		width: 100%;
		height: auto; 
	}
	
}
