* {
  z-index: 11;
  padding: 0;
  margin: 0;
  text-decoration: none;
  user-select: none;
}

body {
  background-color: white;
  animation: start 3s;
  user-select: none;
}

@keyframes start {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 100;
  }
}

.backg {
  position: fixed;
  z-index: 10;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  opacity: 0.3;
}

.flm {
  display: none;
}

.flw7 {
  display: none;
}

.mainlogo {
  position: fixed;
  z-index: 11;
  width: auto;
  height: 95px;
  top: 9px;
  left: 25px;
}

.linkmain {
  position: fixed; /* Фиксируем меню */
  top: 120px; /* Сохраняем прежний отступ сверху */
  left: 45px; /* Сохраняем отступ слева */
  z-index: 11; /* Поверх других элементов */
  display: flex;
  padding-left: 0; /* Убираем избыточный отступ */
  margin: 0; /* Убираем лишние отступы */
}

.link1, .link2, .link3 {
  margin-right: 44px;
  display: grid;
  color: black;
  font-size: 20px;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 10;
  position: relative;
}

.sm {
  margin-right: 44px;
  display: grid;
  color: black;
  font-size: 15px;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 10;
  position: relative;
  position: absolute;
  top: 0;
  right: -10px;
  color: #666;
  transform: translateY(100%);
}


.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.flex-container img {
  width: 200px;
  height: auto;
  border-radius: 10px;
}

.link1::after, .link2::after, .link3::after {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: white;
  width: 0;
  transition: 0.3s;
}

.link1:hover:after {
  width: 100%;
}

.link2:hover:after {
  width: 100%;
}

.link3:hover:after {
  width: 100%;
}

.flower-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none; /* делает элемент "прозрачным" для кликов */
  z-index: 0;
}

.flower-decoration img {
  width: 30%;
  height: auto;
  display: block;
  transform: translateX(180%);
}

.flower-and-text {
  display: flex;
}

.flower1 {
  margin-top: 100px;
  width: 70%;
  z-index: 1;
}

.maintext {
  margin-top: 350px;
  z-index: 2;
}

.textbig {
  color: black;
  font-size: 24px;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 10;
  margin-bottom: 15px;
}

.textsmall {
  color: black;
  font-size: 15px;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 10;
  line-height: 1.6;
}

.flex-section {
  display: flex;
  width: 100%;
  min-height: 100vh; /* по желанию — на весь экран */
}

.text-block, .image-block {
  flex: 0 0 50%; /* ровно 50% ширины */
  box-sizing: border-box;
  padding: 40px;
}

.text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 120px;
}

.image-block {
  display: flex;
  justify-content: center; /* по горизонтали */
  align-items: center;     /* по вертикали */
}

.image-block img {
  width: 80%; /* размер картинки — можно уменьшить/увеличить */
  height: auto;
  max-width: 450px;
}

.text1 {
  color: black;
  font-size: 24px;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 10;
  margin-bottom: 15px;
}

.text2 {
  color: black;
  font-size: 15px;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 10;
  line-height: 1.6;
}

