.hoiet_memory {
  padding: 30px 0 0px 0;
}
.d-flex
 {
    display: flex !important;
    justify-content: flex-start;
    align-items: baseline;
}
.hoiet_memory_title h2 {
  font-size: 16px;
  display: inline-block;
  margin: auto;
  font-weight: 400;
  padding: 0px 0px 10px 0px;
  color: var(--color-primary);
}

h3{
    font-size: 17px;
    font-weight: 600;
    color: var(--title-text-color, #000);
    font-family: var(--title-font-family);
}
.hoiet_memory_title .subtitle {
  margin-top: 15px;
  margin-bottom: 30px;
  color: #8d8d8d;
  /* line-height: var(--sung-about-title-leading); */
}

.hoiet_memory_title h3 {
  font-size: 36px;
  line-height: 1;
}

.hoiet_memory_inner {
  margin-bottom: 50px;
  position: relative;
  padding: 50px 0;
  background: #ccc;
  overflow: hidden;
}
.hoiet_memory_inner .em-service-icon {
  flex-shrink: 0;
  margin: 0px 20px 0px 0px;
}
.hoiet_memory_inner .em-service-icon img {
  margin-bottom: 15px;
  width: 60px;
    height: 60px;
}
.hoiet_memory_inner .em-service-desc{
  background-color: var(--color-primary);
  height: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: all 1s;
  transform: translateY(100%);
  bottom: 0;
}
.hoiet_memory_inner .em-service-desc p {
  /* padding: 10px 20px 0px 0px; */
  width: 90%;
  font-size: 12px;
}
.hoiet_memory_inner:hover .em-service-desc{
  opacity: 1;
  transform: translateY(0);
}


@media (min-width: 992px) and (max-width: 1199px) {
  .hoiet_memory_title h3 {
    font-size: 38px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hoiet_memory_title h3 {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .hoiet_memory_title h2 {
    margin-bottom: 4px;
    font-size: 15px;
  }
  .hoiet_memory_title h3 {
    font-size: 17px;
  }

  .hoiet_memory p {
    font-size: 14px;
  }

  .hoiet_memory_inner .em-service-title h3 {
    font-size: 20px;
  }
  .hoiet_memory_inner .em-service-desc p {
    padding: 10px 0;
  }
  .hoiet_memory_inner .em-service-icon img {
    width: 60px;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .hoiet_memory_title h3 {
    font-size: 25px;
  }
}