.services {
  padding-top: 120px;
  background-color: var(--dark);
  height: auto;
}

.service-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

.service-content > p {
  padding: 1em 2.5em;
  width: 100%;
  text-align: center;
}

.type-services {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 2.5em;
  justify-content: center;
}

.service-box {
  display: flex;
  position: relative;
  flex-direction: column;
  width: calc(33.33% - 3em);
  min-height: 400px;
  border: 1px solid white;
  padding: 3em;
  align-items: center;
  transition: border 0.2s linear;
  margin: 2em;
}

.service-box::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  background: url("../../images/logo-menu.png") center / 80% no-repeat;
  opacity: 0;
  transition: all 0.2s linear;
}

.service-box:hover::before {
  opacity: 0.1;
}

.service-box-button-bottom {
  position: absolute;
  background-color: none;
  width: 10%;
  height: 10px;
  right: 0;
  bottom: 0;
  border-left: 50px solid transparent;
  border-right: 0px solid transparent;
  border-bottom: 50px solid var(--secondary-a);
  visibility: hidden;
}

.service-box-button-top {
  position: absolute;
  background-color: var(--secondary-a);
  width: 10%;
  height: 10px;
  left: 0;
  top: 0;
  border-left: 50px solid transparent;
  border-right: 0px solid transparent;
  border-bottom: 50px solid black;
  visibility: hidden;
}

.service-box > h3 {
  color: var(--secondary-a);
  /* text-overflow: ellipsis;
  white-space: nowrap; */
  padding-top: 1.5em 2.5em;
  transition: all 0.2s linear;
}

.service-box > img {
  width: 8em;
  align-items: center;
}

.service-box > p {
  font-size: 1em;
  text-align: center;
  padding-top: 1.5em;
}

.service-box:hover {
  border-color: var(--secondary-a);
}

.service-box:hover > .h3-hover {
  font-size: 1.7em;
}

.service-box:hover > .service-box-button-top,
.service-box:hover > .service-box-button-bottom {
  visibility: visible;
}

.divider {
  display: flex;
  align-items: center;
  width: 100%;
  padding-top: 5em;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--secondary-a);
  margin: 0 7em;
}

.divider > img {
  width: 5%;
}
