* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Manrope';
  src: url('fonts/static/Manrope-Regular.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'ManropeMedium';
  src: url('fonts/static/Manrope-Medium.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'ManropeBold';
  src: url('fonts/static/Manrope-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Regular';
  src: url('fonts/Мирослав Regular.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Mulish';
  src: url('fonts/Mulish/Mulish/static/Mulish-ExtraBold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'MulishMedium';
  src: url('fonts/Mulish/Mulish/static/Mulish-Medium.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body {
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

/*HEADER*/

header {
  z-index: 9999;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #eee4d9;
  position: fixed;
  top: 0;
}

/*menu*/
.horizontal-list {
  list-style: none;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 26px;
}

.horizontal-list li {
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.horizontal-list li a {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  color: #969799;
}

.header-row {
  background-color: #fcf6f0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.burger {
  display: none;
}

.header-button-block button {
  width: 215px;
  height: 48px;
  min-width: 112px;
  gap: 8px;
  padding-top: 12px;
  padding-right: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  border: 2px solid #b31917;
  border-radius: 12px;
  color: #b31917;
  background-color: #fcf6f0;
  font-family: ManropeBold, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 12px;
}

.header-button-block button a {
  color: #b31917;
  text-decoration: none;
}

.header-button-block button:hover a {
  color: white;
}
.header-button-block button:hover {
  background-color: #b31917;
}

.company-name-block {
  margin-right: 243px;
}

.header-button-block {
  margin-left: 170px;
}

/*MAIN*/

main {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*hero*/

.hero {
  width: 100%;
  background-color: #fcf6f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.name-column-unfolding p {
  color: #2f3134;
}

.hero-block {
  display: flex;
  width: 1200px;
  max-width: 1200px;
  justify-content: center;
  padding-top: 32px;
  align-items: center;
}

/*slogan*/
.matreshka {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 280px;
}

@keyframes slideDownUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(10%);
  }
}
@keyframes slideDownUpRotate {
  0% {
    transform: scaleX(-1) translateY(0);
  }
  100% {
    transform: scaleX(-1) translateY(10%);
  }
}

.stone {
  position: absolute;
  right: -80px;
  top: 100px;
  animation: slideDownUp 6s ease-in-out infinite alternate;
}

.cloth {
  width: 430px;
  height: 450px;
  position: absolute;
  animation: slideDownUpRotate 7s ease-in-out infinite alternate;
  bottom: -230px;
  left: -50px;
}

.wood {
  animation: slideDownUp 8s ease-in-out infinite alternate;
}

.ceramic {
  position: absolute;
  left: -120px;
  top: -200px;
  animation: slideDownUp 5s ease-in-out infinite alternate;
}

.slogan-company-name {
  width: 640px;
  height: 220px;
}

.slogan-block {
  position: relative;
  margin-bottom: auto;
  margin-top: 20px;
}

@keyframes slide {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-2em);
  }
  45% {
    transform: translateY(-2em);
  }
  50% {
    transform: translateY(-4em);
  }
  70% {
    transform: translateY(-4em);
  }
  75% {
    transform: translateY(-6em);
  }
  95% {
    transform: translateY(-6em);
  }
  100% {
    transform: translateY(-8em);
  }
}

.slider-text {
  position: absolute;
  height: 3em;
  overflow: hidden;
}

.slider-text::before,
.slider-text::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 50px;
  pointer-events: none;
  z-index: 1;
}

.slider-text::after {
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(252, 246, 240, 1),
    rgba(252, 246, 240, 0),
    rgba(252, 246, 240, 0),
    rgba(252, 246, 240, 1)
  );
}

.life-text-block {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  animation: slide 8s linear infinite;
  animation-timing-function: ease-in;
  font-family: ManropeBold, sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 100%;
  color: #b31917;
}

.life-text {
  height: 2em;
}

.life-text-light {
  font-family: ManropeMedium;
  height: 2em;
}

.slogan {
  margin-top: 30px;
  margin-left: 70px;
  font-family: ManropeMedium, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  width: 500px;
}

.red-text {
  color: #b31917;
}

/*slaider*/
.video-block {
  margin-top: 50px;
  height: 380px;
  width: 1200px;
  position: relative;
  z-index: 1;
}

.gradient-wrapper {
  position: relative;
  overflow: hidden;
}

.gradient-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(252, 246, 240, 1),
    transparent 20%,
    transparent 80%,
    rgba(252, 246, 240, 1)
  );
  z-index: 2;
}

