/* Подключаем шрифт */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100;200;300&display=swap');

:root {
  --main-color: #b19797;
  --font-primary: 'Onest', sans-serif;
  --font-size-base: 1rem;
}

/* Базовые стили */
body {
  font-family: var(--font-primary);
  font-weight: 100;
  color: var(--main-color);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #ffffff;
  text-align: center;
}

/* Центрированный контейнер с фиксированным фоном */
.center-container {
  width: 100%;
  max-width: 1200px;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 100px; /* Отступы для пространства */
  margin-top: -10%;
  margin-bottom: -10%;
  background-image: url('img/phone-cloud.webp');
  background-size: 50%;
  background-position: calc(100% - 50px) center;
  background-repeat: no-repeat;
  position: relative;
}

/* Логотип */
.logo {
  font-size: 21px;
  font-weight: 200;
  color: var(--main-color);
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 20px;
  padding-right: 20px;
  z-index: 1;
}

.logo::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 11px;
  background-image: url("img/logo.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Контент */
.content {
  color: var(--main-color);
  font-weight: 100;
  text-align: left;
  max-width: 500px;
  margin-top: 130px; /* Дистанция от логотипа до контента */
  padding: 20px;
}

h1 {
  font-size: 42px;
  margin: 0 0 10px;
  color: var(--main-color);
  font-weight: 100;
  line-height: 42px;
  padding-bottom: 30px;
}

h2 {
  font-size: 26px;
  margin: 0 0 20px;
  color: var(--main-color);
  font-weight: 100;
  padding-bottom: 15%;
}

/* Кнопка */
.telegram-btn {
  display: inline-flex;
  align-items: center;
  padding: 4% 7%;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--main-color);
  background: none;
  border: 1px solid var(--main-color);
  border-radius: 55px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  font-weight: 100;
  justify-content: center;
  margin: 0 auto;
}

/* Иконка Telegram в кнопке */
.telegram-btn span {
  margin-right: 15px;
}

.telegram-btn::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='m20.665 3.717-17.73 6.837c-1.21.486-1.203 1.161-.222 1.462l4.552 1.42 10.532-6.645c.498-.303.953-.14.579.192l-8.533 7.701h-.002l.002.001-.314 4.692c.46 0 .663-.211.921-.46l2.211-2.15 4.599 3.397c.848.467 1.457.227 1.668-.785l3.019-14.228c.309-1.239-.473-1.8-1.282-1.434z' fill='%23b19797'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-color 0.3s;
}

/* Стили при наведении, фокусе и клике на кнопку */
.telegram-btn:hover,
.telegram-btn:focus {
  background-color: var(--main-color);
  color: #ffffff;
}

.telegram-btn:hover::after,
.telegram-btn:focus::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='m20.665 3.717-17.73 6.837c-1.21.486-1.203 1.161-.222 1.462l4.552 1.42 10.532-6.645c.498-.303.953-.14.579.192l-8.533 7.701h-.002l.002.001-.314 4.692c.46 0 .663-.211.921-.46l2.211-2.15 4.599 3.397c.848.467 1.457.227 1.668-.785l3.019-14.228c.309-1.239-.473-1.8-1.282-1.434z' fill='%23ffffff'/%3E%3C/svg%3E");
}
/* Подключаем шрифт */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100;200;300&display=swap');

:root {
  --main-color: #b19797;
  --font-primary: 'Onest', sans-serif;
  --font-size-base: 1rem;
}

/* Базовые стили */
body {
  font-family: var(--font-primary);
  font-weight: 100;
  color: var(--main-color);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #ffffff;
  text-align: center;
}

/* Центрированный контейнер с фиксированным фоном */
.center-container {
  width: 100%;
  max-width: 1200px;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 100px; /* Отступы для пространства */
  margin-top: -10%;
  margin-bottom: -10%;
  background-image: url('img/phone-cloud.webp');
  background-size: 50%;
  background-position: calc(100% - 50px) center;
  background-repeat: no-repeat;
  position: relative;
}

/* Логотип */
.logo {
  font-size: 21px;
  font-weight: 200;
  color: var(--main-color);
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 20px;
  padding-right: 20px;
  z-index: 1;
}

.logo::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 11px;
  background-image: url("img/logo.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Контент */
.content {
  color: var(--main-color);
  font-weight: 100;
  text-align: left;
  max-width: 500px;
  margin-top: 130px; /* Дистанция от логотипа до контента */
  padding: 20px;
}

h1 {
  font-size: 42px;
  margin: 0 0 10px;
  color: var(--main-color);
  font-weight: 100;
  line-height: 42px;
  padding-bottom: 30px;
}

h2 {
  font-size: 26px;
  margin: 0 0 20px;
  color: var(--main-color);
  font-weight: 100;
  padding-bottom: 15%;
}

/* Кнопка */
.telegram-btn {
  display: inline-flex;
  align-items: center;
  padding: 4% 7%;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--main-color);
  background: none;
  border: 1px solid var(--main-color);
  border-radius: 55px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  font-weight: 100;
  justify-content: center;
  margin: 0 auto;
}

