:root {
  --primary-green: #1C9080;
  --secondary-green: #65BFB5;
  --gray: #606060;
  --light-gray: #f0f0f0;
  --red: #d32f2f;
}

.hidden { display: none; }

.title {
  font-size: 60px;
  font-weight: 500;
  margin: 100px 0 100px 0;

  &.white { color: white; }
  &.center { text-align: center; }
}

.subtitle {
  font-size: 36px;
  margin: 100px 0 50px 0;
  display: flex;
  align-items: center;
  gap: 24px;

  &.white { color: white; }
  &.gray { color: var(--gray); }
  &.green { color: var(--primary-green); }
  &.center { text-align: center; }
  &.bold { font-weight: 600; }
}

.image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 70vh;
  max-height: 1500px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

.divider {
  width: 100%;
  height: 1px;
  background-color: black;
  margin: 25px 0;

  &.white { background-color: white; }
  &.gray { background-color: var(--gray); }
}

.text {
  font-size: 24px;
  font-weight: 400;
  line-height: 2;
  width: fit-content;

  &.white { color: white; }
  &.gray { color: var(--gray); }
  &.bold { font-weight: 600; }
}

.resizable-svg {
  width: 100%;
  height: auto;
  display: block;
}

.main-container {
  margin: 0 100px;
  max-width: 1720px;
}

@media (min-width: 1721px) {
  .main-container { margin: 0 auto; }
}

.small-container {
  margin: 0 100px;
  max-width: 900px;
}

@media (min-width: 901px) {
  .small-container { margin: 0 auto; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Мобильные устройства */
@media (max-width: 576px) {
  .main-container { margin: 0 10px 0 10px; }
  .small-container { margin: 0 10px 0 10px; }

  .title {
    font-size: 30px;
    margin: 60px 0 30px 0;
  }

  .subtitle {
    font-size: 20px;
    margin: 60px 0 30px 0;
  }

  .text { font-size: 14px; }
  .image { max-height: 200px; }
}

/* Планшеты портрет */
@media (min-width: 577px) and (max-width: 768px) {
  .main-container { margin: 0 20px 0 20px; }
  .small-container { margin: 0 100px 0 100px; }

  .title {
    font-size: 36px;
    margin: 100px 0 50px 0;
  }

  .subtitle { font-size: 24px }
  .text { font-size: 16px; }
  .image { max-height: 350px; }
}

/* Планшеты альбом / малые ноуты */
@media (min-width: 769px) and (max-width: 992px) {
  .main-container { margin: 0 30px 0 30px; }
  .small-container { margin: 0 100px 0 100px; }

  .title {
    font-size: 40px;
    margin: 100px 0 50px 0;
  }

  .subtitle {
    font-size: 24px;
    margin: 50px 0 50px 0;
  }

  .text { font-size: 18px; }
  .image { max-height: 650px; }
}

/* Ноутбуки */
@media (min-width: 993px) and (max-width: 1400px) {
  .small-container { margin: 0 200px 0 200px; }
  .title { font-size: 48px; }
  .subtitle { font-size: 30px; }
  .text { font-size: 20px; }
}
