@charset "UTF-8";
section.main-top {
  margin-top: 0;
}
section.main-top .inner {
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
  align-items: flex-start;
}
section.main-top .box2 {
  margin-top: 54px;
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Обеспечиваем сохранение пропорций 16:9 для видео */
}
section.main-top .box2::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* Пропорции 16:9 */
}
section.main-top .box2 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
section.main-top hgroup {
  margin-bottom: 24px;
}
section.main-top hgroup h2 {
  font-size: 42px;
  line-height: 1.1em;
  margin-bottom: 12px;
}
section.main-top hgroup h2 + p {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-clr-blue2);
}
section.main-top .hello-text {
  font-size: 17px;
  line-height: 1.74;
  border-top: 4px solid #D12846;
  padding-top: 24px;
  margin-right: 30px;
  color: var(--text-clr-black5);
}

/* ABOUT*/
section.main-about .inner .flex {
  flex-flow: column-reverse wrap;
}
section.main-about .box1 {
  width: 90%;
  margin: 0 auto;
  margin-top: 42px;
}
section.main-about .btn-1 {
  margin: 42px auto;
}

/* EGGS */
section.main-eggs {
  text-align: center;
}
section.main-eggs ul {
  margin: 48px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* Отступы между элементами */
  justify-content: space-evenly;
}
section.main-eggs ul li {
  flex: 1 1 calc(25% - 24px); /* 4 элемента в ряд, учитывая отступы */
}

@media (min-width: 360px) {
  section.main-top .inner {
    flex-flow: column wrap;
  }
  section.main-top .box1,
  section.main-top .box2 {
    flex: 0 1 100%;
    width: 100%;
  }
  section.main-top .box1 img,
  section.main-top .box2 img {
    width: 90%;
  }
  section.main-top h1, section.main-top .h1,
  section.main-top h2, section.main-top .h2 {
    font-size: 48px;
    line-height: 1.1em;
  }
  section.main-top hgroup h2 + p {
    font-size: 21px;
    font-weight: 600;
  }
  /* EGGS */
  section.main-eggs ul li {
    margin: 0 30px 48px;
  }
  section.main-eggs ul li svg {
    max-width: 216px;
    height: auto;
  }
  section.main-eggs ul li p {
    font-size: 18px;
    font-weight: 600;
    padding: 12px 6px 0;
    border-top: 3px solid #48270F;
  }
}
@media (min-width: 800px) {
  section.main-top {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  section.main-top .inner {
    border: none;
    flex-flow: row wrap;
  }
  section.main-top .inner .box1 {
    flex: 0 1 51%;
  }
  section.main-top .inner .box2 {
    flex: 0 1 42%;
    margin-top: 0;
    order: 2;
  }
  section.main-top .inner .box2 img {
    width: 90%;
    margin-right: 0;
    margin-left: auto;
  }
  section.main-top hgroup h2 {
    font-size: 54px;
    line-height: 1.1em;
  }
  section.main-top hgroup h2 + p {
    font-size: 22px;
  }
  /*********/
  section.main-about .inner .flex {
    flex-flow: row nowrap;
  }
  section.main-about .box1 {
    flex: 1 0 45%;
    margin-right: 60px;
    margin-top: 0;
  }
  section.main-about .center {
    text-align: center;
  }
  /***/
  /* EGGS */
  section.main-eggs ul li {
    flex: 1 1 calc(50% - 48px); /* 4 элемента в ряд, учитывая отступы */
    max-width: calc(50% - 60px);
    margin: 0 0 48px;
  }
  section.main-eggs ul li svg {
    max-width: 216px;
  }
}
@media (min-width: 1024px) {
  section.main-top h1, section.main-top .h1,
  section.main-top h2, section.main-top .h2 {
    font-size: 59px;
    line-height: 1.1em;
  }
  /* EGGS */
  section.main-eggs ul li {
    flex: 1 1 calc(25% - 24px); /* 4 элемента в ряд, учитывая отступы */
    max-width: calc(25% - 66px);
  }
  section.main-eggs ul li svg {
    max-width: calc(100% - 24px);
  }
  section.main-eggs ul li p {
    text-align: left;
  }
}/*# sourceMappingURL=main.css.map */