#services {
  & .card {
    padding: 0;
    border-radius: 0;
    border: 0;
	  overflow: hidden;
    & .card-body {
      font-size: 24px;
      text-align: center;
    }
  }
}


#services {
	background-color: #5d7bd580;
	color: #fff;
	background: var(--color-secondary);
	padding: 45px 0;
	position: relative;
	overflow: hidden;
}
.figure-decorative-services {
	position: absolute;
	left: 50%;
	transform: translateX(-100%);
}
.figure-decorative-services svg {
	width: 400px;
	opacity: 0.5;
}
.more-information {
	position: absolute;
	z-index: 1;
	bottom: 68px;
	background: #f0f0f0;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	right: 0;
  transition: 400ms;

}
.card:hover .more-information {
	opacity: 0;
	pointer-events: none;
  transition: 400ms;
}
.description-service {
	position: absolute;
	height: calc(100% - 68px);
	background: #f1f1f1f0;
	width: 100%;
	height: 0;
	bottom: 68px;
	overflow: auto;
	visibility: hidden;
  transition: 400ms;
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
#services .card:hover .description-service {
	height: calc(100% - 68px);
	bottom: 68px;
	visibility: visible;
  transition: 400ms;

}



.list-services {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.list-services li {
	font-size: var(--font-size-content) !important;
	font-weight: 600;
  transition: 400ms;
  list-style: none;
}

.list-services li:hover {
  transition: 400ms;
  color: var(--color-primary);

}

#services .btn-custom {
	max-width: 250px;
}
.item-service-slide {
	gap: 2rem;
}

.row.item-service-slide {
	display: flex;
	justify-content: end;
}

@media (max-width: 991px) {

  .row.item-service-slide {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  #services {
    text-align: center;
  }
  .col-10.list-services {
    width: 100%;
  }

  #services .btn-custom {
    margin: auto;
    margin-top: 20px;
  }
  .item-service-slide {
    gap: 0;
  }
  #services h2 img {
    margin-left: -59px;
    left: 50% !important;
  }
}

@media (max-width: 480px) {
  .description-service {
    height: calc(100% - 258px);
    bottom: 60px;
    visibility: visible;
    transition: 400ms;
    background: #ffffffc9;
  }
  #services .card:hover .description-service {
    height: calc(100% - 60px);
    bottom: 60px;

  
  }
  .more-information {

    display: none;
  }
  #services .card .card-body {
    font-size: 13px;
    padding: 5px;
  }
  #services .card {
    margin: 10px 0;
  }
  .list-services {
    grid-template-columns: 1fr;
  } 
}

