.services .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 2px 0 35px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
  text-align: center;
}

.services .icon-box::before {
  content: "";
  position: absolute;
  background: #fdeff2;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.4s;
  z-index: -1;
}

.services .icon-box:hover::before {
  background: #f84ca5;
  top: 0;
  border-radius: 0px;
}
.services .title {
  font-family: var(--heading-font--);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
  margin-top: 20px;
}

.services .title a {
  color: #111;
}

.services .description {
  font-family: "Roboto Slab";
  font-size: 14px;
  line-height: 28px;
  margin-bottom: 0;
}
#overlayDiv {
  position: absolute;
  background: #000000ad;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  line-height: 2;
  font-size: 19px;
  text-align: center;
  padding-left: 22vw;
  padding-right: 22vw;
  flex-direction: column;
  gap: 15px;
}

.services .icon-box:hover .title a,
.services .icon-box:hover .description {
  color: #fff;
}

.services .icon-box:hover .icon i,
.features .icon-box:hover i,
.features .icon-box:hover a {
  color: #fff !important;
}
.icon-box a {
  text-decoration: none;
}
.icon-box img {
  width: 50%;
}
.services .icon {
  margin-bottom: 15px;
}
.icon-box:hover .title {
  color: #fff !important;
}
.icon-box:hover img {
  filter: drop-shadow(0px 0px 2px white);
}
.services .icon i {
  font-size: 48px;
  line-height: 1;
  color: #f84ca5;
  transition: all 0.3s ease-in-out;
}
@media (max-width: 850px) {
  #overlayDiv {
    font-size: 16px;
    padding-left: 15vw;
    padding-right: 15vw;
  }
  #overlayDiv h2 {
    font-size: 25px;
  }
}
@media (max-width: 650px) {
  #overlayDiv {
    font-size: 14px;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  #overlayDiv h2 {
    font-size: 20px;
  }
}
@media (max-width: 500px) {
  #overlayDiv {
    font-size: 13px;
    padding-left: 2vw;
    padding-right: 2vw;
    gap: 5px;
  }
  #overlayDiv h2 {
    font-size: 18px;
  }
}
@media (max-width: 450px) {
  #overlayDiv {
    font-size: 12px;
    line-height: 1.5;
  }
  #overlayDiv h2 {
    font-size: 15px;
  }
}