.video-strip {
  display: flex;
  margin: 0 auto;
  gap: 32px;
  overflow: hidden;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  padding-bottom: 50px;
}

.video {
  position: relative;
  display: flex;
  align-items: center;
  justify-items: center;
  width: 190px;
  height: 130px;
  flex-shrink: 0;
  border-radius: 16px;
  background-color: #007069;
  margin-top: auto;
  overflow: hidden;
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.3);
}

.video video {
  width: auto;
  height: 100%;
}
.video img {
  width: auto;
  height: 100%;
}

.active {
  width: 380px;
  height: 260px;
}
.active img {
  width: auto !important;
  height: auto !important;
}

#playPauseBtn {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.video:hover #playPauseBtn {
  opacity: 1;
  pointer-events: auto;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ornamnet-block {
  display: flex;
  justify-content: center;
  width: 1200px;
  gap: 32px;
  margin-bottom: 15px;
  padding-bottom: 30px;
}

.ornament-button button a {
  text-decoration: none;
  color: white;
  font-family: ManropeMedium, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
}

.ornament-button button {
  border: none;
  outline: none;
  width: 384px;
  height: 71px;
  min-width: 112px;
  gap: 8px;
  text-align: center;
  border-radius: 12px;
  background-color: rgba(179, 25, 23);
  transition: background-color 0.2s ease;
}

