@font-face {
  font-family: "TT Barrels";
  src: url("../fonts/TTBarrels-Regular.woff2") format("woff2"),
       url("../fonts/TTBarrels-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Commons";
  src: url("../fonts/TTCommons-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { min-width: 100%; min-height: 100%; }
html, body, ul, li { margin: 0; padding: 0; }
body { background: #fff; color: #000; font-family: "TT Barrels", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.home { padding: 0; overflow: hidden; }
body.loaded { overflow: auto; }
a { color: inherit; text-decoration: none; }
li { list-style: none; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  text-align: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.preloader img { display: none; width: 500px; max-width: 90%; }
.preloader.is-visible img { display: block; animation: preloader-in 500ms ease both; }
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes preloader-in { from { opacity: 0; } to { opacity: 1; } }

.container { position: relative; }
.block { position: relative; z-index: 2; margin: 0 auto; }
.home_container { padding: 0 12px 12px; }
.home_container .home_block { width: auto; }
.home_nav { position: fixed; top: 50%; left: 50%; z-index: 4; display: flex; max-width: 800px; flex-flow: row wrap; justify-content: center; transform: translate(-50%, -50%); }
.home_nav li { margin: 0 20px; }
.home_nav a { position: relative; display: block; font-size: 52px; line-height: 1.55; transition: transform 200ms ease; }
.home_nav a:hover { transform: scale(1.1); }
.home_nav span { position: absolute; bottom: 50px; left: 100%; color: #1a1a1a; font-family: "TT Commons", Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .852px; text-transform: uppercase; }
.home_nav__profile img,
.home_nav__shop img { position: absolute; bottom: 50px; left: 100%; width: 10px; height: auto; }
.home_items { position: relative; z-index: 1; display: flex; flex-flow: row wrap; justify-content: space-between; }
.home_item { position: relative; display: block; width: 50%; padding: 0 12px 24px; }
.home_item__box { position: relative; }
.home_item__content { position: relative; padding-bottom: 150%; transition: transform 200ms ease; }
.home_item1 .home_item__box,
.home_item2 .home_item__box { padding-right: 50%; }
.home_item3 .home_item__box,
.home_item4 .home_item__box { padding-left: calc(50% + 24px); }
.home_item:hover { z-index: 3; }
.home_item:hover .home_item__content { transform: scale(1.05); }
.back_img,
.back_img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.back_img img { object-fit: cover; object-position: 50% 50%; }

@media (max-width: 1100px) {
  .home_item { padding: 0 0 10px; }
  .home_item3 .home_item__box { padding: 0 10px 0 calc(50% + 10px); }
  .home_item4 .home_item__box { padding: 0 0 0 calc(50% + 10px); }
  .home_item:hover .home_item__content,
  .home_nav a:hover { transform: none; }
}

@media (max-width: 1000px) {
  .home_nav { width: 520px; flex-flow: row wrap; justify-content: center; text-align: center; white-space: normal; }
  .home_nav li { display: block; flex: 0 0 100%; margin-right: 0; margin-left: 0; }
  .home_nav li a { display: inline-block; }
}

@media (max-width: 750px) {
  .home_nav { width: 330px; }
  .home_nav li { margin: 12px 0; }
  .home_nav a { font-size: 40px; }
  .home_nav span,
  .home_nav__profile img,
  .home_nav__shop img { bottom: 40px; }
  .home_item { width: 100%; padding: 0; }
  .home_item1 .home_item__box { padding: 0 calc(50% + 5px) 10px 0; }
  .home_item2 .home_item__box { padding: 0 0 10px calc(50% + 5px); }
  .home_item3 .home_item__box { padding: 0 calc(50% + 5px) 10px 0; }
  .home_item4 .home_item__box { padding: 0 0 10px calc(50% + 5px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