.flower-right {
  position: absolute;
  top: 900px;
  right: 0;
  height: 100vh;
  width: auto;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.flower-right img {
  height: 70%;
  max-height: 100vh;
  width: auto;
  object-fit: contain;
  display: block;
}

.center-wrapper-flower {
 display: flex;
 justify-content: center;
}

.text3 {
  margin-top: 300px;
  text-align: center;
  color: black;
  font-size: 15px;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 10;
  line-height: 1.6;
  z-index: 2;
}

.flower-left {
  position: absolute;
  top: 1300px;
  left: 0;
  height: 100vh;
  width: auto;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.flower-left img {
  height: 80%;
  max-height: 100vh;
  width: auto;
  object-fit: contain;
  display: block;
}

.smt-flower {
  position: absolute;
  z-index: -1;
  margin-top: -250px;
  margin-left: 50px;
  padding-bottom: 200px;
}

.corner-link {
  position: fixed;
  bottom: 0px;
  right: 0px;
  z-index: 1000;
  text-decoration: none;
  font-size: 14px; /* Размер шрифта */
  color: rgba(0, 14, 14, 0.7); /* Полупрозрачный белый текст */
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 10;
  padding: 10px 15px;
}

.copyright {
  position: fixed; /* Фиксированное положение на экране */
  bottom: 10px; /* Отступ снизу */
  left: 10px; /* Отступ слева */
  font-size: 14px; /* Размер шрифта */
  color: rgba(0, 14, 14, 0.7); /* Полупрозрачный белый текст */
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 10;
}


@media screen and (min-width: 910px) and (max-width: 1024px) {
  .mainlogo {
    height: 80px;
    top: 15px;
    left: 20px;
  }

  .linkmain {
    top: 110px;
    left: 20px;
    flex-direction: row;
    gap: 20px;
  }

  .link1, .link2, .link3 {
    font-size: 18px;
  }

  .flower-and-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .flower1 {
    width: 50%;
    margin: 0 auto;
  }

  .maintext {
    margin-top: 50px;
    padding: 0 20px;
  }

  .textbig {
    font-size: 22px;
  }

  .textsmall {
    font-size: 14px;
  }

  .flex-section {
    flex-direction: column;
    padding: 0 20px;
  }

  .text-block, .image-block {
    flex: none;
    width: 100%;
    padding: 20px;
  }

  .text1, .text2 {
    font-size: 14px;
    text-align: center;
  }

  .image-block img {
    width: 60%;
    max-width: 300px;
  }

  .flower-right,
  .flower-left {
    display: none; /* Убираем декоративные цветы для лучшего UX */
  }

  .text3 {
    font-size: 14px;
    margin: 100px 20px 50px 20px;
  }

  .corner-link {
    font-size: 12px;
    padding: 8px 10px;
  }

  .copyright {
    font-size: 12px;
    bottom: 8px;
    left: 8px;
  }
  .flex-section {
    flex-direction: column-reverse; /* меняем порядок блоков */
  }

  .text-block {
    order: 2; /* текст теперь будет ниже */
    text-align: center;
    padding-left: 0;
  }

  .image-block {
    order: 1; /* картинка теперь будет выше */
  }
  
}



/* mobile */

/* Адаптация для маленьких экранов */
@media (max-width: 900px) {

  body, html {
  overflow-x: hidden;
}

  .mainlogo {
      position: fixed;
      height: 50px;
      left: 7px;
  }

  .linkmain {
    top: 70px; /* Снижаем отступ для маленьких экранов */
    left: 20px; /* Уменьшаем отступ слева */
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 80px;
  }

  .link1, .link2, .link3 {
    font-size: 15px;
  }

 .flex-section {
    flex-direction: column;
    padding: 0 20px;
  }

  .text-block, .image-block {
    flex: none;
    width: 100%;
    padding: 20px;
  }

  .flower1 {
    display: none;
  }

  .flower-left {
    display: none;
  }

.flower-decoration {
  display: none;
}

.flower-right {
  position: absolute;
  z-index: 3;
}

.smt-flower {
  display: none;
}

.flw7 {
  display: block;
}

.center-wrapper-flower {
  display: none;
}

.image-block {
  position: flex;
  z-index: 1;
}

.textbig {
  position: absolute;
  margin-top: -100px;
  margin-left: 100px;
  font-size: 30px;
}

.textsmall {
  text-align: center;
  position: absolute;
  margin-top: 60px;
  margin-left: -50px;
  font-size: 12px;
}

.text1 {
  font-size: 20px;
}

.text2 {
  font-size: 12px;
}

.text3 {
  font-size: 12px;
  margin-left: 100px;
  margin-right: 100px;
  margin-top: 100px;
  margin-bottom: 200px;
}

.sm {
    display: none;
  }

.flm {
  display: block;
  padding-top: 100px;
  width: 40%;
  z-index: 0;
}

.flower-and-text {
  display: flex;
}

.flex-section {
  flex-direction: column;
}

.text-block {
  order: 2;
  text-align: center;
}

.image-block {
  padding-top: 200px;
  order: 1;
}

.corner-link {
  display: none;
}

}

.maintext-terms {
  margin-top: 200px;
  margin-left: 40px;
  margin-bottom: 200px;
}

.textbig-terms {
  color: black;
  font-size: 25px;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 20;
  margin-bottom: 15px;
}

.textsmall-terms {
  color: black;
  font-size: 15px;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-weight: 10;
  line-height: 1.6;
}
