.services-index {
  width: 90vw;
  padding-top: 4rem;
  margin: auto;
}

.services-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


.service-card {
	display: flex;
	flex-direction: column;
  width: 100%;
  max-height: 80%;
	background-color: hsl(0, 0%, 100%);
	gap: 1rem;
	align-items: start;
	padding: 2rem;
	border: black solid 2px;
	margin: 1rem 0px;
	border-radius: 10px;
	box-shadow: 1px 1px 9px 0px rgba(0,0,0,1);
}

.service-card a {
  color: var(--color-dark-blue);
  font-weight: 800;
}
.service-card-image {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.service-card-image img {
  width: 100%;
  height: 100%;      
  object-fit: cover; 
  display: block;
}


/* MOBILE STYLES */
@media (min-width: 768px) {
.services-index {
  width: 60vw;
  
}

.services-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.service-card {
	display: flex;
	flex-direction: column;
  width: 25vw;
  max-height: 80%;
  max-width: 360px;
}


}