html.person-gate-open,
html.person-gate-open body {
  overflow: hidden !important;
  height: 100%;
}

.person-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.person-gate::-webkit-scrollbar {
  display: none;
}

.person-gate::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: calc(100% + 1px);
  pointer-events: none;
}

.person-gate__window {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 987px;
  max-width: 100%;
  margin: auto;
  padding: 220px;
  border-radius: 20px;
  background: #ecf7f5;
  text-align: center;
}

.person-gate__title {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: normal;
  color: #3b565f;
}

.person-gate__line {
  display: block;
  white-space: nowrap;
}

.person-gate__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding: 12px 48px;
  border-radius: 6px;
  background: #528892;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s;
}

.person-gate__btn:hover,
.person-gate__btn:focus {
  background: #326d77;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 1100px), (max-height: 760px) {
  .person-gate__window {
    padding: 120px 60px;
  }

  .person-gate__title {
    font-size: 44px;
  }
}

@media (max-width: 767px) {
  .person-gate__line {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .person-gate__window {
    width: 320px;
    padding: 220px 0;
  }

  .person-gate__title {
    font-size: 30px;
  }
}

@media (max-width: 767px) and (max-height: 640px) {
  .person-gate__window {
    padding: 120px 0;
  }
}
