@font-face {

  font-family: 'Calligraph';
  src:
    url('../fonts/CalligraphModern.ttf') format('truetype'),
    url('../fonts/calligraphmodern-webfont.woff') format('woff'),
    url('../fonts/calligraphmodern-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;

  font-family: 'Lora', Times, serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #262121;

  background-color: #eaeaea;
  background-image: url("../img/bg.jpg");
  background-size: 25%;
  background-position: top center;
  background-repeat: repeat;

  overflow-x: hidden;
}

*,
::before,
::after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* скрываем загаловки которых нет в макете, но нужны для доступности */
.visually-hidden:not(:focus):not(:active) {
  position: absolute;

  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;

  white-space: nowrap;

  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* центрируем все элементы */
.container {
  width: 1170px;
  margin: 0 auto;
}

@media (max-width:1440px) {
  .container {
    width: 87%;
    margin: 0 auto;
  }
}

header {
  position: relative;
}

.nav-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  flex: 1 1 auto;
  height: 365px;
}

.nav-left ul,
.nav-right ul {
  list-style: none;
  padding: 0;

  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}

.nav-left,
.nav-right {
  width: 50%;

}

.logo {
  position: absolute;
  top: 0px;
  left: 50%;
  margin-left: -94px;
   will-change: transform;
   animation: star1 ease-in-out 3s infinite alternate-reverse;
   -webkit-animation: ball1 ease-in-out 3s infinite alternate-reverse;
  transform-origin: center -370px;
  -webkit-transform-origin: center -370px;
  animation-duration: 5s;
  -webkit-animation-duration: 5s;
}

.nav-left ul li,
.nav-right ul li {
  position: relative;
  z-index: 2;
}

.nav-left ul li a,
.nav-right ul li a {
  color: #fff;
}

.letter {
  top: -60px;
  left: 54px;
  will-change: transform;
  animation: star1 ease-in-out 2s infinite alternate-reverse;
  -webkit-animation: ball1 ease-in-out 2s infinite alternate-reverse;
}

@keyframes ball1 {
0% {
  transform: rotate3d(0, 0, 1, -1deg);
}

100% {
  transform: rotate3d(0, 0, 1, 1deg);
}
}

.letter::before {
  content: "";
  background-image: url(../img/letter.png);
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 166px;
  height: 330px;
  top: -59px;
  left: -52px;
  z-index: -1;
}

.letter a {
  position: relative;
      top: 138px;
          left: -44px;
          padding: 30px 43px 101px 43px;
}

.video {
  width: 172px;
 top: -64px;
 left: -37px;
 will-change: transform;
 animation: star1 ease-in-out 1s infinite alternate-reverse;
 -webkit-animation: ball1 ease-in-out 1s infinite alternate-reverse;

 transform-origin: center -50px;
 -webkit-transform-origin: center -50px;
 animation-duration: 2s;
 -webkit-animation-duration: 2s;
 }

.video::before {
  content: "";
  background-image: url(../img/video.png);
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 166px;
  height: 330px;
  top: 8px;
  right: -5px;
  z-index: -1;
}



.video a {
  display: block;
  position: relative;
  top: 179px;
  left: 8px;
  padding: 20px 0px 75px 0px;
}

.hb::after {
  content: "";
  background-image: url(../img/hb.png);
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 166px;
  height: 330px;
  top: -59px;
  right: -13px;
  z-index: -1;
}

.hb {
  width: 140px;
  top: -64px;
  left: -72px;
  will-change: transform;
  animation: star1 ease-in-out 1s infinite alternate-reverse;
  -webkit-animation: ball1 ease-in-out 1s infinite alternate-reverse;

  transform-origin: center -150px;
  -webkit-transform-origin: center -150px;
  animation-duration: 3s;
  -webkit-animation-duration: 3s;
  }

.hb a {
  position: relative;
  top: 112px;
  display: block;
  padding: 20px 0px 75px 0px;
}

.delivery {
  top: -41px;
  left: 108px;
  will-change: transform;
  animation: star1 ease-in-out 1s infinite alternate-reverse;
  -webkit-animation: ball1 ease-in-out 1s infinite alternate-reverse;

  transform-origin: center -280px;
  -webkit-transform-origin: center -280px;
  animation-duration: 4s;
  -webkit-animation-duration: 4s;

}

.delivery::before {
  content: "";
  background-image: url(../img/delivery.png);
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 166px;
  height: 330px;
  top: -83px;
  left: -48px;
  z-index: -1;
}

.delivery a {
  position: relative;
      top: 119px;
right: 37px;
          padding: 31px 34px 93px 34px;
}

.payment {
  top: -41px;
  left: 66px;
  will-change: transform;
  animation: star1 ease-in-out 3s infinite alternate-reverse;
  -webkit-animation: ball1 ease-in-out 3s infinite alternate-reverse;

  transform-origin: center -300px;
  -webkit-transform-origin: center -300px;
  animation-duration: 5s;
  -webkit-animation-duration: 5s;
}

.payment::after {
  content: "";
  background-image: url(../img/payment.png);
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 166px;
  height: 330px;
  top: -13px;
  left: -53px;
  z-index: -1;
}

.payment a {
  position: relative;
      top: 189px;
right: 37px;
       padding: 31px 34px 93px 34px;
}

.contacts {
  top: -41px;
  left: -46px;
   will-change: transform;
   animation: star1 ease-in-out 1s infinite alternate-reverse;
   -webkit-animation: ball1 ease-in-out 1s infinite alternate-reverse;

   transform-origin: center -280px;
   -webkit-transform-origin: center -280px;
   animation-duration: 4s;
   -webkit-animation-duration: 4s;
}

.contacts::after {
  content: "";
  background-image: url(../img/contacts.png);
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 166px;
  height: 330px;
  top: -83px;
  right: -45px;
  z-index: -1;
}

.contacts a {
  position: relative;
      top: 119px;
      left: 37px;
      padding: 31px 34px 93px 34px;
}

.menu-btn {
  display: none;
}

.tel {
  display: none;
}

@media (max-width:1240px) {

  .letter::before,
  .video::before,
  .hb::after,
  .delivery::before,
  .payment::after,
  .contacts::after {
    width: 142px;
    height: 282px;
  }

  .letter {
    top: -160px;
    left: 0px;
  }
  .letter::before{
    top: 51px;
    left:2px;
  }

  .letter a {
    top: 221px;
        left: 12px;
        padding: 25px 29px 79px 29px;
  }

.video {
    width: 150px;
    top: -160px;
    left: -16px;
  }

.video::before {
        right: 6px;
        top: 116px;

  }

  .video a {
   top: 262px;
   left: 1px;
   font-size: 14px;
   padding: 12px 0px 62px 0px;
  }

 .hb {
width: 139px;
top: -160px;
left: -61px;
 }

 .hb::after {
    top: 50px;
    right: 0px;
  }

  .hb a {
    top: 196px;
    right: 0px;
    padding: 12px 0px 62px 0px;
  }

  .delivery {
    top: -41px;
    left: 66px;
  }

   .delivery::before {
     top: -68px;
     left: -8px;
   }

   .delivery a {
     top: 104px;
     left: 1px;
     padding: 26px 25px 77px 25px;
   }

  .contacts {
    top: -41px;
    left: -8px;
  }


.contacts::after {
    top: -68px;
    left: -6px;
  }

  .contacts a {
    top: 104px;
    left: 0px;
    padding: 26px 25px 77px 25px;
  }


  .payment {
top: -41px;
left: 30px;
  }

  .payment::after {
    top: -3px;
    left: -6px;
  }

  .payment a {
    top: 170px;
    left: 0px;
    padding: 26px 34px 77px 34px;
  }

  .logo img {
    width: 159px;
    height: 314px;

  }

  .logo {
 margin-left: -79px;
  }

}

@media (max-width: 1024px) {

  .letter::before,
  .video::before,
  .hb::after,
  .delivery::before,
  .payment::after,
  .contacts::after {
    display: none;
  }

  .letter a, .video a, .hb a, .delivery a, .payment a, .contacts a, .letter, .video, .hb, .delivery, .payment, .contacts {
    top: 0;
    left: 0;
    right: 0;
    padding: 0;
  }

  .nav-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    flex-direction: column;
    justify-content: flex-start;
    flex: auto;
    width: 30%;
    height: 100vh;
    background-color: #b51e25;
    outline: 3px solid #fff;
    outline-offset: -10px;
    z-index: 10;
    transition: 0.5s;
    transform: translateX(-100%);
    z-index: 99;
  }

  .nav-wrapper__active {
    transform: translateX(0%);
  }

  main {
    transition: 0.5s;
    position: relative;
    z-index: 0;
  }

  .main__active {
    transform: translateX(30%);
  }

  .nav-left ul,
  .nav-right ul {
    flex-direction: column;
    margin: 0;
    margin-top: 10px;
    padding-left: 30px;
    justify-content: space-around;
    height: 100%;
    text-align: left;
  }

  .nav-left,
  .nav-right {
    width: auto;
  }

  .nav-left a,
  .nav-right a {
    font-size: 16px;
  }

  .nav-left a:hover,
  .nav-right a:hover,
  .nav-left a:active,
  .nav-right a:active,
  .nav-left a:focus,
  .nav-right a:focus {
    border-bottom: 2px solid #fff;
    transition: all 0.1s;
  }


  .nav-left li,
  .nav-right li {
    padding: 10px 0;
  }

  .menu-btn {
    display: block;
    position: fixed;
    right: -90px;
    width: 90px;
    height: 96px;
    cursor: pointer;
  }

  .menu-btn::after {
    content: "";
    background-image: url(../img/menu.png);
    position: absolute;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 150px;
    height: 150px;
    top: -49px;
    left: -25px;
  }

  .logo {
    position: absolute;
    right: 0px;
    top: -16px;
    margin: auto;
    transform: translateX(-100%);
  }

  .logo img {
    width: 80px;
    height: 157px;
  }

  .tel {
    display: flex;
    justify-content: flex-end;
    color: #b51e25;
    font-size: 22px;
    padding-top: 39px;
    padding-right: 10px;
  }

  .tel__text {
    position: relative;
  }

  .tel__text::after {
    content: "";
    background-image: url(../img/tel.png);
    position: absolute;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 42px;
    height: 33px;
    top: -25px;
    right: -21px;
    transform: rotate(11deg);
  }


  .letter,
  .video,
  .hb,
  .delivery,
  .payment,
  .contacts,
  .logo {
    animation: none;
    -webkit-animation: none;
  }

}

