body {
  overflow-y: scroll;
}
.vertical {
  position: fixed;
}
.about-gates-block {
  background-image: url("../images/main-rollets.jpg");
}
.outside-image {
  margin-left: 40px;
}
.inside-image {
  margin-top: 124px;
  margin-right: 40px;
}
.aluteh-image {
  padding-top: 40px;
  padding-left: 40px;
}
.nav-button {
  position: fixed;
}
.long-block {
  position: relative;
  padding-bottom: 360px;
  height: auto;
}
.long-title {
  padding-left: 42px;
}
.long-steps {
  position: absolute;
}
.long-text {
  padding-top: 40px;
}
.long-about-wrap {
  align-items: flex-start;
  padding-top: 152px;
  flex-direction: row;
  display: flex;
  align-items: center;
}
.long-list {
  width: auto;
}
.long-stroke {
  display: block;
  padding-left: 40px;
  padding-top: 40px;
}
.where-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.small-title {
  padding-left: 30px;
  font-weight: bold;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0.15em;
}
.where-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 248px;
  width: 33.333%;
}
.where-item-quad {
  width: 50%;
}
.where-text {
  height: 180px;
  padding-top: 32px;
}
.outside-rollet {
  padding-top: 236px;
  display: flex;
}
.control-block {
  display: flex;
  padding-top: 152px;
  margin-left: 40px;
}
.control-block-item {
  transition: 0.4s;
  padding-left: 40px;
}
.control-text {
  padding: 0;
  padding-top: 24px;
  width: auto;
}
.control-list {
  padding-left: 20px;
}
.control-title {
  padding: 0;
}
.steps {
  width: 20%;
}
.img-wrap {
  position: absolute;
  top: 50%;
}
.prev-bot {
  right: auto;
  left: 0;
}
.img-wrap-next {
  left: 50px;
}
.switch-button {
  opacity: 0;
  transition: 0.4s;
  border: none;
  width: 48px;
  height: 48px;
  min-width: 48px;
  filter: invert(1);
}
.switch-button--active {
  filter: invert(0);
  transform: rotate(180deg);
  width: 48px;
  height: 48px;
  min-width: 48px;
}
.half-hide {
  cursor: pointer;
  padding-left: 20px;
  opacity: 0.7;
}
.fixed-elems {
  position: absolute;
}
.hide-max {
  display: none;
}
.close-burger {
  background: transparent;
  width: calc(100% - 320px);
  z-index: 5;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 160px;
}
.black-rectangle {
  position: fixed;
  background: #181818;
  width: 160px;
  height: 100vh;
  right: 0;
  top: 0;
  z-index: 3;
  display: none;
  opacity: 0;
}
.hide-tablet {
  display: block;
}
.hide-tablet-flex {
  display: flex;
}
.position-fixed {
  position: fixed;
}
.position-absolute {
  position: absolute;
}
.hidden {
  display: none;
}
.button-link-tablet {
  display: none;
}
.where-item-image {
  margin-left: 20%;
}
.where-item-image-quad {
  margin-left: 30px;
}
.where-title {
  height: 96px;
}
.where-title {
  font-size: 36px;
}
.text-auto {
  height: auto;
}
.where-item-quad {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: nowrap;
}
.where-item-about {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 1440px) {
  .where-item-quad {
    flex-wrap: wrap;
  }
  .where-title {
    height: 130px;
  }
  .where-item-image-quad {
    width: 90%;
  }
  .where-text {
    height: 220px;
  }
  .basic-image-block {
    width: calc(100% / 2);
    object-fit: cover;
  }
  .simple-text--right {
    width: 50%;
  }
  .hide-1440 {
    display: none;
  }
  .show-1440 {
    display: block;
  }
  .hidden {
    display: none;
  }
  .full-screen {
    width: 100%;
  }
  .long-about-wrap {
    flex-direction: column;
  }
  .outside-rollet {
    flex-direction: column-reverse;
  }
  .outside-image {
    margin: 0;
    margin-top: 40px;
    width: 100%;
    padding: 0 40px;
  }
  .long-text,
  .long-title,
  .long-list {
    width: 100%;
    margin: 0;
  }
  .inside-image {
    margin-top: 40px;
    margin-left: 40px;
  }
  .where-block {
    padding: 0;
  }
  .where-item,
  .outside-rollet {
    padding-top: 120px;
  }
  .hoverlay {
    width: calc(100% - 160px);
  }
  .simple-text--right {
    width: 50%;
  }
  .hide-1440 {
    display: none;
  }
  .show-1440 {
    display: block;
  }
  .hidden {
    display: none;
  }
  .full-screen {
    width: 100%;
  }
  .section-title-gates {
    font-size: 32px;
  }
  .rollets-list {
    padding-left: 42px;
  }
  .text-auto {
    height: auto;
  }
}
@media screen and (max-width: 1366px) {
  .gates-text {
    font-size: 18px;
    line-height: 24px;
  }
}
@media screen and (max-width: 1280px) {
  .where-text {
    height: auto;
  }
  .hoverlay {
    width: 400px;
  }
  .basic-image-block {
    width: calc(100% / 2);
  }
  .simple-text--right {
    padding-top: 132px;
    display: block;
    width: 50%;
    font-size: 18px;
    line-height: 24px;
  }
  .simple-text--left {
    padding-top: 132px;
    display: block;
    width: 50%;
    font-size: 18px;
    line-height: 24px;
  }
  .full-screen {
    width: 100%;
  }
  .gates-list {
    padding-top: 0;
    padding-left: 40px;
  }
  .step {
    width: 12px;
    height: 12px;
  }
  .long-list {
    padding-left: 60px;
  }
  .where-item {
    width: 45%;
  }
  .long-block {
    padding-bottom: 216px;
  }
  .long-stroke {
    padding-right: 40px;
  }
  .gates-text {
    font-size: 18px;
    line-height: 24px;
  }
}