.ornament-button button:hover {
  background-color: #981311;
  background-image: url('img/bg-ornament.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.ornament {
  padding-top: 12px;
}

.arrow-wrapper {
  background-color: white;
  width: 100%;
}

.arrow-block {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120%;
  height: 80px;
  left: -10%;
  border-radius: 0 0 100% 100%;
  background-color: #fcf6f0;
}

.arrow-block img {
  margin-top: 15px;
}

/*features*/

.features {
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding-top: 100px;
}

.text-block-features {
  height: 142px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 50px;
}
.text-block-features h1 {
  font-family: Mulish, sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
  color: #b31917;
}
.text-block-features p {
  margin-top: 16px;
  color: #2f3134;
  font-family: ManropeBold, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.wrapper-features {
  justify-content: center;
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 0 auto;
}

.container-features {
  background-color: #b31917;
  height: 134px;
  padding-right: 10px;
  width: 100%;
  border-radius: 16px;
  background-size: auto 100%;
  background-repeat: no-repeat;
  transition: border-right-width 0.1s ease;
  background-image: none;
}

.block-features {
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  position: relative;
  justify-content: center;
  align-items: center;
  /*width: 580px;*/
  width: 100%;
  height: 130px;
  background: #fcf6f0;
  display: flex;
  border-radius: 14px;
  transition: width 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ct-1:hover {
    background-image: url('img/ct-1.png');
  }
  .ct-2:hover {
    background-image: url('img/ct-2.png');
  }
  .ct-3:hover {
    background-image: url('img/ct-3.png');
  }
  .ct-4:hover {
    background-image: url('img/ct-4.png');
  }
  .ct-5:hover {
    background-image: url('img/ct-5.png');
  }
  .ct-6:hover {
    background-image: url('img/ct-6.png');
  }

  .container-features:hover {
    background-position: calc(100%) center;
    padding: 0;
    width: calc(100% + 10px);
  }

  .container-features:hover .block-features {
    margin-left: 2px;
    margin-top: 2px;
    height: 126px;
    width: calc(87%);
  }

  .container-features:hover .matreshka-features-block {
    right: -40px;
    top: -20px;
  }
  .container-features:hover .matreshka-features-block img {
    width: 300px;
    height: 195px;
    rotate: -15deg;
  }

  .container-features:hover .info-features {
    padding-left: 30px;
  }
}

.info-features {
  padding: 32px;
  margin-right: auto;
}

.matreshka-features-block {
  pointer-events: none;
  position: absolute;
  right: 0;
}

.text-info-features {
  text-align: start;
  width: 360px;
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
}

.text-info-features b {
  font-weight: 700;
  font-family: ManropeBold, sans-serif !important;
}
.matreshka-features-block img {
  pointer-events: none;
  transition: height 0.2s, width 0.2s, rotate 0.2s;
  width: 200px;
  height: 130px;
}

/*IT*/
.IT {
  margin-top: 150px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.wrapper-IT {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.marks-block {
  position: relative;
  height: 100%;
}

.marks-block img {
  width: 215px;
  height: 215px;
}

.text-block-IT {
  padding-left: 32px;
  padding-right: 32px;
  width: 664px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.text-block-IT h1 {
  font-family: Mulish, sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 100%;
  text-align: center;
}
.text-block-IT p {
  font-family: MulishMedium, sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 130%;
  text-align: center;
}

.end-marks {
  margin-top: 185px;
  rotate: 180deg;
}

/*unfolding*/
.unfolding {
  margin-top: 100px;
  justify-content: center;
  align-items: center;
}

.unfolding-wrapper {
  justify-content: center;
  align-items: center;
}

.text-block-unfolding {
  width: 100%;
  text-align: center;
}

.text-block-unfolding h1 {
  padding-bottom: 50px;
  font-family: Mulish, sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 100%;
  text-align: center;
  color: #b31917;
}

.grid-block-unfolding {
  display: flex;
  gap: 16px 32px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  justify-content: center;
}

.block-unfolding {
  border: 2px solid #b31917;
  position: relative;
  width: 100%; /* или задайте фиксированную ширину */
  height: 400px; /* указывайте нужную высоту */
  background-size: cover;
  overflow: hidden;
}

.unfolding-1column,
.unfolding-2column,
.unfolding-3column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}


.hide-information-block-unfolding {
  position: absolute;
  display: flex;
  align-items: center;
  top: 0;
  left: -380px;
  width: 380px;
  height: 100%;
  background-color: white;
  border-radius: 0 16px 16px 0;
  transition: transform 0.2s ease-in-out;
  background-size: auto;
  background-repeat: no-repeat;
  background-position: calc(100% + 10px) center;
  color: black;
}

.hide-information-block-unfolding p {
  text-align: start !important;
  font-family: ManropeDefult, sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px;
  line-height: 140% !important;
  color: #2f3134;
}
@media (hover: hover) and (pointer: fine) {
  .block-unfolding:hover .hide-information-block-unfolding {
    transform: translateX(370px);
  }
}

.name-column-unfolding {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-family: ManropeMedium, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
}

.block-unfolding {
  display: flex;
  align-items: center;
  color: white;
  width: 380px;
  height: 220px;
  border-radius: 16px;
  border-width: 2px;
  background: #b31917;
  background-repeat: no-repeat;
  background-position: right center;
}

.block-unfolding p {
  padding: 32px;
  font-family: ManropeMedium, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
}

.last-unfolding {
  background: white;
  color: black;
  border: none !important;
}

/*manifest*/

.manifest {
  display: flex;
  background-image: url('img/papirus.png');
  width: 100%;
  background-size: cover;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
  padding-bottom: 100px;
}

.wrapper-manifest {
  width: 1200px;
  padding-top: 100px;
}

.wrapper-manifest h1 {
  font-family: Regular, sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 100%;
  text-align: center;
  text-transform: uppercase;
  color: #b31917;
  padding-bottom: 48px;
  padding-top: 32px;
}

.top-text-manifest-block b,
.bottom-text-manifest-block b {
  font-family: Regular, sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 100%;
  color: #b31917;
}

.top-text-manifest-block {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: #2f3134;
  padding-bottom: 32px;
}

.bottom-text-manifest-block {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: #2f3134;
  padding-top: 32px;
}

.bottom-text-manifest-block a {
  font-family: ManropeBold, sans-serif;
  font-weight: 600 !important;
  color: #2f3134;
}

.table-manifest-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.manifest-block {
  width: 384px;
  height: 370px;
  gap: 10px;
  border-radius: 16px;
  padding: 24px;
  border: 2px solid #b31917;
  padding-left: 0;
}
.manifest-block h2 {
  font-family: Regular, sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 32px;
  color: #b31917;
  padding-left: 24px;
  padding-bottom: 12px;
}
.manifest-block ul li b {
  font-family: sans-serif;
  font-weight: bold !important;
  font-size: 16px;
  line-height: 140%;
}
.manifest-block ul li {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: #2f3134;
}
.manifest-block ul li {
  margin-top: 6px;
  background-image: url('img/mark-list.svg');
  background-position: left -4px;
  background-repeat: no-repeat;
  padding-left: 24px;
}
.manifest-block ul {
  list-style: none;
  padding-left: 0;
}

/*team*/
.team {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.wrapper-team {
  width: 1200px;
  align-items: center;
  justify-content: center;
}

.wrapper-team h1 {
  font-family: Mulish, sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 100%;
  text-align: center;
  color: #b31917;
}

.top-row-team {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.top-row-team .block-team {
  position: relative;
  display: table-column;
  width: 270px;
  height: 415px;
  background-image: url('img/matreshka-red.svg');
  background-repeat: no-repeat;
  background-position: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.top-row-team .container-team {
  width: 270px;
  height: 75px;
  border-radius: 16px;
  background-color: #b31917;
  color: white;
  border: 2px solid #b31917;
  margin-top: auto;
  position: absolute;
  bottom: 0px;
}

.top-row-team .container-team p {
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  padding-top: 3px;
}

.top-row-team .name-team {
  background-color: white;
  width: 270px;
  height: 47px;
  border-radius: 14px;
  color: #b31917;
}

.top-row-team .name-team p {
  font-family: ManropeBold, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  padding-top: 6px;
}

.bottom-row-team {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.bottom-row-team .block-team {
  position: relative;
  display: flex;
  width: 177px;
  height: 272px;
  background-size: 150px 250px;
  background-image: url('img/matreshka-red.svg');
  background-repeat: no-repeat;
  background-position: center;
  justify-content: center;
  align-items: center;
}

.bottom-row-team .container-team {
  width: 166px;
  height: 52px;
  border-radius: 16px;
  background-color: #b31917;
  color: white;
  border: 2px solid #b31917;
  margin-top: auto;
}

.bottom-row-team .container-team p {
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  text-align: center;
  padding-top: 1px;
}

.bottom-row-team .name-team {
  background-color: white;
  width: 166px;
  height: 36px;
  border-radius: 14px;
  color: #b31917;
}

.bottom-row-team .name-team p {
  font-family: ManropeBold, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  padding-top: 9px;
}

.work {
  display: flex;
  justify-content: center;
}

.work img {
  padding-left: 6px;
}

/*form*/
#form {
  scroll-margin-top: 200px;
}
.form {
  margin-top: 300px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fcf6f0;
}

.form::before {
  content: '';
  position: absolute;
  top: -80px; /* поднимаем вверх примерно на 1/3 высоты овала */
  left: -10%;
  width: 120%;
  height: 80px;
  background-color: #fcf6f0;
  border-radius: 50% / 100% 100% 0 0; /* эллипс сверху */
  z-index: 1;
}

footer::before {
  content: '';
  position: absolute;
  top: -80px; /* поднимаем вверх примерно на 1/3 высоты овала */
  left: -10%;
  width: 120%;
  height: 80px;
  background-color: #2f3134;
  border-radius: 50% / 100% 100% 0 0; /* эллипс сверху */
  z-index: 1;
}

.form-wrapper {
  width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 150px;
  padding-top: 32px;
}

.invite-block {
  display: flex;
  margin-right: auto;
}

.invite-block h1 {
  font-family: Mulish, sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 100%;
}

.invite-block a {
  color: #b31917;
}

.form-block {
  width: 460px;
  gap: 32px;
  border-radius: 16px;
  border: 1px solid #eee4d9;
  padding: 32px;
  background-color: white;
}

.title-form {
  display: flex;
}
.title-form img {
  padding-right: 16px;
}
.title-form h3 {
  font-family: ManropeMedium, sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #444649;
}
.title-form p {
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #6e6f71;
}

.input-container-form {
  gap: 12px;
  margin-top: 16px;
}

.input-container-form input {
  margin-top: 12px;
  border: 1px solid #eee4d9;
  width: 95%;
  height: 44px;
  padding-left: 12px;
  border-radius: 6px;
  outline: none;
}

.checkbox-container-form {
  margin-top: 12px;
}

.custom-checkbox {
  margin-top: 6px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  font-size: 16px;
}

.custom-checkbox p {
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  vertical-align: middle;
  color: #444649;
}

.custom-checkbox input {
  display: none;
}

.custom-checkbox .checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid gray;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: background-color 0.3s, border-color 0.3s;
}

.custom-checkbox input:checked + .checkmark::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background-color: #b31917;
  border-radius: 50%;
}

.button-container-form {
  width: 100%;
  margin-top: 32px;
  justify-content: center;
  align-items: center;
}

.button-container-form button {
  border: none;
  width: 100%;
  height: 48px;
  min-width: 112px;
  gap: 8px;
  border-radius: 12px;
  color: white;
  background-color: #b31917;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  cursor: pointer;
}
.button-container-form button:hover {
  background-color: #981311;
}

.button-container-form p {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 140%;
  text-align: center;
  width: 260px;
  margin-top: 16px;
  margin-left: 80px;
}

.button-container-form a {
  color: #b31917;
}

/*FOOTER*/

footer {
  position: relative;
  width: 100%;
  background-color: #2f3134;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 96px;
}

.wrapper-footer {
  width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.d-block video {
  margin-top: 10px;
  width: 303px;
  height: 310px;
}

.row1-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.logo-footer {
  margin-right: auto;
}

.social {
  margin-left: auto;
  width: 304px;
}

.social img {
  margin-right: 10px;
}

.row2-footer {
  margin-top: 48px;
  display: flex;
  gap: 40px;
  justify-content: center;
  padding-bottom: 16px;
}
.row3-footer {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #828385;
  padding-top: 16px;
}

.content-block-footer {
  width: 300px;
}
.row2-footer .content-block-footer a {
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  vertical-align: middle;
  color: white;
}

.row2-footer .content-block-footer p {
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  vertical-align: middle;
  color: #d5d6d6;
}
.phone,
.gmail {
  display: flex;
  margin-bottom: 6px;
}

.phone img,
.gmail img {
  padding-right: 16px;
}

.row3-footer .content-block-footer p {
  margin-top: 6px;
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 140%;
  vertical-align: middle;
  color: #ebebeb;
}
.row3-footer .content-block-footer a {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 140%;
  vertical-align: middle;
  color: #969799;
}

.numers p {
  margin: 0 !important;
}

.top-row-team .human {
  width: 250px;
  height: 350px;
}

.top-row-team .human-block {
  position: absolute;
  justify-content: center;
  align-items: center;
  right: 11px;
  top: -14px;
}

.bottom-row-team .human {
  width: 160px;
  height: 210px;
}

.bottom-row-team .human-block {
  position: absolute;
  justify-content: center;
  align-items: center;
  right: 4px;
  top: 6px;
}

.link-vaka {
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  text-align: center;
  padding-top: 1px;
  text-decoration: none;
  color: white;
}
.title-form {
  align-items: center;
}
.like {
  width: 354px;
  height: 354px;
  padding: 20px;
  rotate: -15deg;
}

.input-styled:focus {
  border: 1px solid #2f3134;
}

.error {
  border: 1px solid #ec1f00 !important;
}

.input-error {
  height: 16px;
  padding-top: 4px;
  width: 100%;
  color: #ec1f00;
  font-family: Manrope;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
}

@media (max-width: 1200px) {
  .slogan {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    width: 350px;
    padding-top: 12px;
  }

  .header-button-block {
    margin-left: 0;
  }
  .company-name-block {
    margin-right: 0;
  }
  .slogan-company-name {
    width: 140px;
    height: 300px;
  }
  .life-text-block {
    display: none;
  }
  .slogan-block {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 15px;
  }
  .hero-block {
    padding-top: 0;
    width: 100%;
  }
  .cloth {
    width: 230px;
    height: 230px;
    left: -90px;
    top: -100px;
  }

  .ceramic {
    width: 140px;
    height: 140px;
    left: -60px;
    top: -190px;
    rotate: -20deg;
  }

  .stone {
    right: -50px;
    top: -210px;
    width: 130px;
    height: 130px;
  }

  .wood {
    position: absolute;
    right: -50px;
    bottom: -100px;
    width: 170px;
    height: 190px;
  }
  .header-button-block {
    display: none;
  }

  .menu-block {
    display: none;
  }

  .active {
    width: 300px;
    height: 200px;
  }

  .video {
    width: 300px;
    height: 200px;
  }

  .video-block {
    width: 730px;
    height: auto;
  }

  .ornamnet-block {
    width: 730px;
  }

  .video-strip {
    padding-bottom: 30px;
  }

  .ornament-button button {
    max-width: 320px;
  }

  .ornament-button button a {
    font-size: 0;
  }

  .ornament-button button a::after {
    content: 'Станьте частью матрешки';
    font-size: 20px;
    padding-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .arrow-block img {
    display: none;
  }

  .arrow-block {
    height: 40px;
  }

  .ornamnet-block {
    padding-bottom: none;
  }

  .text-block-features h1 {
    font-size: 32px;
  }
  .text-block-features p {
    font-size: 16px;
    width: 400px;
  }

  .text-block-features {
    padding-bottom: 30px;
    height: auto;
  }

  .features {
    max-width: 730px;
  }

  .IT {
    width: 730px;
    margin-top: 50px;
  }

  .marks-block img {
    width: 90px;
    height: 90px;
  }

  .text-block-IT h1 {
    font-size: 24px;
    padding-bottom: 10px;
  }

  .text-block-IT p {
    font-size: 16px;
  }

  .wrapper-IT {
    height: auto;
  }

  .start-marks {
    position: absolute;
    top: -100px;
    margin-bottom: 150px;
  }
  .end-marks {
    margin-top: 150px;
  }

  .text-block-IT {
    padding-left: 122px;
  }

  .text-info-features {
    width: 260px;
    font-size: 12px;
  }

  .block-features {
    height: 100px;
  }

  .container-features:hover .block-features {
    height: 92px;
  }

  .container-features {
    height: 100px;
    pointer-events: none;
  }

  .matreshka-features-block img {
    width: 150px;
    height: 100px;
  }

  .info-features {
    padding: 16px;
  }

  .text-block-unfolding h1 {
    font-size: 32px;
  }

  .unfolding {
    margin-top: 50px;
  }

  .name-column-unfolding p {
    font-size: 14px;
  }

  .name-column-unfolding img {
    width: 16px;
    height: 16px;
  }

  .block-unfolding {
    width: 230px;
    height: 170px;
    background-position: right top;
    background-size: 85px 85px;
    pointer-events: none;
  }
  .block-unfolding p:nth-of-type(2) {
    margin-bottom: 100px;
    line-height: 12px;
  }
  .block-unfolding p {
    font-size: 12px;
    padding: 12px;
  }

  .hide-information-block-unfolding {
    top: 30%;
    right: 0;
    left: 0;
    width: 230px;
    height: 125px;
    background-image: none !important;
    border-radius: 16px;
  }
  .hide-information-block-unfolding p {
    font-size: 12px !important;
  }
  .wh-text {
    margin-bottom: 120px;
    line-height: 16px !important;
    width: 200px;
    text-align: center;
    padding: 0;
  }

  .last-unfolding p {
    font-size: 14px;
    line-height: 140%;
    width: 200px;
  }

  .grid-block-unfolding {
    gap: 12px 24px;
  }
  .manifest {
    margin-top: 40px;
    padding-bottom: 80px;
  }
  .wrapper-manifest {
    width: 730px;
    padding-top: 40px;
  }
  .wrapper-manifest h1 {
    font-size: 40px;
    padding-bottom: 24px;
    padding-top: 16px;
  }
  .top-text-manifest-block {
    font-size: 12px;
    padding-bottom: 24px;
  }
  .top-text-manifest-block b,
  .bottom-text-manifest-block b {
    font-size: 12px;
  }
  .table-manifest-block {
    gap: 20px;
  }
  .manifest-block h2 {
    font-size: 24px;
    padding-left: 18px;
    padding-bottom: 9px;
  }
  .manifest-block ul li {
    font-size: 12px;
    padding-left: 18px;
  }

  .manifest-block {
    height: 400px;
  }
  .bottom-text-manifest-block {
    font-size: 12px;
  }
  .form-wrapper {
    width: 730px;
    padding-top: 0;
    flex-direction: column;
  }
  .invite-block h1 {
    font-size: 32px;
  }

  .invite-block {
    margin-right: 0;
    padding-bottom: 30px;
  }

  .row2-footer {
    gap: 32px;
    margin-top: 32px;
    padding-left: 122px;
  }

  .row1-footer {
    gap: 32px;
    justify-content: normal;
    padding-left: 122px;
  }

  .row2-footer .content-block-footer a {
    font-size: 12px;
    line-height: 140%;
  }

  .row2-footer .content-block-footer p {
    font-size: 12px;
  }

  .row3-footer .content-block-footer a {
    font-size: 12px;
    line-height: 140%;
  }

  .row3-footer {
    gap: 32px;
    width: 760px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .numers {
    width: 100%;
    display: flex;
    gap: 10px;
    grid-column: 1 / -1;
  }

  .row3-footer .content-block-footer {
    width: auto;
  }

  .row3-footer .content-block-footer p {
    font-size: 12px;
  }

  .phone img,
  .gmail img {
    width: 14px;
    height: 14px;
  }

  .social img {
    width: 24px;
    height: 24px;
  }

  .social {
    margin-left: 0;
  }

  .logo-footer {
    margin-right: 0;
  }
  .logo-footer img {
    width: 90px;
    height: 30px;
  }

  .content-block-footer {
    width: 180px;
  }

  .d-block video {
    position: absolute;
    top: -20px;
    width: auto;
    height: 120px;
  }

  .wrapper-footer {
    width: 730px;
    position: relative;
  }

  footer {
    padding-bottom: 48px;
  }

  footer::before {
    height: 40px;
    top: -40px;
  }
  .wrapper-team h1 {
    font-size: 32px;
  }
  .team {
    margin-top: 80px;
  }
  .wrapper-team {
    width: 730px;
  }
  .top-row-team .human {
    width: 132px;
    height: 175px;
  }
  .top-row-team .name-team p {
    font-size: 12px;
    line-height: 140%;
  }
  .top-row-team .container-team p {
    font-size: 10px;
  }
  .top-row-team .container-team {
    width: 150px;
    height: 53px;
  }
  .top-row-team .name-team {
    width: 150px;
    height: 33px;
    border-radius: 16px;
  }
  .top-row-team .block-team {
    width: 150px;
    height: 231px;
    background-size: 150px 231px;
    background-position: 3px 0;
  }
  .top-row-team .human {
    width: 145px;
    height: 192px;
  }
  .top-row-team .human-block {
    right: 0px;
    top: -18px;
  }
  .bottom-row-team .name-team p {
    font-size: 10px;
  }
  .bottom-row-team .container-team p {
    font-size: 10px;
  }
  .bottom-row-team .name-team {
    width: 150px;
    height: 33px;
    border-radius: 16px;
  }
  .bottom-row-team .container-team {
    width: 150px;
  }
  .bottom-row-team .human {
    width: 145px;
    height: 192px;
  }
  .bottom-row-team .block-team {
    width: 150px;
    height: 231px;
    background-size: 150px 231px;
  }
  .bottom-row-team .human-block {
    right: 4px;
    top: -18px;
  }
  .bottom-row-team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .bottom-row-team .block-team:nth-child(5) {
    grid-column: 2;
  }

  .bottom-row-team .block-team:nth-child(6) {
    grid-column: 3;
  }

  .header-row {
    width: 730px;
    justify-content: space-between;
    height: 64px;
  }

  header {
    background-color: #fcf6f0;
  }

  .company-name-block img {
    width: 92px;
    height: 32px;
  }

  main {
    margin-top: 64px;
  }

  .burger {
    display: block;
  }
}

@media (max-width: 727px) {
  .header-row {
    max-width: 340px;
  }

  .cloth {
    width: 250px;
    height: 250px;
    left: -160px;
    top: -100px;
    animation: none;
    transform: scaleX(-1);
  }

  .ceramic {
    width: 170px;
    height: 170px;
    left: -150px;
    top: -180px;
    rotate: -20deg;
    animation: none;
  }

  .stone {
    right: -130px;
    top: -210px;
    width: 130px;
    height: 130px;
    animation: none;
  }

  .wood {
    position: absolute;
    right: -120px;
    bottom: -100px;
    width: 170px;
    height: 190px;
    animation: none;
  }

  .video-block {
    width: 100%;
  }

  .ornament {
    display: none;
  }

  .ornamnet-block {
    justify-content: center;
    width: 100%;
  }

  .text-block-features {
    max-width: 320px;
    text-align: center;
  }
  .text-block-features p{
    max-width: 320px;
    text-align: center;
  }

  .features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 320px;
  }

  .wrapper-features {
    grid-template-columns: 1fr;
    width: 320px;
    gap: 24px;
  }

  .matreshka-features-block {
    right: -10px;
  }

  .text-info-features {
    width: 220px;
  }

  .IT {
    width: 320px;
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .start-marks {
    left: -20px;
  }

  .end-marks {
    position: absolute;
    left: -60px;
    bottom: -110px;
    margin-top: 0;
  }

  .text-block-IT {
    padding-left: 24px;
    padding-right: 24px;
  }

  .grid-block-unfolding {
    flex-direction: column;
  }

  .name-column-unfolding,
  .block-unfolding {
    grid-column: auto !important;
    grid-row: auto !important;
    margin: auto;
  }

  .block-unfolding,
  .hide-information-block-unfolding {
    text-align: left;
    width: 320px;
  }

  .hide-information-block-unfolding {
    height: 90px;
    margin-top: 12px;
  }
  .hide-information-block-unfolding p{
    margin-bottom: 0 !important;
    padding-right: 0;
  }

  .block-unfolding:has(div) {
    height: 130px;
    padding-top:10px;
  }

  .block-unfolding p,
  .hide-information-block-unfolding p{
    text-align: left;
    padding: 10px;
  }

  .block-unfolding p {
    margin-bottom: 95px;
  }

  .last-unfolding {
    justify-content: center;
    height: auto;
  }

  .last-unfolding p{
    width: 320px;
    height: auto !important;
    text-align: center;
    margin-bottom: 0 !important;
  }

  .text-block-unfolding {
    width: 250px;
  }

  .unfolding-wrapper {
    display: flex;
    flex-direction: column;
  }

  .wrapper-manifest {
    width: 360px;
  }

  .manifest-block {
    width: 310px;
  }

  .table-manifest-block {
    justify-content: normal;
    overflow-x: auto;       /* включает горизонтальный скролл */
    overflow-y: hidden;     /* отключает вертикальный скролл */
  }
  .table-manifest-block > * {
    flex: 0 0 auto;
  }

  .top-row-team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 300px
  }
  .bottom-row-team {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-row-team .block-team {
    grid-column: auto !important;
  }

  .wrapper-team {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .form {
    margin-top: 100px;
  }

  .form-wrapper {
    width: 360px;
  }

  .invite-block h1 {
    text-align: center;
  }

  .form-block {
    width: 320px;
  }

  .button-container-form p {
    margin-left: 0;
  }

  .button-container-form {
    display: flex;
    flex-direction: column;
  }

  .wrapper-footer {
    width: 320px;
  }

  .row1-footer {
    padding-left: 0;
    justify-content: space-between;
    width: 100%;
  }
  .row2-footer {
    flex-direction: column;
    padding-left: 0;
    gap: 24px;
  }

  .row3-footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
  }

  .d-block video {
    width: 180px;
    height: auto;
    top: 45px;
    left: 170px;
  }

  .social {
    display: flex;
    width: auto;
    gap: 12px;
  }

  .content-footer-container {
    width: 100%;
  }

  .row3-footer .numers {
    display: ruby;
    width: 100%;
  }

  .numers {
    margin: 12px;
  }

  .top-text-manifest-block p span {
    margin-top: 10px;
    display: block;
  }
}
