:root {
  --color-primary: #427f51;
  --color-text: #494c4a;
  --color-button-bg: #1f6166;
  --color-button-text: #ffffff;
  --color-button-bg-hover: #427f51;
}

body {
  font-family: "Gilroy", sans-serif;
}

.about {
  display: grid;
  justify-items: center;
  padding: 0 27px;
}

.about__container {
  max-width: 100%;
  margin: 0 auto;
}

.about__title-mobile {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.about__title-desktop {
  display: none;
}

.about__images-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-left: 10px;
}

.about__images {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 340 / 346;
  margin: 0 auto 37px;
  box-sizing: border-box;
}

.about__image {
  position: absolute;
  border-radius: 13px;
  object-fit: cover;
  display: block;
}

.about__image-1 {
  top: 0;
  left: 0;
  width: 44%;
  height: 66%;
}

.about__image-2 {
  top: 4%;
  right: 9%;
  width: 40%;
  height: 35%;
}

.about__image-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56%;
  height: 56%;
}

.about__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
}

.about__text p {
  font-weight: 300;
}

.about__text strong {
  font-weight: 550;
}

.about__highlight {
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}

.about__button-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.about__button {
  display: inline-block;
  margin-top: 34px;
  background-color: var(--color-button-bg);
  color: var(--color-button-text);
  border-radius: 33px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;

  width: 298px;
  height: 48px;
  font-size: 20px;

  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .about {
    padding: 0 50px;
  }
  .about__title-mobile {
    font-size: 48px;
    margin-bottom: 22px;
  }

  .about__images {
    max-width: 450px;
  }

  .about__text {
    font-size: 16px;
    line-height: 20px;
  }

  .about__button-container {
    justify-content: start;
  }

  .about__button {
    width: 327px;
    height: 57px;
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .about {
    padding: 0 55px;
  }

  .about__container {
    max-width: 100%;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 3rem;
    align-items: center;
    margin: 0;
  }

  .about__description {
    order: 1;
  }

  .about__content {
    order: 2;
  }

  .about__title-desktop {
    display: block;
    font-size: 48px;
    font-weight: 620;
    color: var(--color-primary);
    margin: 0;
  }

  .about__title-mobile {
    display: none;
  }

  .about__text,
  .about__highlight {
    font-size: 16px;
  }

  .about__images {
    max-width: 500px;
    margin-bottom: 0;
  }

  .about__button {
    width: 326px;
    height: 57px;
    font-size: 20px;
  }

  .about__button:hover {
    background-color: var(--color-button-bg-hover);
  }

  .about__images-container {
    margin-left: 40px;
  }

  .about__image-1 {
    width: 41%;
    height: 62%;
  }

  .about__image-2 {
    top: 5%;
    right: 20%;
    width: 33%;
    height: 31%;
  }

  .about__image-3 {
    bottom: 5%;
    width: 53%;
    height: 52%;
  }
}

@media (min-width: 1440px) {
  .about {
    padding: 0;
    padding-left: 73px;
  }

  .about__container {
    grid-template-columns: 35% 65%;
  }

  .about__images-container {
    margin-left: 0;
  }

  .about__image-1 {
    top: 0;
    left: 0;
    width: 44%;
    height: 66%;
  }

  .about__image-2 {
    top: 4%;
    right: 9%;
    width: 40%;
    height: 35%;
  }

  .about__image-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56%;
    height: 56%;
  }
}
