/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

html {
  font-size: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  /* Makes fonts crisper on Mac/iOS */
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

*:focus:not(:focus-visible) {
  outline: none;
}

.text > *:first-child {
  margin-top: 0;
}
.text > *:last-child {
  margin-bottom: 0;
}
.text ul {
  padding-left: 20px;
}

b, strong {
  font-weight: 700 !important;
}

.bg-photo {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bg-photo-img {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.bg-photo-img:after {
  content: "";
  display: block;
  width: 100%;
  padding-top: 64%;
}
.bg-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
}

.wrapper {
  width: calc(100% - 180px);
  max-width: 1194px;
  margin: 0 auto;
  position: relative;
}

.center-btn {
  text-align: center;
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/oswald-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/oswald-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/oswald-latin.woff2") format("woff2");
}
.viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000000;
  font-family: "Oswald", sans-serif;
}

.stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1366px;
  height: 768px;
  overflow: hidden;
  color: #ffc502;
  background: url("../images/home/background.png") center/cover no-repeat;
  transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
  transform-origin: center;
}

.logo {
  position: absolute;
  top: 18px;
  left: 175px;
  width: 200px;
  height: 199px;
  object-fit: cover;
}

.intro {
  position: absolute;
  top: 47px;
  left: 416px;
  font-size: 34.137px;
  font-weight: 400;
  line-height: 41px;
  white-space: nowrap;
}
.intro p {
  margin: 0;
}
.intro strong {
  font-weight: 500 !important;
}

.card {
  position: absolute;
  display: block;
  width: 250px;
  height: 413px;
  color: #ffc502;
  text-decoration: none;
}
.card--saunas {
  left: 153px;
  top: 280px;
}
.card--shop {
  left: 418px;
  top: 207px;
}
.card--build {
  left: 682px;
  top: 277px;
}
.card--franchise {
  left: 944px;
  top: 207px;
}
.card__images {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.card__images img {
  position: absolute;
  object-fit: cover;
}
.card--saunas .card__images img {
  left: 4px;
  width: 241px;
}
.card--saunas .card__images img:nth-child(1) {
  top: 5px;
  height: 147px;
}
.card--saunas .card__images img:nth-child(2) {
  top: 138px;
  height: 138px;
}
.card--saunas .card__images img:nth-child(3) {
  top: 270px;
  height: 137px;
}
.card--shop .card__images img {
  left: 6px;
  width: 239px;
}
.card--shop .card__images img:nth-child(1) {
  top: 5px;
  width: 238px;
  height: 133px;
}
.card--shop .card__images img:nth-child(2) {
  top: 140px;
  height: 136px;
}
.card--shop .card__images img:nth-child(3) {
  top: 254px;
  left: 5px;
  width: 240px;
  height: 154px;
}
.card--build .card__images img {
  left: 5px;
  width: 238px;
}
.card--build .card__images img:nth-child(1) {
  top: 3px;
  height: 135px;
}
.card--build .card__images img:nth-child(2) {
  top: 139px;
  left: 3px;
  width: 240px;
  height: 137px;
}
.card--build .card__images img:nth-child(3) {
  top: 276px;
  height: 133px;
}
.card__single {
  position: absolute;
  top: -27px;
  left: 5px;
  width: 238px;
  height: 435px;
  object-fit: cover;
}
.card__divider {
  position: absolute;
  z-index: 1;
  height: 7px;
  pointer-events: none;
}
.card--saunas .card__divider, .card--shop .card__divider {
  left: 1px;
  width: 247px;
}
.card--build .card__divider {
  left: 2px;
  width: 246px;
}
.card--saunas .card__divider--one {
  top: 135px;
}
.card--saunas .card__divider--two {
  top: 272px;
}
.card--shop .card__divider--one {
  top: 135px;
}
.card--shop .card__divider--two {
  top: 272px;
}
.card--build .card__divider--one {
  top: 135px;
}
.card--build .card__divider--two {
  top: 272px;
}
.card__frame {
  position: absolute;
  inset: 0;
  width: 250px;
  height: 413px;
  pointer-events: none;
}
.card__title {
  position: absolute;
  z-index: 2;
  font-size: 34.347px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
}
.card--saunas .card__title {
  top: -50px;
  left: 68px;
}
.card--shop .card__title {
  top: 409.81px;
  left: 74.1px;
}
.card--build .card__title {
  top: -51px;
  left: 84px;
}
.card--franchise .card__title {
  top: 409.81px;
  left: 49.1px;
}
.card::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  background: rgba(255, 197, 2, 0);
  transition: background-color 180ms ease;
}
.card:hover::after, .card:focus-visible::after {
  background: rgba(255, 197, 2, 0.08);
}
.card:focus-visible {
  outline: 3px solid #ffc502;
  outline-offset: 5px;
}

