@media (max-width: 1090px) {
  .gallery-item_big {
    -ms-grid-column-span: 1;
    grid-column: span 1;
    -ms-grid-row-span: 1;
    grid-row: span 1;
  }

  .instruction__item_icon1::after {
    position: absolute;
    content: none;
  }
  .instruction__item_icon2::after {
    position: absolute;
    content: none;
  }
}
@media (max-width: 850px) {
  .about__item p {
    color: #2f2412;
    font-size: 18px;
    line-height: 25px;
  }
  .about__item b {
    color: #2f2412;
    font-size: 25px;
    font-weight: 700;
  }

  .h1 {
    font-size: 45px;
    line-height: 50px;
    padding: 0px 10px;
    text-shadow: 2px 2px 2px #030303;
  }

  .h2 {
    color: #2f2412;
    font-size: 25px;
    font-weight: 700;
    margin: 0 auto;
    padding-top: 10px;
  }

  .h3 {
    font-size: 25px;
  }
  .h3__white {
    font-size: 25px;
  }

  .header__contacts {
    display: block;
    width: 250px;
    margin: 0 auto;
    position: relative;
  }
  .header__tel a {
    position: absolute;
    bottom: -40px;
    left: 40px;
  }
  .header__mail a {
    position: absolute;
    bottom: -80px;
    left: 40px;
  }
  .contacts {
    padding: 50px;
  }
  .contacts__items {
    padding: 40px 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .contacts__form {
    max-width: 400px;
    margin: 0 auto;
  }
  .contacts__item {
    width: 100%;
    text-align: center;
  }
  .contacts__item:first-child {
    padding: 0px 15px;
  }
}
@media (max-width: 650px) {
  .h1 {
    font-size: 35px;
    line-height: 40px;
    padding: 0px 10px;
  }

  .h2 {
    color: #2f2412;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto;
    padding: 0px 10px;
  }

  .h3 {
    font-size: 20px;
    line-height: 25px;
  }
  .h3__white {
    font-size: 18px;
    line-height: 25px;
  }

  .header__button {
    margin-top: 40px;
  }

  .header::before {
    position: absolute;
    content: url(../img/1littlepng-transparent-gold-decor-illustration-gold-decorative-arts-decorative-text-color-flower-removebg-preview.png);
    top: 0;
    left: 0;
  }

  .header::after {
    position: absolute;
    content: url(../img/2little222png-transparent-gold-decor-illustration-gold-decorative-arts-decorative-text-color-flower-removebg-preview.png);
    bottom: 0;
    right: 0;
  }

  .jobs__item_big {
    -ms-grid-column-span: 1;
    grid-column: span 1;
  }

  .gallery-list {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, auto));
  }

  .instruction__items {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 10px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .about__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .about__pic {
    width: 250px;
  }

  .icons__about {
    font-size: 16px;
    line-height: 25px;
  }
  .icons__about b {
    font-size: 20px;
  }

  .icons::before {
    position: absolute;
    content: url(../img/1littlepng-transparent-gold-decor-illustration-gold-decorative-arts-decorative-text-color-flower-removebg-preview.png);
    top: 0;
    left: 0;
  }

  .icons::after {
    position: absolute;
    content: url(../img/2little222png-transparent-gold-decor-illustration-gold-decorative-arts-decorative-text-color-flower-removebg-preview.png);
    bottom: 0;
    right: 0;
  }

  .contacts {
    padding: 50px 0px 0px;
  }
  .contacts__addres, .contacts__tel a, .contacts__mail a {
    font-size: 16px;
    color: #f8db7b;
    line-height: 20px;
    padding: 0px 10px;
  }
  .contacts__items {
    padding-bottom: 0px;
  }
}
@media (max-width: 380px) {
  .jobs__items {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  }
  .jobs__name {
    font-size: 12px;
  }

  .h1 {
    font-size: 28px;
    line-height: 35px;
    padding: 0px;
    font-weight: 600;
  }

  .h2 {
    color: #2f2412;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    margin: 0 auto;
    padding: 0px 30px;
  }

  .header__items {
    padding: 0px 5px;
  }
  .header__button {
    margin-top: 30px;
  }
  .header__button a {
    padding: 15px 50px;
    font-size: 18px;
  }
  .header__tel a, .header__mail a {
    font-size: 16px;
    left: 50px;
  }

  .icons__about {
    font-size: 16px;
    line-height: 20px;
    text-align: left;
  }
  .icons__about b {
    font-size: 20px;
  }
  .icons__text {
    color: #2f261a;
    text-align: center;
    padding-top: 18px;
    font-size: 16px;
    line-height: 20px;
  }

  .contacts__title {
    text-align: center;
    font-size: 18px;
    padding-bottom: 15px;
    color: #2f261a;
    font-weight: 600;
  }
  .contacts__items {
    padding-top: 20px;
  }
  .contacts__button a {
    padding: 15px 50px;
    background: #2f261a;
    color: #f8db7b;
    font-size: 16px;
    border-radius: 5px;
  }

  .footer__copy {
    font-size: 12px;
    line-height: 14px;
  }
}