@media (max-width:850px) {
  .logo {
    margin-left: 7px;
  }
}

@media (max-width:660px) {
  .logo {
    margin-left: 17px;
  }

  .tel {
    font-size: 18px;
  }

  .nav-wrapper {
    width: 50%;
  }

  .main__active {
    transform: translateX(50%);
  }
}


/*------- Слоган --------*/
.slogan {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.slogan__title {
  font-family: 'Calligraph', 'Comic Sans MS', Cursive;
  font-size: 60px;
  line-height: 60px;
  letter-spacing: 4px;
  margin: 0;
}


.slogan__text {
  font-size: 40px;
  margin: 30px 0;
  position: relative;
}

.slogan__desc {
  font-size: 23px;
  text-transform: uppercase;
}

.slogan__price {
  font-family: 'Calligraph',  'Comic Sans MS',  Cursive;
  font-size: 50px;
  position: relative;
  max-width: 472px;
  margin: 40px auto;
}

.slogan__price::before {
  content: "";
  position: absolute;
 bottom: 4px;
 left: 0;
 width: 144px;
 height: 3px;
  background: #262121;
}

.slogan__price::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 0;
  width: 144px;
  height: 3px;
  background: #262121;
}

/*----------- анимация ----------*/
.slogan-animation {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      text-align: left;
}