.contacts {
  position: absolute;
  top: 705px;
  left: 449px;
  width: 500px;
  height: 38px;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 38px;
}
.contacts a {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #ffc502;
  text-decoration: none;
  white-space: nowrap;
}
.contacts a:last-child {
  top: 4px;
  left: 238px;
  line-height: 30px;
}
.contacts img {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.contacts a:last-child img {
  width: 40px;
  height: 30px;
}

@media (max-width: 1024px) and (min-width: 769px) {
  body {
    overflow-y: auto;
  }

  .viewport {
    height: var(--tablet-stage-height, auto);
    min-height: 100vh;
  }

  .stage {
    top: var(--tablet-stage-top, 0);
    left: var(--tablet-stage-left, 0);
    transform: scale(var(--stage-scale, 1));
    transform-origin: top left;
  }
}
@media (max-width: 768px) {
  body {
    overflow-y: auto;
  }

  .viewport {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 30px 40px 40px;
    overflow: visible;
  }

  .stage {
    position: static;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    overflow: visible;
    transform: none;
    background: none;
  }

  .logo {
    position: static;
    width: 200px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px;
  }

  .intro {
    position: static;
    order: 2;
    font-size: clamp(21px, 4.45vw, 34.137px);
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
  .intro p {
    display: inline;
  }
  .intro p::after {
    content: " ";
  }

  .cards {
    order: 3;
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(72px, 14vw, 108px) clamp(16px, 4vw, 30px);
    margin-top: clamp(64px, 12vw, 92px);
  }

  .card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 250/413;
  }
  .card__images {
    inset: 0;
  }
  .card--saunas .card__images img {
    left: 1.6%;
    width: 96.4%;
  }
  .card--saunas .card__images img:nth-child(1) {
    top: 1.21%;
    height: 35.59%;
  }
  .card--saunas .card__images img:nth-child(2) {
    top: 33.41%;
    height: 33.41%;
  }
  .card--saunas .card__images img:nth-child(3) {
    top: 65.38%;
    height: 33.17%;
  }
  .card--shop .card__images img {
    left: 2.4%;
    width: 95.6%;
  }
  .card--shop .card__images img:nth-child(1) {
    top: 1.21%;
    width: 95.2%;
    height: 32.2%;
  }
  .card--shop .card__images img:nth-child(2) {
    top: 33.9%;
    height: 32.93%;
  }
  .card--shop .card__images img:nth-child(3) {
    top: 61.5%;
    left: 2%;
    width: 96%;
    height: 37.29%;
  }
  .card--build .card__images img {
    left: 2%;
    width: 95.2%;
  }
  .card--build .card__images img:nth-child(1) {
    top: 0.73%;
    height: 32.69%;
  }
  .card--build .card__images img:nth-child(2) {
    top: 33.66%;
    left: 1.2%;
    width: 96%;
    height: 33.17%;
  }
  .card--build .card__images img:nth-child(3) {
    top: 66.83%;
    height: 32.2%;
  }
  .card__single {
    top: -6.54%;
    left: 2%;
    width: 95.2%;
    height: 105.33%;
  }
  .card__frame {
    width: 100%;
    height: 100%;
  }
  .card__divider {
    height: 1.7%;
  }
  .card--saunas .card__divider, .card--shop .card__divider {
    left: 0.4%;
    width: 98.8%;
  }
  .card--build .card__divider {
    left: 0.8%;
    width: 98.4%;
  }
  .card--saunas .card__divider--one, .card--shop .card__divider--one, .card--build .card__divider--one {
    top: 32.69%;
  }
  .card--saunas .card__divider--two, .card--shop .card__divider--two, .card--build .card__divider--two {
    top: 65.86%;
  }
  .card__title {
    top: auto !important;
    bottom: 100%;
    left: 50% !important;
    margin-bottom: 3%;
    font-size: clamp(18px, 4.47vw, 34.347px);
    line-height: normal;
    transform: translateX(-50%);
  }

  .contacts {
    position: static;
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: clamp(42px, 8vw, 62px);
    padding-bottom: 16px;
    gap: 12px;
  }
  .contacts a,
.contacts a:last-child {
    position: static;
    line-height: 38px;
  }
}
@media (max-width: 480px) {
  .viewport {
    padding: 30px 24px 40px;
  }

  .intro {
    font-size: 21px;
  }

  .cards {
    column-gap: 14px;
  }

  .card__title {
    font-size: 18px;
  }

  .contacts {
    font-size: 16px;
  }
}

/*# sourceMappingURL=style.css.map */
