.banner-service {
  box-sizing: border-box;
  height: 650px;
  background-image: url(../img/banner-service.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding-left: 20vw;
  margin-top: 50px;
}

.service-title {
  visibility: hidden;
}

@keyframes title-in {
  0% {
    left: -500px;
    opacity: 0.1;
  }
  100% {
    left: 0px;
    opacity: 1;
  }
}

.service-title-in {
  visibility: visible;
  position: relative;
  animation: title-in 0.8s ease-out;
}

.item {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background-color: #f2f2f2; */
  padding: 0 60px;
  margin-bottom: 60px;
}

.item-img {
  flex-shrink: 0;
  margin: 30px 0;
  width: 100%;
}

@keyframes img-in {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes content-in {
  0% {
    opacity: 0;
    right: -600px;
    visibility: hidden;
  }
  10% {
    opacity: 0.1;
    right: -600px;
    visibility: visible;
  }
  100% {
    opacity: 1;
    right: 0px;
    visibility: visible;
  }
  101% {
    opacity: 1;
    right: 0px;
    visibility: visible;
  }
}

.item-img-1,
.item-img-2,
.service-1-title,
.service-1-content,
.service-2-title,
.service-2-content,
.service-3-title,
.service-3-content {
  visibility: hidden;
}

.item-img-1-in,
.item-img-2-in {
  visibility: visible;
  animation: img-in 1s ease-out;
}

.service-content {
  flex: 1;
  /* margin-left: 50px; */
}

.service-sub-title {
  margin-bottom: 26px;
  font-weight: 900;
}

.service-sub-content {
  font-size: 15px;
  font-weight: 500;
  line-height: 28px;
}

.service-sub-content-row {
  text-indent: 2em;
}

.service-1-title-in,
.service-2-title-in,
.service-3-title-in {
  visibility: visible;
  position: relative;
  animation: title-in 1s ease-out;
}

.service-1-content-in,
.service-2-content-in,
.service-3-content-in {
  visibility: visible;
  position: relative;
  animation: content-in 1.2s ease-out 0.8s both;
}

/* .item-holder {
  flex-shrink: 0;
  margin: 30px 0;
  width: 25%;
} */

@media screen and (max-width: 1200px) {
  .banner-service {
    height: 550px;
  }
}

@media screen and (max-width: 667px) {
  .banner-service {
    height: 300px;
    background-attachment: unset;
    background-position: 70% 70%;
  }
  .item {
    flex-direction: column;
    padding: 20px;
  }
  .item-img {
    margin: 15px 0;
    /* width: 240px; */
  }
  .service-sub-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .service-sub-content {
    font-size: 14px;
  }
  .service-content {
    /* margin-left: 10px; */
  }
}
