
@media only screen and (max-width: 890px) {
  .img2 {
    -ms-grid-row: 3;
        grid-row-start: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1 / span 2;
}

}



@media only screen and (max-width: 768px) {


.slider-photos .next {
  right: -8vw;

}
.slider-photos .prev {

  left: -8vw;

}





header .nav-right {
  display: block;
}

header .nav-right, header .nav-left {
  -webkit-box-flex: unset;
      -ms-flex: unset;
          flex: unset;
}

  .slide-content{
    bottom: 110px;
  }

.sound-switcher {
  bottom: 70px;
}
  .slide__pagination {
    bottom: 140px ;
  }

  .scroll-arrow {
    bottom: 30px;
  }

  .text_gallery {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 5vw;
  }

  .img2 {
    -ms-grid-row: unset;
        grid-row-start: unset;
    grid-column: unset;
}
.padding-m, .padding-s {
  padding: 10vw 10vw;
}

.contact {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-height: none;
}

.contact__map {
  height: 30vh;
  max-height: none;
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}
.posts_instagram {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  gap: 5vw;
}
}

@media only screen and (max-width: 512px) {


  header {
    padding: 16px 8px;
  }

  .header__nav {
    gap: 8px !important;
  }

  .slide-content{
    bottom: unset;
        top: 50px;
  }



.sound-switcher {
  bottom: 8px;
}
  .slide__pagination {
    bottom: 60px ;
  }

   .scroll-arrow {
    display: none;
  }

 :root {
   --font-xl: 24px;
 }
}


@media only screen and (max-width: 425px) {




  header {
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }

  .text_gallery__photos, .posts_instagram {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-height: none;
  }



  .text_gallery__photos, .posts_instagram__photos {
    -ms-grid-columns: (1fr);
    grid-template-columns: repeat(1, 1fr);
  }

  .text_gallery__photos img {
    max-height: 25dvh;
  }


  .sound-switcher {
    width: 32px;
  }

  .header__nav, .footer__nav {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 5vw;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }


}