.slogan-animation [class^='layer-'] {
  position: absolute;
  pointer-events: none;
  top: 16%;
  will-change: transform;
  z-index: -1;
}

.slogan-animation .layer-1 {
  left: 7%;
  top: 34%;
  animation: star1 ease-in-out 2.4s infinite alternate-reverse;
  -webkit-animation: star1 ease-in-out 2.4s infinite alternate-reverse;
}

@keyframes star1 {
  0% {
    transform: translate3d(15px, 15px, 15px);
    -webkit-transform: translate3d(15px, 15px, 15px);
  }

  100% {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }
}


.slogan-animation .layer-2 {
  left: 84%;
  animation: star2 ease-in-out 2.4s infinite alternate-reverse;
  -webkit-animation: star2 ease-in-out 2.4s infinite alternate-reverse;
}

@keyframes star2 {
0% {
  transform: translate3d(15px, -15px, -15px);
  -webkit-transform: translate3d(15px, -15px, -15px);
}

100% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}
}


.slogan-animation .layer-3 {
  top: 69%;
  left: 8%;
  animation: star3 ease-in-out 2s infinite alternate-reverse;
  -webkit-animation: star3 ease-in-out 2s infinite alternate-reverse;
}

@keyframes star3 {
0% {
  transform: translate3d(10px, -10px, -15px);
  -webkit-transform: translate3d(10px, -10px, -15px);
}

100% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}
}

.slogan-animation .layer-4 {
        top: 42%;
        left: 13%;
}

.slogan-animation .layer-7 {
  top: 59%;
  left: 78%;
}



.slogan-animation .layer-5 {
 top: 40%;
 left: 87%;
 animation: star1 ease-in-out 1.5s infinite alternate-reverse;
 -webkit-animation: star1 ease-in-out 1.5s infinite alternate-reverse;
}

.slogan-animation .layer-6 {
         top: 25%;
         left: 12%;
     animation: star1 ease-in-out 1.5s infinite alternate-reverse;
     -webkit-animation: star4 ease-in-out 1.5s infinite alternate-reverse;
}
@keyframes star4 {
0% {
  transform: translate3d(10px, 5px, 15px);
  -webkit-transform: translate3d(10px, 5px, 15px);
}

100% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}
}
/*-----------------------------*/
/*-----------------------------*/
@media (max-width: 660px) {
  .slogan {
    padding-top: 110px;
  }

  .slogan__title {
    font-size: 47px;
  }

  .slogan__text {
    font-size: 26px;
    margin-top: 19px;
  }

  .slogan__text::after {
    width: 291px;
    height: 37px;
    margin-left: -145px;
  }

  .slogan__desc {
    font-size: 15px;
  }
}

@media (max-width: 530px) {
  .slogan__title {
    font-size: 35px;
    line-height: 40px;
    letter-spacing: 2px;
  }

  .slogan__price {
    font-size: 32px;
    max-width: 296px;
  }

  .slogan__price::before {
    width: 79px;
  }

  .slogan__price::after {
    width: 79px;
  }
}


/* первая форма */

