:root {
  --ImgWidthTrail: 136px;
  --ImgBorderTrail: 10px;
}

@media (min-width: 767px) {
  :root {
    --ImgWidthTrail: 170px;
    --ImgBorderTrail: 13px;
  }
}

@media (min-width: 1023px) {
  :root {
    --ImgWidthTrail: 190px;
    --ImgBorderTrail: 15px;
  }
}

@media (min-width: 1600px) {
  :root {
    --ImgWidthTrail: 260px;
    --ImgBorderTrail: 20px;
  }
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/RobotoCondensed-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Alumni";
  src: url("../fonts/AlumniSansPinstripe-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

aside,
nav,
footer,
header,
section {
  display: block;
}

html,
body {
  height: 100%;
  min-height: 100vh;
  width: 100vw;
  min-width: 100vw;
}

img,
video,
canvas,
svg {
  display: block;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
}

a:hover,
a:visited:hover {
  text-decoration: none;
}

img {
  vertical-align: top;
}

ol,
ul {
  padding: 0;
}

ol[role=list],
ul[role=list] {
  list-style: none;
}

body {
  font-family: "Roboto";
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  background-color: #000;
  color: #fff;
  overflow: hidden;
  cursor: url("../img/cursor.svg"), url("../img/cursor.png"), auto;
}

@media (min-width: 1023px) {
  body {
    font-size: 18px;
  }
}

h1 {
  font-family: "Alumni";
  font-size: 64px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (min-width: 767px) {
  h1 {
    font-size: 250px;
  }
}

@media (min-width: 1023px) {
  h1 {
    font-size: 120px;
  }
}

@media (min-width: 1600px) {
  h1 {
    font-size: 150px;
  }
}

h2 {
  font-family: "Alumni";
  font-size: 70px;
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

@media (min-width: 767px) {
  h2 {
    font-size: 100px;
  }
}

@media (min-width: 1023px) {
  h2 {
    font-size: 120px;
  }
}

@media (min-width: 1600px) {
  h2 {
    font-size: 160px;
  }
}

.text-btn {
  font-family: "Alumni";
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (min-width: 1600px) {
  .text-btn {
    font-size: 48px;
  }
}

.button-primary {
  font-family: "Alumni";
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  border: 0.5px solid #fff;
  background-color: #000;
  text-transform: uppercase;
  padding: 16px 0;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transition-property: color, background-color;
}

.button-primary:hover {
  background-color: #fff;
  color: #000;
}

@media (min-width: 480px) {
  .button-primary {
    padding: 16px 140px;
  }
}

@media (min-width: 1023px) {
  .button-primary {
    font-size: 32px;
  }
}

.button-secondary {
  font-family: "Alumni";
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  background-color: #fff;
  text-transform: uppercase;
  padding: 16px 0;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transition-property: color, background-color;
}

.button-secondary:hover {
  background-color: #000;
  color: #fff;
}

@media (min-width: 480px) {
  .button-secondary {
    padding: 16px 110px;
  }
}

@media (min-width: 1023px) {
  .button-secondary {
    font-size: 32px;
  }
}

.button-outline {
  font-family: "Alumni";
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  color: #a2a2a2;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.button-outline::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.6s ease-out;
  width: 0;
}

.button-outline div::before {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #a2a2a2;
}

.button-outline div::after {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  width: 0;
  z-index: 2;
  height: 1px;
  background-color: #fff;
  transition: width 0.6s ease-out;
}

.button-outline:hover::before {
  width: 100%;
}

.button-outline:hover div::after {
  width: 100%;
}

@media (min-width: 1600px) {
  .button-outline {
    font-size: 48px;
  }
}

input[type=text],
input[type=number],
input[type=email],
input[type=tel] {
  width: 100%;
  height: 41px;
  float: left;
  display: block;
  padding: 0 0 16px;
  margin: 0;
  border-bottom: 1px solid #a2a2a2;
  background-color: transparent;
  text-transform: none;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transition-property: color, border-bottom;
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: #a2a2a2;
}

input[type=text]::-webkit-inner-spin-button,
input[type=text]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button,
input[type=email]::-webkit-inner-spin-button,
input[type=email]::-webkit-outer-spin-button,
input[type=tel]::-webkit-inner-spin-button,
input[type=tel]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=text]::-moz-placeholder,
input[type=number]::-moz-placeholder,
input[type=email]::-moz-placeholder,
input[type=tel]::-moz-placeholder {
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: #a2a2a2;
}

input[type=text]::placeholder,
input[type=number]::placeholder,
input[type=email]::placeholder,
input[type=tel]::placeholder {
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: #a2a2a2;
}

input[type=text]:hover,
input[type=number]:hover,
input[type=email]:hover,
input[type=tel]:hover {
  border-bottom: 1px solid #fff;
}

input[type=text]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=tel]:focus {
  outline: 0;
  color: #fff;
  border-bottom: 1px solid #fff;
}

.uc-trail-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.follow-img__content {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
  pointer-events: none;
}

.follow-img__img {
  pointer-events: none;
  width: var(--ImgWidthTrail);
  border-radius: var(--ImgBorderTrail);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(0%);
}

.follow-img__img--full {
  width: 100%;
  height: 100%;
  background-size: cover;
}

.main-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.main-slide h1 {
  line-height: 1.02;
}

@media (min-width: 1600px) {
  .main-slide h1 {
    line-height: 0.92;
  }
}

.main-slide__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 100px;
}

.main-slide__text p {
  width: 100%;
  max-width: 374px;
  padding: 0 32px;
}

@media (min-width: 1023px) {
  .main-slide__text p {
    padding: 0;
    max-width: 486px;
  }
}

@media (min-width: 1023px) {
  .main-slide__text p {
    max-width: 585px;
  }
}

.main-slide .text-btn {
  margin-bottom: 16px;
}

@media (min-width: 767px) {
  .main-slide .text-btn {
    margin-bottom: 24px;
  }
}

.main-slide__btn {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 12;
}

@media (min-width: 767px) {
  .main-slide__btn {
    bottom: 80px;
  }
}

@media (min-width: 1023px) {
  .main-slide__btn {
    bottom: 48px;
  }
}

@media (min-width: 1600px) {
  .main-slide__btn {
    bottom: 77px;
  }
}

.genplan-slide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition-duration: 0.6s;
  transition-timing-function: ease;
  transition-property: opacity;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.genplan-slide picture {
  flex-grow: 1;
  width: 100%;
  overflow: hidden;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}

.genplan-slide img {
  width: 100%;
  height: 100%;
  object-position: left center;
  -o-object-fit: cover;
  object-fit: cover;
}

@media (max-width: 767px) {
  .genplan-slide picture {
    overflow-x: auto;
    width: 100vw;
    height: auto;
    display: block;
  }

  .genplan-slide img {
    width: auto;
    height: 100%;    
  }
}

.genplan-slide__info {
  width: 100%;
  padding: 20px 20px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 1);
  position: relative;
  flex-shrink: 0;
}

.genplan-slide__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.genplan-slide__btn-info {
  flex: 1;
  font-size: 24px;
}

@media (min-width: 767px) {
  .genplan-slide__info {
    padding: 48px 20px;    
  }

  .genplan-slide__btn-info {
    font-size: 32px;
  }

  .genplan-slide__btn {
    /* padding: 0;
    width: auto;
    left: 50%;
    transform: translateX(-50%); */
  }
  .genplan-slide__btn {
    flex-direction: row;
  }
}

.genplan-slide button {
  width: 100%;
}

@media (min-width: 767px) {
  .genplan-slide button {
    width: auto;
  }
}

.genplan-slide._open {
  z-index: 20;
  opacity: 1;
}

.genplan-slide__tags {
  display: flex;
  flex-wrap: nowrap; 
  gap: 16px;
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.genplan-slide__tags span {
  background-color: #282828;
  color: #FFFFFF;
  font-size: 18px;
  padding: 10px 19px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 767px) {
  .genplan-slide__tags {
      flex-wrap: wrap;
      overflow-x: hidden;
  }
  .genplan-slide__tags span {
    padding: 16px 24px;
  }
}

.request-slide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  transform: translateY(100%);
  transition-duration: 0.6s;
  transition-timing-function: ease;
  transition-property: transform;
}

.request-slide__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 572px;
}

