section {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.content {
  flex-grow: 1;
  padding: 0;
}

#main-page-promo {
  position: relative;
  display: flex;
  flex-direction: column;
}

#main-page-promo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/static/img/spiral_staircase_top_view.jpg');
  background-attachment: fixed;
  filter: brightness(0.8);
  -webkit-filter: brightness(0.8);
  background-size: cover;
  background-position: center;
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  z-index: -1;
}

#main-page-promo-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.main-page-promo-quote {
  font-family: 'MontserratBold';
  font-size: clamp(40px, 15vw, 180px);
  color: white;
  letter-spacing: clamp(5px, 3vw, 15px);
  position: relative;
  display: inline-block;
  margin: 0;
  line-height: 0.9;
  z-index: 1;
}

.main-page-promo-slogan {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(13px, 1.5vw, 24px);
  letter-spacing: 3px;
  color: white;
  margin-bottom: 1vh;
}

.topic-header {
  font-family: 'MontserratBold', sans-serif;
  margin-bottom: clamp(16px, 3vw, 20px);
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.2;
}

.services-list {
  list-style: none;
}

.services-list li {
  list-style: none;
  position: relative;
  padding: 0.3rem 0 0.3rem 2.5rem;
  min-height: clamp(1.2rem, 1.5vw, 2rem);
  display: flex;
  align-items: center;
}

.services-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background-color: #f6af43;
  -webkit-mask: no-repeat center;
  mask: no-repeat center;
  mask-size: contain;
}

.services-list li:nth-child(1)::before {
  -webkit-mask-image: url('/static/svg/pencil-square.svg');
  mask-image: url('/static/svg/pencil-square.svg');
}

.services-list li:nth-child(2)::before {
  -webkit-mask-image: url('/static/svg/tools.svg');
  mask-image: url('/static/svg/tools.svg');
}

.services-list li:nth-child(3)::before {
  -webkit-mask-image: url('/static/svg/gear-fill.svg');
  mask-image: url('/static/svg/gear-fill.svg');
}

.services-list li:nth-child(4)::before {
  -webkit-mask-image: url('/static/svg/clock-history.svg');
  mask-image: url('/static/svg/clock-history.svg');
}

.contacts-button {
  font-size: 16px;
  background: rgba(246, 175, 67, 0.9);
  border-radius: none;
  border: none;
  padding: 11px 23px;
  margin-top: 12px;
  transition: 0.5s;
}

.collage_images img {
  max-width: 70%;
  border-radius: 5px;
}

.contacts-text {
  text-align: justify;
}

.contacts-block,
.review-card {
  background: transparent;
  border: 2px solid #ffffff;
  border-radius: 15px;
  color: white;
}

.card-title {
  margin-bottom: 8px;
}

.card-body {
  padding: 1.25rem;
}

.contacts-text {
  max-width: 80%;
}

@media (max-width: 345px)
{
  #services-card .card-body {
    padding: 20px !important;
  }
}

@media (max-width: 767px)
{
    .review-card {
      margin-bottom: 1.5rem;
    }

    .review-img {
      height: 180px;
    }

    .collage_images img {
	  width: 70%;
	}

	.collage_images img:nth-child(2) {
      margin-top: 20px;
    }
}

@media (min-width: 768px) and (max-width: 992px)
{
    .collage_images img {
	  width: 50%;
	}

    .collage_images img:nth-child(2) {
      margin: -100px 0 0 80px;
    }

    #services-card {
      width: 70%;
    }
}

@media (min-width: 992px)
{
  #services-card {
    width: 100%;
  }

  .collage_images img {
    width: 50%;
  }

  .collage_images img:nth-child(2) {
    margin: -260px 0 0 250px;
  }
}

@media (min-width: 576px) and (max-width: 1200px) {
  #main-page-content > div {
    min-height: auto !important;
    height: auto;
    box-sizing: border-box;
    margin-top: 50px;
    }
}