.popular {
  position: relative;
  background-color: #082745;
  background-image: url("../img/dark.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 0;
}

.snow {
  background-image: url("../img/snow.png");
  position: absolute;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.snow2 {
  background-image: url("../img/snow2.png");
  position: absolute;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.popular-inner {
  padding-top: 100px;
  padding-bottom: 300px;
  z-index: 99;

  color: #fff;
  display: flex;
  flex-wrap: wrap;
}

.popular-image {
  width: 32%;
  height: 400px;
  margin-right: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*---------изображения-----------*/
.popular-image__inner {
  position: relative;
  width: 100%;
  height: 400px;
}

.popular-image__img-wrapper {
  background: #162633;
  position: absolute;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  margin: 0;
}

.popular-img--one {
  border: 3px solid #fff;
  width: 210px;
  height: 210px;
  top: 0;
  left:0;
}

.popular-img--two {
  border: 7px solid #fff;
  width: 240px;
  height: 240px;
  bottom:0;
  right: 0;
}

.popular-image__img {
  position: relative;
  display: block;
  opacity: 0.8;
 max-width: none;
 width: -webkit-calc(100% + 20px);
 width: calc(100% + 20px);
 -webkit-transition: opacity 0.35s,
 -webkit-transform 0.35s;
 transition: opacity 0.35s,
 transform 0.35s;
 -webkit-transform: translate3d(-10px, 0, 0);
 transform: translate3d(-10px, 0, 0);
 -webkit-backface-visibility: hidden;
 backface-visibility: hidden;
}

.popular-image__img-wrapper:hover img {
  opacity: 0.5;
 	-webkit-transform: translate3d(0, 0, 0);
 	transform: translate3d(0, 0, 0);
}

.popular-image__text {
  position: absolute;
  top: 0;
  left: 0;
  text-align: left;
  padding: 0 10px;
  color: #fff;

}

.popular-image__desc {
  position: relative;
  overflow: hidden;
 margin: 10px 0;
 padding-bottom: 10px;
 line-height: 19px;
 letter-spacing: 1px;
 font-size: 15px;
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  -webkit-transform: translateY(-130%);
  transform: translateY(-130%);
}

.popular-image__img-wrapper:hover .popular-image__desc {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.popular-image__desc::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  content: '';
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
  transition-delay: 0.3s;
}

.popular-image__img-wrapper:hover .popular-image__desc::after {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.popular-image__price {
font-family: 'Calligraph', 'Comic Sans MS', Cursive;
font-size: 34px;
margin: 0;
opacity: 0;
 -webkit-transition: 0.35s;
 -webkit-transform: 0.35s;
 transition: 0.35s;
 transform: 0.35s;
 -webkit-transform: translate3d(100%, 0, 0);
 transform: translate3d(100%, 0, 0);
}

.popular-image__img-wrapper:hover .popular-image__price {
  opacity: 1;
  -webkit-transform: translate(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/*------------- текст с права -------------*/
.popular-text {
  width: 60%;
  text-align: center;
  position: relative;
}

.popular-text::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 320px;
  background-color: #fff;
  left:0;
  top:40px;
}

.popular-text__title {
  font-family: 'Calligraph', 'Comic Sans MS', Cursive;
  line-height: 51px;
  letter-spacing: 5px;
  font-size: 44px;
  position: relative;
}

.popular-text__title::after {
  content: "";
  background-image: url(../img/popular-line.png);
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 321px;
  height: 40px;
  bottom: -48px;
  left: 50%;
  margin-left: -160px;
}

.popular-text__title .popular-price {
  background-image: url(../img/price_white.png);
  color: #b51e25;
  letter-spacing: 0 !important;
  line-height: 120px;
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 125px;
  height: 125px;
  bottom: -69px;
  right: 31px;
  z-index: 2;
}

.popular-text__offer {
  margin-top: 62px;
  margin-bottom: 21px;
  font-size: 32px;
  position: relative;
}

.popular-text__offer::after {
  content: "";
  position: absolute;
  background-color: #fff;
  width: 420px;
  height: 1px;
  bottom: -16px;
  left: 50%;
  margin-left: -210px;
}

.popular-text__desk {
  display: block;
  font-size: 14px;
  max-width: 477px;
  margin: 0 auto;
  text-align: left;
  line-height: 17px;
  letter-spacing: 1px;
}

/*------------ форма "популярный вариант" -----------------*/

.popular-form {
  margin: 0 auto;
  text-align: center;
  padding-top: 80px;
  width: 564px;
}

.popular-form__list-offer,
.popular-form__list-personal {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*---------- переключатели -----------*/
.popular-form__list-offer {
display: flex;
justify-content: space-between;
}

.popular-form__label-offer {
  border: 3px solid #fff;
  border-radius: 10px;
  padding: 19px 12px;
  cursor: pointer;
  display: inline-block;
}

.offer--letter {
  flex-grow: 1;
}

.popular-form__label-offer {
  width: 100%;
}

.popular-form__item-offer {
  margin: 0 7px;
}

.offer--video {
  flex-grow: 2;
}

.popular-form__label-offer::before {
  content: "+";
  font-size: 20px;
  padding: 2px 6px 2px 2px;
  transition: transform .3s ease-in-out;
  display: inline-block;
}

.popular-form__input-offer[type="checkbox"]:checked+label::before {
  content: "✔";
  transform: rotate(-360deg);
  transition: transform .3s ease-in-out;
}

.popular-form__input-offer[type="checkbox"]:checked+label {
  border: 2px solid #ffffff;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  transition: all .2s;
}

.popular-form__input-offer[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.popular-form__input-offer[type="checkbox"]:focus+label {
  border: 2px solid #e9a1ff;
}

/*--------- персональные данные ---------*/

.popular-form__item-personal {
  margin: 30px 7px;
}

.popular-form__label-box {
  position: relative;
}

.popular-form__input-personal {

box-sizing: border-box;
border: 3px solid #fff;
border-radius: 10px;
background:#fff;
padding: 21px 5px;
font-size: 18px;
}

.popular-form__label-personal {
  position: absolute;
  top: -46px;
  left: 0;
  color: #3A3939;
  font-size: 19px;
  transition: 0.2s ease all;
  pointer-events: none;
  text-align: left;
  padding: 0 15px;
}

.popular-form__item-personal input:focus~.popular-form__label-box label,
.popular-form__item-personal input:valid~.popular-form__label-box label {
  font-size: 13px;
  transform: translateY(-15px);
  color: rgb(78, 78, 78);
}

.personal--name {
  display: flex;
}

.personl-inner {
  margin-left: 14px;
}

.personl-inner:first-child {
  margin-left: 0px;
}

.personal--name .popular-form__label-box,
.personal--name .popular-form__label-personal,
.personal--name .popular-form__input-personal {
  max-width: 205px;
}

/*-------возраст---------*/
.popular-form__age {
  margin-left: 14px;
  background:#fff;
  border-radius: 10px;
  display: flex;
}

.popular-form__age-input {
  border: none;
  border-radius: 10px;
  background: #fff;
  font-size: 19px;
  padding-left: 14px;
}

.popular-form__age-label {
  color:#3A3939;
  padding-right: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*-------телефон и майл------*/

.personal--tel {
  width: 267px;
  display: flex;
}

.personal--tel .popular-form__label-box,
.personal--tel .popular-form__label-personal,
.personal--tel .popular-form__input-personal {
 width: 267px;
}

.popular-form__input-wrapper {
 margin-left: 14px;
}

.popular-form__input-wrapper:first-child {
  margin-left: 0px;
}

.popular-address--sity {
  width: 378px;
}

.popular-address--index {
  width: 156px;
}

/*--------Адрес-------*/
.personal--address {
  display: flex;
}

.popular-form__address-inner {
  margin-left: 14px;
}

.popular-form__address-inner:first-child {
  margin-left: 0px;
}

/*------- кнопка --------*/

.popular-button {
  border: none;
  border-radius: 10px;
  background: #fff;
  font-family: 'Calligraph', 'Comic Sans MS', Cursive;
  font-size: 43px;
  color: #b51e25;
  padding: 7px 91px;
}

.valid {
  background: #fff;
  color: #000;
  transition-duration: 0.2s;
}

.popular-form__input-personal:focus {
  outline: none;
  background: #fff;
  color: #000;
  transition-duration: 0.2s;
}


/*------------ адаптив популярное предложение ---------------*/

@media (max-width: 1200px) {
  .popular-img--one {
    width: 180px;
    height: 180px;
  }

  .popular-img--two {
    width:210px;
    height:210px;
  }

  .popular-image__inner {
    height: 350px;
  }

  .popular-text__title{
    font-size: 40px;
  }

  .popular-text__title .popular-price{
    line-height: 98px;
    width: 100px;
    height: 100px;
    bottom: -50px;
    right: 0px;
  }
}

@media (max-width: 980px) {
  .popular-img--one {
    width: 140px;
    height: 140px;
  }

  .popular-img--two {
    width: 170px;
    height: 170px;
  }

  .popular-image__inner {
    height: 295px;
  }

 .popular-image__desc {
 font-size: 14px;
 line-height: 14px;
 -webkit-transition: none;
 transition: none;
 -webkit-transform: none;
 transform: none;
  }

  .popular-image__img {
    opacity: 0.5;
    -webkit-transition: none;
      -webkit-transform: none;
    transition: none;
      transform:none;
    -webkit-transform: none;
    transform: none;
  }

  .popular-image__img-wrapper:hover img {
    -webkit-transform: none;
    transform: none;
  }

  .popular-image__img-wrapper:hover .popular-image__desc {
    -webkit-transform: none;
    transform: none;
  }

  .popular-image__desc::after {
    height: 2px;
    content: '';
    -webkit-transition: none;
    transition: none;
    -webkit-transform: none;
    transform: none;
    transition-delay: none;
  }

  .popular-image__img-wrapper:hover .popular-image__desc::after {
    -webkit-transform: none;
    transform: none;
  }

  .popular-image__price {
    font-size: 30px;
    opacity: 1;
    -webkit-transition: none;
      -webkit-transform: none;
    transition: none;
      transform: none;
    -webkit-transform: none;
    transform: none;
  }

  .popular-text__title::after {
        width: 250px;
        margin-left: -125px;
  }
  .popular-text__title {
    font-size: 34px;
    line-height: 43px;
    letter-spacing: 3px;
  }

  .popular-text__offer {
    font-size: 25px;
  }

  .popular-text__offer::after {
    width: 370px;
    margin-left: -185px;
  }

  .popular-text__desk {
    font-size: 11px;
    max-width: 373px;
  }

  .popular-text__title .popular-price {
    line-height: 88px;
    width: 90px;
    height: 90px;
    bottom: -66px;
  }
}

@media (max-width: 768px) {
  .popular-inner {
    color: #fff;
    flex-direction: column;
    padding-top: 50px;
    padding-bottom: 260px;
  }

  .popular-text {
    order: 1;
    width: 100%;
  }
  .popular-image {
    order: 2;
    width: 100%;
  }

  .popular-text::before {
    display: none;
  }

 .popular-text__title {
    font-size: 39px;
    line-height: 43px;
    letter-spacing: 3px;
  }

  .popular-text__desk {
    font-size: 12px;
    max-width: 410px;
    text-align: center;
  }

  .popular-text__title .popular-price {
    right: 67px;
    bottom: -68px;
  }

  .popular-img--one,
  .popular-img--two {
    width: 180px;
    height: 180px;
    border:none;
    margin: 10px;
  }

  .popular-image__img-wrapper {
    position: relative;
  }
.popular-image__inner {
    height: 350px;
    display: flex;
    justify-content: center;
    height: auto;
  }

  .popular-image {
    height: auto;
    padding: 30px 0;
  }

  .popular-image__desc::after {
    display: none;
  }

  .popular-image__text {
    height: 100%;
  }
  .popular-image__price {
    position: absolute;
    bottom: 0px;
    right: 0;
    margin: 20px;
  }
  .popular-image__desc {
    margin: 30px 0;
    font-size: 14px;
  }

  /*------------*/
  /*--форма--*/
  /*------------*/
  .popular-form {
    padding-top: 30px;
    order: 3;
  }

  .popular-form__label-offer {
    padding: 10px 10px;
    width: 100%;
  }

.popular-form {
  margin: 0;
    padding-top: 30px;
    width: 100%;
    order: 3;
}

.popular-form__wrapper {
  margin: 0 auto;
  max-width: 450px;
}

.personal--name .popular-form__label-box,
.personal--name .popular-form__label-personal,
.personal--name .popular-form__input-personal {
  max-width: 169px;
}

.popular-form__label-personal {
  font-size: 14px;
}

.popular-form__input-personal {
  padding: 14px 5px;
}

.popular-form__age-input {
  font-size: 14px;
  padding-left: 10px;
}

.popular-form__age-label {
  color: #3A3939;
  padding-right: 10px;
}

.personl-inner {
  margin-left: 10px;
}

.popular-form__age {
  margin-left: 10px;
}

.popular-address--sity {
  width: 308px;
}

.popular-address--index {
  width: 118px;
}

.popular-form__address-inner {
  margin-left: 10px;
}

.personal--tel .popular-form__label-box,
.personal--tel .popular-form__label-personal,
.personal--tel .popular-form__input-personal {
  width: 213px;
}

.popular-form__input-wrapper {
  margin-left: 10px;
}

.popular-button {
  font-size: 38px;
  padding: 7px 80px;
}

.popular-form__item-personal input:focus~.popular-form__label-box label,
.popular-form__item-personal input:valid~.popular-form__label-box label {
  font-size: 10px;
}
}

@media (max-width:650px) {
  .popular-text__title .popular-price {
    line-height: 70px;
    right:59px;
    width: 74px;
    height: 74px;
    bottom: -52px;
  }

  .popular-text__title {
    font-size: 32px;
    line-height: 39px;
    letter-spacing: 2px;
  }

  .popular-text__offer {
    font-size: 20px;
    margin-top: 43px;
  }

  .popular-text__offer::after {
    width: 300px;
    margin-left: -150px;
  }

  .popular-text__desk {
    font-size: 10px;
  }

  .popular-text__title::after {
    width: 200px;
    margin-left: -100px;
  }

}

@media (max-width: 540px){
.popular-text__title .popular-price {
  right: 0px;
}

/*------------*/
/*--форма--*/
/*------------*/
.popular-form__wrapper {
  max-width: 364px;
}

.popular-form__label-offer {
  padding: 4px 10px;
  font-size: 12px;
}

.popular-form__label-offer::before {
  font-size: 12px;
}

.popular-form__item-offer {
  margin: 0 4px;
}

.personal--name .popular-form__label-box,
.personal--name .popular-form__label-personal,
.personal--name .popular-form__input-personal {
  max-width: 143px;
}

.popular-form__input-personal {
  padding: 10px 0px;
}

.popular-form__item-personal input:focus~.popular-form__label-box label,
.popular-form__item-personal input:valid~.popular-form__label-box label {
  font-size: 8px;
}

.popular-form__label-personal {
  font-size: 12px;
}

.popular-form__label-personal {
  padding: 16px 15px 0;
}

.popular-form__age-input {
  font-size: 10px;
  padding-left: 8px;
}

.popular-form__age-label {
  padding-right: 8px;
  font-size: 11px;
}

.personl-inner {
  margin-left: 3px;
}

.popular-form__age {
  margin-left: 3px;
}

.popular-address--sity {
  width: 268px;
}

.popular-address--index {
  width: 76px;
}

.popular-form__address-inner {
  margin-left: 5px;
}

.personal--tel .popular-form__label-box,
.personal--tel .popular-form__label-personal,
.personal--tel .popular-form__input-personal {
  width: 172px;
}

.popular-form__input-personal {
  font-size: 12px;
}

.popular-form__input-wrapper {
  margin-left: 5px;
}

.popular-button {
      font-size: 32px;
      padding: 2px 63px;
}

.popular-form__item-personal {
  margin: 16px 7px;
}

}

@media (max-width: 440px) {
.popular-img--one,
.popular-img--two {
  height: auto;
}

.popular-image__desc {
  margin: 10px 0;
}

.popular-form__wrapper {
  max-width: 275px;
}
.popular-image__price {
  margin: 10px;
}

.popular-form__label-offer {
  font-size: 11px;
}

.popular-form__label-personal {
  font-size: 11px;
}

.popular-form__label-personal {
  padding: 16px 3px 0;
}

.personal--name .popular-form__label-box,
.personal--name .popular-form__label-personal,
.personal--name .popular-form__input-personal {
  max-width: 106px;
}

.popular-form__item-personal {
  margin: 16px 4px;
}

.popular-form__age-input {
  font-size: 10px;
  padding-left: 3px;
}

.popular-form__age-label {
  padding-right: 3px;
  font-size: 10px;
}

.popular-address--sity {
  width: 210px;
}

.popular-address--index {
  width: 49px;
}

.personal--tel .popular-form__label-box,
.personal--tel .popular-form__label-personal,
.personal--tel .popular-form__input-personal {
  width: 129px;
}

.popular-button {
  font-size: 28px;
  padding: 2px 47px;
}

.slogan {
  padding: 40px 0;
}

.popular-inner {
  color: #fff;
  flex-direction: column;
  padding-top: 0;
}
}

@media (max-width: 360px) {
  .popular-image__desc {
    font-size: 12px;
    line-height: 12px;
  }

  .popular-image__price {
    font-size: 28px;
  }
}

/*---------------------------------*/
/*------------Описание-------------*/
/*---------------------------------*/

.block-description {
  position: relative;
height: 946px; /*временно*/
  z-index: 1;
}

.block-description::before {
  content: "";
  background-image: url(../img/white.png);
  background-size: cover;
  background-position: top center;
  background-repeat: repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top:-220px;
  z-index: -1;
}

.description__inner {
  text-align: center;
}

.description__title {
  z-index: 2;
  font-family: 'Calligraph', 'Comic Sans MS', Cursive;
    line-height: 51px;
    letter-spacing: 3px;
    font-size: 47px;
    margin: 0;
    padding-top: 15px;
    margin-bottom: 40px;
}

.description__text {
  font-size: 22px;
  line-height: 30px;
  margin-top: 0;
  margin-bottom: 40px;
}



@media (max-width: 940px) {
  .description__title {
      line-height: 40px;
      letter-spacing: 2px;
      font-size: 35px;
  }

  .description__text {
    font-size: 17px;
    line-height: 26px;
    margin-top: 0;
  }
}


@media (max-width: 505px) {
 .description__img {
   width: 60%;
 }
}


@media (max-width: 405px) {
  .description__title {
    line-height: 30px;
    letter-spacing: 2px;
    font-size: 30px;
}

.description__text {
  font-size: 16px;
  line-height: 23px;
  margin-top: 0;
}
 }

/*---------------------------------------*/
 /*----------Каталог с письмами----------*/
/*---------------------------------------*/


 .catalog-letters {
   text-align: center;
 }

.catalog-letters__title {
  font-family: 'Calligraph', 'Comic Sans MS', Cursive;
    line-height: 51px;
    letter-spacing: 5px;
    font-size: 60px;
    position: relative;
    top:-150px;
}

.catalog-letters__list {
  margin: 0 auto;
  padding: 0;
  margin: 0;
  margin-bottom: 60px;
  margin-top: -60px;
}


.catalog-letters__item {
  max-width: 95%;
  margin: 0 auto;
  margin-bottom: 120px;

  list-style: none;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
background: #a90329;


background: linear-gradient(145deg,
#a90329 0%,
#6d0019 6%,#f3eeee 6%,
#f3eeee 10%,#a90329 10%,
#6d0019 20%,#f3eeee 20%,
#f3eeee 24%,#a90329 24%,
#6d0019 34%,#f3eeee 34%,
#f3eeee 38%,#a90329 38%,
#6d0019 48%,#f3eeee 48%,
#f3eeee 52%,#a90329 52%,
#6d0019 62%,#f3eeee 62%,
#f3eeee 66%,#a90329 66%,
#6d0019 76%,#f3eeee 76%,
#f3eeee 80%,#a90329 80%,
#6d0019 90%,#f3eeee 90%,
#f3eeee 94%,#a90329 94%,
#6d0019 100%);

background: -moz-linear-gradient(145deg,
#a90329 0%,
#6d0019 6%,#f3eeee 6%,
#f3eeee 10%,#a90329 10%,
#6d0019 20%,#f3eeee 20%,
#f3eeee 24%,#a90329 24%,
#6d0019 34%,#f3eeee 34%,
#f3eeee 38%,#a90329 38%,
#6d0019 48%,#f3eeee 48%,
#f3eeee 52%,#a90329 52%,
#6d0019 62%,#f3eeee 62%,
#f3eeee 66%,#a90329 66%,
#6d0019 76%,#f3eeee 76%,
#f3eeee 80%,#a90329 80%,
#6d0019 90%,#f3eeee 90%,
#f3eeee 94%,#a90329 94%,
#6d0019 100%);

background: -webkit-linear-gradient(145deg,
#a90329 0%,
#6d0019 6%,#f3eeee 6%,
#f3eeee 10%,#a90329 10%,
#6d0019 20%,#f3eeee 20%,
#f3eeee 24%,#a90329 24%,
#6d0019 34%,#f3eeee 34%,
#f3eeee 38%,#a90329 38%,
#6d0019 48%,#f3eeee 48%,
#f3eeee 52%,#a90329 52%,
#6d0019 62%,#f3eeee 62%,
#f3eeee 66%,#a90329 66%,
#6d0019 76%,#f3eeee 76%,
#f3eeee 80%,#a90329 80%,
#6d0019 90%,#f3eeee 90%,
#f3eeee 94%,#a90329 94%,
#6d0019 100%);

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=1 );

-moz-transform: rotate(2deg) skew(4deg, 0deg);
-webkit-transform: rotate(2deg) skew(4deg, 0deg);
-o-transform: rotate(2deg) skew(4deg, 0deg);
-ms-transform: rotate(2deg) skew(4deg, 0deg);
transform: rotate(2deg) skew(4deg, 0deg);
}

.catalog-letters__item-inner {

  margin: 0 auto;

background: rgb(199,199,201);

background: -moz-linear-gradient(-45deg,
rgb(217, 217, 221) 0%,
rgb(255, 255, 255) 30%,
rgb(217, 217, 221) 100%);

 background: -webkit-linear-gradient(-45deg,
 rgb(217, 217, 221) 0%,
 rgb(255, 255, 255) 30%,
 rgb(217, 217, 221) 100%);

background: linear-gradient(135deg,
rgb(217, 217, 221) 0%,
rgb(255, 255, 255) 30%,
rgb(217, 217, 221) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c7c7c9', endColorstr='#c7c7c9',GradientType=1 );

-moz-transform: scale(0.98) rotate(1deg) translate(-3px, 0px) skew(0deg, -3deg);
-webkit-transform: scale(0.98) rotate(1deg) translate(-3px, 0px) skew(0deg, -3deg);
-o-transform: scale(0.98) rotate(1deg) translate(-3px, 0px) skew(0deg, -3deg);
-ms-transform: scale(0.98) rotate(1deg) translate(-3px, 0px) skew(0deg, -3deg);
transform: scale(0.98) rotate(1deg) translate(-3px, 0px) skew(0deg, -3deg);

box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.catalog-letters__content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 30px;

  -moz-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
-webkit-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
-o-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
-ms-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg)
}

.catalog-letters__imege {
  width: 45%;
}

.catalog-letters__content {
  width: 50%;
  text-align: left;
  position: relative;
}

.letters-content__desc-list {
  padding: 0;
  position: relative;

}

.letters-content__desc-item {
  list-style-type: none;
  margin: 5px 0;
}

.letters-content__desc-item::before {
  content: "-";
  padding-right: 5px;
  color: #95110f;
}

.catalog-letters__item-title {
  font-size: 25px;
  letter-spacing: 1px;
  padding: 40px 0;
  margin: 0;
  text-shadow: -1px 1px 0 rgba(0,0,0,0.3);

  -moz-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
  -webkit-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
  -o-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
  -ms-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
  transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg)
}

.catalog-letters__content-list {
  font-size: 17px;
  line-height: 20px;
}

.catalog-letters__content-item {
margin: 7px 0;
}

.catalog-letters__content-item::marker {
 font-size: 20px;
 color: #95110f;
 text-shadow: -1px 1px 0 rgba(149,17,13,0.3);
}

.catalog-letters__button {
  border: none;
  background-color: #95110f;
  color: #fff;
  font-family: 'Calligraph', 'Comic Sans MS', Cursive;
  font-size: 30px;
    letter-spacing: 3px;
    border-radius: 10px;
    padding: 10px 30px;
    margin: 50px 0;

    -moz-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
-webkit-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
-o-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
-ms-transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg);
transform: scale(0.98) rotate(0deg) translate(0px, 0px) skew(-1deg, 0deg)
}

.letters-content__price {
  color: #fff;
  font-family: 'Calligraph', 'Comic Sans MS', Cursive;
  font-size: 42px;
  letter-spacing: 3px;
  text-align: right;
  position: absolute;
  right: 34px;
}

.letters-content__price::before {
  content: "";
  background-image: url(../img/price-red.png);
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 125px;
  height: 125px;
  bottom: -53px;
  right: -16px;
  z-index: -1;
}

@media (max-width: 1200px) {
  .catalog-letters__item {
    max-width: 100%;
  }

  .catalog-letters__content-list {
    font-size: 15px;
    line-height: 17px;
}

.catalog-letters__content-item::marker {
  font-size: 18px;
}
}

@media (max-width: 850px) {
  .catalog-letters__imege {
    width: 40%;
}

.catalog-letters__content {
  width: 60%;
}

.catalog-letters__button {
  font-size: 25px;
  margin: 40px 0;
}

.letters-content__price  {
  font-size: 35px;
  right: 0;
  bottom: -18px;
  margin: 0;
}

.letters-content__price::before {
  width: 100px;
  height: 100px;
  right: -10px;
  bottom: -42px;
}
}

@media (max-width: 768px) {
  .catalog-letters__title {
    font-size: 55px;
    margin: 0;
  }

  .catalog-letters__content-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .catalog-letters__imege {
    width: 60%;
  }

  .catalog-letters__content {
    width: 100%;
    margin-top: 40px;
}

.catalog-letters__content-list {
  font-size: 17px;
  line-height: 20px;
}
}

@media (max-width: 555px) {
  .catalog-letters__content-list {
    font-size: 15px;
    line-height: 17px;
}

.catalog-letters__item-title {
  font-size: 22px;
}

.catalog-letters__button {
  margin-top: 60px;
}

.catalog-letters__content-wrapper {
  margin: 0;
}
}


/*----------------------------------*/
/*-------------Доставка-------------*/
/*----------------------------------*/

.delivery-block__wrapper {
  position: relative;
  z-index: 1;

}

.delivery-block {
  background-color: #3c4049;
  background-image: url("../img/dark-bg.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;

  text-align: center;
  overflow: hidden;
}

.delivery-block__title {
  color: #fff;
  font-weight: 500;
  font-size: 60px;
  margin: 0;
  padding: 80px 0;
  line-height: 60px;
}

.delivery-block__list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
}

.green {
  background-color: #D1F3E2;
}

.orange {
  background-color:#F9E7C3;
}

.pink {
  background-color:#FFD9DA;
}

.delivery-block__item {
  margin: 0 20px;
  margin-bottom: 60px;
  border-radius: 10px;
  position: relative;
  max-width: 366px;
}

.delivery-block__item:first-child {
  margin-left: 0;
}

.delivery-block__item:last-child {
  margin-right: 0;
}

.delivery-block__subtitle {
  text-align: left;
  margin-left: 120px;
  margin-top: 25px;
  font-size: 19px;
}

.delivery-block__text-number {
  position: absolute;
  display: block;
  font-family: 'Calligraph', 'Comic Sans MS', Cursive;
  font-size: 50px;
  z-index: 1;
  top: -5px;
  left: 0;
    margin-left: 20px;
    padding-left: 25px;
    color:rgba(0 0 0 / 75%);
}

.delivery-block__text-number::before {
  content: "";
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  width: 80px;
  height: 80px;
  top:-27px;
  left: 0;
  z-index: -1;
  box-shadow: 10px 15px 10px rgba(0, 0, 0, 0.16);
}

.delivery-block__text {
  text-align: left;
  margin: 0 25px 25px;
  color:rgba(0 0 0 / 78%);
}

.delivery-block__image {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 80px;
}

.delivery-block__img {
  margin: 0 20px;
}

.delivery-block__img:first-child {
  margin-left: 0;
}

.delivery-block__img:last-child {
  margin-right: 0;
}

.delivery-block__mail-picture {
  margin: 0 20px;
  margin-top: 50px;
}

.delivery-block__image-text {
  color: #ffffff;
  font-size: 30px;
  line-height: 39px;
}

/*--------------------------------*/
/*-- анимация блока с доставкой --*/
/*--------------------------------*/

.delivery-block__animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: left;
}

.delivery-block__animation [class^='layer-'] {
position: absolute;
pointer-events: none;
top: 16%;
will-change: transform;
z-index: -1;
}

.delivery-block__animation .layer-8 {
  left: -11%;
    top: 13%;
  animation: star1 ease-in-out 2.4s infinite alternate-reverse;
  -webkit-animation: star1 ease-in-out 2.4s infinite alternate-reverse;
}

.delivery-block__animation .layer-9 {
  top:20%;
  right: -8%;
  animation: star2 ease-in-out 2.4s infinite alternate-reverse;
  -webkit-animation: star2 ease-in-out 2.4s infinite alternate-reverse;
}

.delivery-block__animation .layer-10 {
  top: 33%;
  left: -8%;
  animation: star3 ease-in-out 2s infinite alternate-reverse;
  -webkit-animation: star3 ease-in-out 2s infinite alternate-reverse;
}

.delivery-block__animation .layer-11 {
  top: 40%;
  left: 84%;
animation: star1 ease-in-out 1.5s infinite alternate-reverse;
-webkit-animation: star4 ease-in-out 1.5s infinite alternate-reverse;
}

.delivery-block__animation .layer-12 {
  left: 0%;
  top: 41%;
  animation: star1 ease-in-out 2.4s infinite alternate-reverse;
  -webkit-animation: star1 ease-in-out 2.4s infinite alternate-reverse;
}

.delivery-block__animation .layer-13 {
  top: 54%;
  right: -5%;
  animation: star2 ease-in-out 2.4s infinite alternate-reverse;
  -webkit-animation: star2 ease-in-out 2.4s infinite alternate-reverse;
}

.delivery-block__animation .layer-15 {
  top: 63%;
  left: -4%;
animation: star1 ease-in-out 1.5s infinite alternate-reverse;
-webkit-animation: star4 ease-in-out 1.5s infinite alternate-reverse;
}

@media (max-width: 1024px) {
  .delivery-block__title {
    font-size: 40px;
    line-height: 40px;
  }

  .delivery-block__list {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .delivery-block__item:first-child {
    margin-left: 20px;
  }

  .delivery-block__item:last-child {
    margin-right: 20px;
  }

  .delivery-block__item {
    max-width: 60%;
}

.delivery-block__image{
  justify-content: center;
  align-items: center;
}

.tree-none {
  display: none;
}

.delivery-block__mail-picture {
  max-width: 60%;
}

.delivery-block__mail-picture {
 margin-top: 0px;
}

.delivery-block__image-text {
  font-size: 25px;
  line-height: 30px;
}
}


@media (max-width: 600px) {
  .delivery-block__title {
    font-size: 33px;
    line-height: 34px;
}

.delivery-block__item {
  max-width: 100%;
}

.delivery-block__mail-picture {
  max-width: 100%;
}

.delivery-block__text-number::before {
  width: 70px;
  height: 70px;
  top: -20px;

}

.delivery-block__text-number {
  top:-15px;
  padding-left: 21px;
}

.delivery-block__subtitle {
  margin-left: 103px;
}


}