/* Иконка Telegram в кнопке */
.telegram-btn span {
  margin-right: 15px;
}

.telegram-btn::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='m20.665 3.717-17.73 6.837c-1.21.486-1.203 1.161-.222 1.462l4.552 1.42 10.532-6.645c.498-.303.953-.14.579.192l-8.533 7.701h-.002l.002.001-.314 4.692c.46 0 .663-.211.921-.46l2.211-2.15 4.599 3.397c.848.467 1.457.227 1.668-.785l3.019-14.228c.309-1.239-.473-1.8-1.282-1.434z' fill='%23b19797'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-color 0.3s;
}

/* Стили при наведении, фокусе и клике на кнопку */
.telegram-btn:hover,
.telegram-btn:focus {
  background-color: var(--main-color);
  color: #ffffff;
}

.telegram-btn:hover::after,
.telegram-btn:focus::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='m20.665 3.717-17.73 6.837c-1.21.486-1.203 1.161-.222 1.462l4.552 1.42 10.532-6.645c.498-.303.953-.14.579.192l-8.533 7.701h-.002l.002.001-.314 4.692c.46 0 .663-.211.921-.46l2.211-2.15 4.599 3.397c.848.467 1.457.227 1.668-.785l3.019-14.228c.309-1.239-.473-1.8-1.282-1.434z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* Футер внутри CenterContainer */
.footer {
  width: 100%;
  display: flex;
  justify-content: flex-start; /* Выравнивание по левому краю */
  padding-left: 20px; /* Отступ слева для совпадения с началом текста */
  padding-top:10vh;
  padding-bottom:1vh;
  margin-top: auto; /* Подталкиваем футер к низу CenterContainer */
}

.public-offer-link {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--main-color); /* Основной цвет */
  text-decoration: none; /* Убираем подчеркивание в обычном состоянии */
  transition: all 0.3s ease; /* Плавный переход */
}

.public-offer-link:hover {
  color: var(--main-color); /* Цвет остаётся основным */
  text-decoration: underline; /* Добавляем подчеркивание при наведении */
}

/* Медиа-запрос для мобильных устройств до 999px */
/* --------------------------------- */
@media (max-width: 999px) {
  .center-container {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 131vh;
    padding: 10px;
    background-position: calc(50% - 15vw) top;
    background-size: 100%;
    margin-top: 15%;
    margin-bottom: 0;
  }

  .logo {
    margin-top: -10%;
    justify-content: center;
    padding: 0;
  }

  .content {
    margin-top: 115%;
    text-align: center;
    padding: 10px;
    padding-bottom: 150px;
  }
.telegram-btn {
  padding: 4% 5%;
  font-size: 1.3rem;
}
  h1 {
    font-size: 28px;
        font-weight: 200;
        line-height: 44px;
        padding-bottom: 28px;
  }

  h2 {
    font-size: 22px;
    color: var(--main-color);
    font-weight: 100;
    padding-bottom: 13%;
  }
  .footer {
    justify-content: center; /* Центрируем содержимое футера */
    padding-left: 0; /* Убираем отступ слева */
    padding-top: 2vh;
  }
}
/* Медиа-запрос для мобильных устройств до 450px */
/* --------------------------------- */
@media (max-width: 450px) {
  .center-container {
    flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 141vh;
        padding: 10px;
        background-position: calc(50% - 23vw) top;
        background-size: 150%;
        margin-top: 20%;
        margin-bottom: 0;
  }
  .content {
        margin-top: 170%;
        text-align: center;
        padding: 10px;
        padding-bottom: 150px;
    }
    .logo {
    margin-top: -14%;
    justify-content: center;
    padding: 0;
  }
}
/* Медиа-запрос для мобильных устройств до 999px */
/* --------------------------------- */
@media (max-width: 999px) {
  .center-container {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 131vh;
    padding: 10px;
    background-position: calc(50% - 15vw) top;
    background-size: 100%;
    margin-top: 15%;
    margin-bottom: 0;
  }

  .logo {
    margin-top: -10%;
    justify-content: center;
    padding: 0;
  }

  .content {
    margin-top: 115%;
    text-align: center;
    padding: 10px;
    padding-bottom: 150px;
  }
.telegram-btn {
  padding: 4% 5%;
  font-size: 1.3rem;
}
  h1 {
    font-size: 28px;
        font-weight: 200;
        line-height: 44px;
        padding-bottom: 28px;
  }

  h2 {
    font-size: 22px;
    color: var(--main-color);
    font-weight: 100;
    padding-bottom: 13%;
  }
}
/* Медиа-запрос для мобильных устройств до 450px */
/* --------------------------------- */
@media (max-width: 450px) {
  .center-container {
    flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 141vh;
        padding: 10px;
        background-position: calc(50% - 23vw) top;
        background-size: 150%;
        margin-top: 20%;
        margin-bottom: 0;
  }
  .content {
        margin-top: 170%;
        text-align: center;
        padding: 10px;
        padding-bottom: 150px;
    }
    .logo {
    margin-top: -14%;
    justify-content: center;
    padding: 0;
  }
}