@media screen and (max-width: 900px) {
  /* экраны 900px и меньше */

.menu {
  margin-left: 0;
}

.container {
  width: 100%;
}

.header {
  margin-left: -10px;
  position: fixed;
  width: 100%;
  display: flex;
  height: 90px;
}

.menu-left__item a,
.menu-right__contacts_list,
.about_travel__subtitle p,
.travels__subtitle,
.location__text-item,
.footer-container {
  font-size: 0.8em;
}

.menu-right__contacts_list a {
  font-size: 0.8em;
}

.menu__icon a {
  width: 25px;
  height: 25px;
}

.top-menu__logo img {
  width: 140px;
}

.top-menu__left ul {
  min-width: 280px;
}

.about_travel__main-title {
  font-size: 1.2em;
}

.about_travel__title {
  font-size: 1em;
}

.about__tour__img{
  width: 100%;
  height: 250px;
  border-radius: 5%;
}

.about_travel__img,
.tour--img {
  width: 100%;
  height: 100%;
  border-radius: 5%;
}

.about__tour--subtitle {
  width: 340px;
}

.about_travel__main-title {
  font-size: 1.8em;
}

.main-title--background {
  width: 460px;
}

.travels__last-title {
  font-size: 1.2em;
  margin-bottom: 90px;
}

.last-title--background {
  min-height: 52px;
  margin-top: auto;
  width: 330px;
}

.travels__item {
  display: block;
  margin-top: -50px;
}

.travels__last-title span {
  font-size: 1.1em;
}

.travels__title1,
.travels__title2,
.travels__title3 {
  font-weight: 600;
  font-size: 0.8em;
}

.travels__title3 {
  margin-top: 60px;
}

.travels__text,
.travels__subtitle {
  width: 100%;
  min-width: 100%;
  padding-left: 0px;
}

.travels__img {
  display: none;
}

.travels__button {
  width: 120px;
}

.map {
  width: 100%;
  height: 300px;
}

.location {
  margin-top: 70px;
  margin-bottom: 80px;
}

.location__title {
  font-size: 1.1em;
  margin-bottom: 135px;
}

.location__title--background {
  min-height: 52px;
  margin-top: 0;
  width: 240px;
}

.location__head {
  margin-bottom: -10px;
}

.location__text-item {
  margin-top: -70px;
  margin-bottom: 90px;
}

.gallery__title {
  font-size: 2em;
  min-width: 0;
}

.modalDialog > div {
  margin: 80% 10%;
}

.footer {
  margin-top: 0;
}

.footer__title {
  font-size: 1.1em;
  margin-top: 60px;
  margin-bottom: 0;
}

.footer__title--background {
  min-height: 52px;
  margin-top: auto;
  width: 240px;
}

.footer-container {
  display: block;
}

.footer__item {
  width: 0;
  padding: 15px;
}

.item-location {
  float: right;
  margin-top: -260px;
  padding: 14px;
}

}
@media screen and (max-width: 560px) {
/* экраны 560px и меньше */

#top-menu-desctop {
  display: none;
}

#top-menu-mobile {
  display: block;
}

.top-menu__left ul {
  display: block;
  padding: 1px;
}

#menu__toggle {
  opacity: 0;
}

#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
}

.menu__btn {
  display: flex;
  align-items: center;
  position: fixed;
  top: 20px;
  left: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #83C2D5;
  transition-duration: .25s;
}

.menu__btn > span::before {
  content: '';
  top: -8px;
}

.menu__btn > span::after {
  content: '';
  top: 8px;
}

.menu__box {
  display: block;
  position: fixed;
  visibility: hidden;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  background-color: #ECEFF1;
  box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  transition-duration: .25s;
}

.menu__box li {
  margin-top: 60px;
  margin-bottom: -60px;
}

.menu__box a {
  font-size: 1.2em;
}

.menu__item {
  display: block;
  padding: 12px 24px;
  color: #333;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition-duration: .25s;
}
.menu__item:hover {
  background-color: #CFD8DC;
}

.menu-left a,
.menu-right__contacts_list,
.about_travel__subtitle p,
.travels__subtitle,
.location__text-item,
.footer-container {
  font-size: 0.8em;
}

.about_travel__main-title {
  font-size: 1.2em;
}

.about_travel__title {
  font-size: 1em;
}

.container {
   display: inline-grid;
}

.header {
  position: fixed;
  width: 100%;
  display: flex;
  height: 70px;
}

.top-menu__logo img {
  width: 60px;
  position: relative;
  margin-top: -40px;
}

.menu__icon {
  left: 60%;
  position: absolute;
}

