.header {
  margin: 14rem 0 20rem 0;
  padding: 0 4rem;
  position: relative;
  height: calc(100vh - 31rem);
}

.header__title {
  line-height: 12.5rem;
}

.header__info {
  font-weight: 500;
  font-size: 100px;
  line-height: 160px;
}

.header__info {
  font-weight: 100;
  font-size: 9rem;
}

.header__image {
  width: 40rem;
  position: absolute;
  top: 10%;
  left: 0%;
}

/* SERVICES SECTION */
.service {
  padding: 0 4rem;
  margin-bottom: 16rem;
}

.service__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(27rem, 1fr));
  row-gap: 11rem;
}

.service__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  color: var(--color-primary);
}

.service__item-title {
  font-weight: 500;
}

.service__image {
  position: relative;
  width: 5.9rem;
  height: 6.7rem;
}

.service__image img {
  object-fit:contain;
}

.service__image div {
  position: absolute;
  left: 20%;
  top: -50%;
  width: 9rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.service__item:hover .service__image div {
  opacity: 1;
  visibility: visible;
}

/* WORK SECTION */
.work {
  padding: 0 4rem;
  margin-bottom: 16rem;
}

.work__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 30rem));
  column-gap: 15px;
  row-gap: 30px;
  place-content: center;
}

.work__item {
  max-width: 28rem;
  width: 100%;
}

.work__image {
  height: 30rem;
}

/* SLIDER */
.work__items .slick-slide {
  margin: 0 1.8rem;
}

.work__items .slick-dots {
  bottom: -15%;
}

.work__items .slick-dots li {
  margin: 0 0.25rem;
}

.work__items .slick-dots li button {
  display: block;
  width: 1rem;
  height: 1rem;
  padding: 0;

  border: none;
  border-radius: 100%;
  background-color: var(--color-white);

  text-indent: -9999px;
}

.work__items .slick-dots li.slick-active button {
  background-color: var(--color-primary);
}

.work__image {
  margin-bottom: 1.5rem;
}

.work__item .work__image img {
  filter: saturate(0);
}

.work__item:hover .work__image img {
  filter: saturate(50%);
}

.work__category {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 2.2rem;
  color: var(--color-primary);
}

.work__desc {
  font-size: 1.8rem;
  line-height: 2.4rem;
  color: var(--color-white);
}

@media (max-width: 1100px) {
  .header__title {
    font-size: 9rem;
  }

  .header__info {
    font-size: 7.8rem;
  }
}

@media (max-width: 768px) {
  .header {
    margin-top: 7rem;
    padding: 0 1rem;
    height: auto;
  }

  .header__image {
    width: 25rem;
  }

  .header__title {
    font-size: 6rem;
    line-height: 8.5rem;
  }

  .header__info {
    font-size: 4.8rem;
  }

  .service {
    padding: 0 1rem;
    margin-bottom: 9rem;
  }

  .service__items {
    row-gap: 5rem;
  }

  .work {
    padding: 0 1rem;
    margin-bottom: 9rem;
  }

  .work__desc {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header__title {
    font-size: 3.4rem;
    line-height: 0rem;
  }

  .header__info {
    font-size: 2.8rem;
  }

  .header__image img {
    width: 70%;
  }
}