@media (min-width: 1023px) {
  .request-slide__content {
    max-width: 728px;
  }
}

@media (min-width: 1600px) {
  .request-slide__content {
    max-width: 1024px;
  }
}

.request-slide__content p {
  padding-top: 32px;
  width: 100%;
  max-width: 390px;
}

@media (min-width: 1023px) {
  .request-slide__content p {
    max-width: 440px;
  }
}

@media (min-width: 1600px) {
  .request-slide__content p {
    padding-top: 48px;
  }
}

.request-slide__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.request-slide__form {
  width: 100%;
  max-width: 390px;
  margin-top: 40px;
}

@media (min-width: 767px) {
  .request-slide__form {
    margin-top: 56px;
  }
}

@media (min-width: 1023px) {
  .request-slide__form {
    max-width: 440px;
    margin-top: 48px;
  }
}

@media (min-width: 1600px) {
  .request-slide__form {
    max-width: 560px;
  }
}

.request-slide .button-primary {
  margin-top: 24px;
  width: 100%;
}

@media (min-width: 767px) {
  .request-slide .button-primary {
    margin-top: 32px;
  }
}

.request-slide._open {
  transform: translateY(0);
}

.back-button {
  position: absolute;
  top: 40px;
  left: 24px;
  font-family: "Alumni";
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #a2a2a2;
  transition: color 0.3s ease-out;
  cursor: pointer;
}

@media (min-width: 767px) {
  .back-button {
    left: 40px;
  }
}

@media (min-width: 1439px) {
  .back-button {
    top: 80px;
    left: 80px;
    font-size: 32px;
  }
}

@media (min-width: 1600px) {
  .back-button {
    top: 90px;
    left: 90px;
  }
}

.back-button:hover {
  color: #fff;
}