.menu__icon a {
  width: 20px;
  height: 20px;
}

.top-menu__left li,
.menu-left a {
  font-size: 0.7em;
}

.menu__contacts_list {
  display: none;
}
 
.menu-left a,
.menu-right__contacts_list,
.about_travel__subtitle p,
.travels__subtitle,
.location__text-item,
.footer-container,
.about_travel__title span,
.button__nonaction-blur,
.program__day--title,
.program__record,
.description__text {
  font-size: 0.8em;
}

.main-title--background {
  width: 360px;
}

.about_travel {
  margin-top: 130px;
}

.about_travel__img {
  width: 100%;
  height: 100%;
  border-radius: 5%;
}

.about_travel--background {
  min-height: 52px;
  margin-top: auto;
  width: 260px;
}

.about_travel__text {
  padding-left: 0px;
  min-width: 100%;
}

.about_travel__subtitle {
  width: 100%;
  min-width: 100%;
  padding-left: 0px;
}

.about_travel__title {
  position: relative;
  font-size: 0.8em;
}

.about_travel__main-title {
  margin-bottom: 30px;
  margin-top: -25px;
  font-size: 1.2em;
}

.last-title--background {
  min-height: 52px;
  margin-top: auto;
  width: 240px;
}

.travels {
  margin-top: 40px;
}

.travels__item {
  display: block;
  margin-top: -50px;
}

.travels__last-title {
  font-size: 1.1em;
  margin-top: 0;
  margin-bottom: 100px;
}

.travels__last-title span {
  font-size: 1.1em;
}

.travels__title1,
.travels__title2,
.travels__title3 {
  font-weight: 600;
  font-size: 0.8em;
}

.travels__title3 {
  margin-top: 100px;
}

.travels__text,
.travels__subtitle {
  width: 100%;
  min-width: 100%;
  padding-left: 0px;
}

.travels__img {
  display: none;
}

.travels__button {
  width: 90px;
}

.about__price {
  width: 100%;
  min-width: 100%;
  padding-left: 0px;
  font-size: 0.8em;
  padding-right: 0;
}

.about__tour--text {
  padding: 5px;
}

.price {
  margin-top: 90px;
}

.program {
  margin-top: 0;
}

.description__text:hover {
  transform: none;
  transition: none;
}

.program__title,
.price__title,
.about_travel__main-title span {
  font-size: 1.2em;
}

.program__title--background {
  min-height: 52px;
  margin-top: auto;
  width: 260px;
}

.gallery__title--background {
  min-height: 52px;
  margin-top: auto;
  width: 260px;
}

.gallery {
  margin-top: 90px;
  width: 100%;
  min-width: 100%;
  padding-left: 0px;
  font-size: 0.8em;
  padding-right: 0;
}

.gallery__photo img {
  width: 100%;
  min-width: 100%;
  padding-left: 0px;
  padding-right: 0;
}

.gallery__title {
  font-size: 2em;
  left: 0;
  padding-left: 0;
  padding-right: 0;
  min-width: 0;
}

.description__text-bold {
  font-weight: 600;
  font-size: 1em;
}

.tour--img {
  width: 100%;
  border-radius: 5%;
  height: auto;
}

.more-tour {
  width: 100%;
  min-width: 100%;
  padding-left: 0px;
  font-size: 0.8em;
  padding-right: 0;
}

.other__tour {
  display: block;
  width: 100%;
  min-width: 100%;
}

.other__tour__title {
  font-size: 1.2em;
}

.other__tour--background {
  min-height: 52px;
  margin-top: auto;
  width: 260px;
}

.about__tour--subtitle {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.about__tour__img {
  width: 100%;
  height: 100%;
  border-radius: 5%;
}

.location {
  margin-top: 60px;
  margin-bottom: 0;
}

.location__left {
  margin-right: 0;
  display: block;
}

.location__title {
  font-size: 1.1em;
  margin-top: 0;
  margin-bottom: 120px;
}

.location__title--background {
  min-height: 52px;
  margin-top: auto;
  width: 240px;
}

.location__head {
  margin-bottom: -10px;
}

.location__map {
  margin-top: -70px;
}

.item-location {
  float: unset;
  margin-top: 0;
  padding: 14px;
}

.map {
  width: 100%;
  height: 250px;
}

.footer {
  margin-top: 0;
}

.footer__title {
  font-size: 1.1em;
}

.footer__title--background {
  min-height: 52px;
  margin-top: auto;
  width: 240px;
}

.footer-container {
  display: block;
}

.footer__item {
  width: 0;
}

.item-form p {
  margin-top: 80px;
}

.modalDialog > div {
  margin: 100% 5%;
}
}