@media screen and (max-width: 1080px) {
  .where-item-image {
    margin-left: 0px;
  }
  .close-burger {
    width: calc(100% - 160px);
    position: fixed;
    left: 160px;
  }
  .position-absolute {
    position: fixed;
  }
  .hide-tablet {
    display: none;
  }
  .fixed-elems {
    position: fixed;
  }
  .button-link-tablet {
    display: inline;
  }
  .nav-bar {
    z-index: 2;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 64px;
    background: #181818;
    box-shadow: 0px 4px 16px #000000;
  }
  .nav-button {
    height: 64px;
    top: 97%;
    bottom: 0;
    position: fixed;
  }
  body {
    overflow: auto;
  }
  .nav-button-prev {
    left: 48px;
  }
  .img-wrap-next {
    left: 92px;
  }
  .img-wrap {
    top: auto;
  }
  .prev-top {
    width: 32px;
  }
  .steps {
    display: none;
  }
  .steps-nav-bar {
    display: flex;
    bottom: 32px;
  }
  .order-link {
    bottom: 86px;
  }
  .order-link img {
    display: none;
  }
  .nav-button img {
    display: block;
  }
  .image-logo-full {
    opacity: 1;
  }
  .section-title-gates {
    z-index: 1;
    left: 24px;
    top: 88px;
  }
  .gates-text {
    padding: 0;
    padding-top: 24px;
    width: 100%;
    padding-bottom: 148px;
  }
  .about-gates-block {
    background: #181818;
  }
  .aluteh-image {
    padding-left: 0;
  }
  .text-with-list {
    padding-bottom: 24px;
  }
  .crop-image {
    height: 690px;
    width: 100%;
    object-fit: cover;
  }
  .long-text {
    padding-bottom: 24px;
  }
  .long-title {
    padding-left: 0;
  }
  .long-list {
    padding-left: 24px;
  }
  .where-item {
    padding-top: 88px;
  }
  .where-text {
    padding-bottom: 0px;
  }
  .where-item .small-title {
    padding-left: 0;
  }
  .full-screen > .basic-image {
    object-fit: cover;
    object-position: 40%;
  }
}

@media screen and (max-width: 768px) {
  .long-about-wrap {
    padding-top: 192px;
  }
  .inside-image {
    margin-left: 0px;
  }
  .long-stroke {
    padding-left: 0;
  }
  .where-title {
    font-size: 26px;
  }
}

@media screen and (max-width: 428px) {
  .where-item {
    width: 100%;
  }
  .padding-bottom {
    padding-bottom: 150px;
  }
  .switch-button {
    position: absolute;
    right: 12px;
    top: 116px;
    z-index: 1;
  }
  .steps {
    width: 50%;
  }
  .section-title-gates {
    font-size: 28px;
  }
  .rollets-list {
    width: 100%;
  }
  .long-stroke {
    padding-right: 0;
    font-size: 28px;
  }
  .section-title-gates {
    left: 15px;
  }
  .control-text,
  .control-list {
    margin: 0;
    width: 100%;
  }
  .control-list > .gates-list-item {
    padding-top: 8px;
    font-size: 18px;
    line-height: 20px;
  }
  .control-block-item {
    padding-left: 0;
  }
  .control-block {
    margin: 0;
  }
  .control-main-title {
    top: 63px;
  }
  .control-text {
    padding: 16px 0;
  }
  .control-list > .gates-list-item:last-of-type {
    margin-bottom: 150px;
  }
  .section-title-gates {
    font-size: 28px;
  }
  .full-mob {
    margin-top: 80px;
    padding: 0;
  }
  .section-title-gates {
    font-size: 28px;
    position: relative;
    left: auto;
    top: auto;
    margin-top: 68px;
  }
  .small-title {
    font-size: 23px;
  }
  .control-block {
    padding-top: 24px;
  }
  .long-about-wrap {
    padding-top: 16px;
  }
  .gates-list {
    padding-bottom: 0px;
  }
  .where-item {
    padding-top: 96px;
  }
  .where-title {
    height: auto;
  }
  .where-text {
    padding-bottom: 16px;
    padding-top: 16px;
  }
  .long-stroke {
    font-size: 16px;
    line-height: 28px;
    font-weight: normal;
    padding-top: 28px;
  }
  .outside-image {
    margin-top: 20px;
    padding: 0;
  }
}

@media screen and (max-width: 375px) {
  .switch-button {
    top: 150px;
  }
}

@media screen and (max-width: 320px) {
  .switch-button {
    top: 156px;
  }
}
