:root {
  /* sm */
  --product-title-left: 16%;
  --product-title-bottom: 47%;
  --product-title-size: 5.3vw;

  --product-title-line-2-bottom: 36%;
  --logo-width: 16vw;
  --logo-top: calc(50% - 8vw);
  --logo-left: calc(50% - 8vw);

  --cube1-left: 11.5%;
  --cube1-bottom: 56%;
  --cube1-width: 12%;

  --cube2-left: 70%;
  --cube2-bottom: 52%;
  --cube2-width: 16%;

  --cube3-left: 21.9%;
  --cube3-bottom: 1%;
  --cube3-width: 11.8%;

  --cube4-left: 70%;
  --cube4-bottom: 4%;
  --cube4-width: 12%;
}
@media (max-width: 820px) and (orientation: portrait) {
  :root {
    /* sm */
    --product-title-left: 8%;
    --product-title-bottom: 54%;
    --product-title-size: 6.3vw;

    --product-title-line-2-bottom: 50%;
    --logo-width: 50vw;
    --logo-top: calc(50% - 25vw);
    --logo-left: calc(50% - 25vw);

    --cube1-left: 6.5%;
    --cube1-bottom: 66%;
    --cube1-width: 19%;

    --cube2-left: 70%;
    --cube2-bottom: 65%;
    --cube2-width: 21%;

    --cube3-left: 6%;
    --cube3-bottom: 6%;
    --cube3-width: 21%;

    --cube4-left: 73%;
    --cube4-bottom: 6%;
    --cube4-width: 22%;
  }
}
html {
  /*background-color: var(--color-primary);*/
}

body {
  height: 100vh;
  font-family: Inter, sans-serif;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.header-wrap {
  position: fixed;
  z-index: 99;
  left: 0;
  width: 100%;
  background-color: var(--color-primary);
  border-bottom: 1px solid #ece5d4;

  top: 0;
}

.top-bar {
  background-color: #000;
  color: #fff;

  font-weight: 700;
  line-height: 16.94px;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 15px 0;
}
@media (max-width: 1450px) {
  .top-bar {
    padding: 3px 0;
    font-size: 11px;
    display: flex;
    min-height: 34px;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    flex-wrap: wrap;
  }
}

.header {
  background: #fff7e5;
  padding: 8px 0px;
}
.header-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  @media (max-width: 1450px) {
    max-width: 870px;
  }
}
.header-logo {
  width: 13%;
  padding: 0 1%;
  align-self: stretch;
  height: 90px;
}
@media (max-width: 1450px) {
  .header-logo {
    height: 64px;
  }
}
.header-logo-img {
  position: fixed;
  top: calc(50% - 8vw);
  left: calc(50% - 8vw);
  /* transform: translate(-50%, -50%); */
  width: 16vw;
}

.nav {
  display: flex;
  align-items: center;
  padding-left: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 1em;
  width: 100%;
}

.nav-item {
  text-decoration: none;
  color: inherit;
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;

  text-align: left;
  letter-spacing: 0.05em;
}
@media (max-width: 1450px) {
  .nav-item {
    font-size: 11.5px;
  }
}
.header-actions {
  height: 100%;
}

.main {
  position: relative;
  height: 100vh;
  width: 100vw;
  top: 0;
  /* min-height: 600px; */
}
.bg-start {
  background: #fff7e5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 9;
  position: absolute;
}
.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    object-position: center bottom;
  }
}

.content {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  height: 100vh;
  width: 100vw;
  flex-wrap: nowrap;
  overflow: hidden;
}

/* .content-container .bg-img {
  z-index: 1;
  background: var(--color-primary);
  overflow: hidden;
}

.content-container .content-window {
  z-index: 2;
}

.content-container .bg-img img {
  position: absolute;
  z-index: -1;
  opacity: 0;
  bottom: 0;
} */

/* .scroll-window {
  position: relative;
  height: 100%;
  width: 100%;
  z-index: 1;
} */

.cubes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cube {
  position: absolute;
  height: auto;
  opacity: 1;
}

.cube-1 {
  left: var(--cube1-left);
  bottom: var(--cube1-bottom);
  width: var(--cube1-width);
}

.cube-2 {
  left: var(--cube2-left);
  bottom: var(--cube2-bottom);
  width: var(--cube2-width);
}

.cube-3 {
  left: var(--cube3-left);
  bottom: var(--cube3-bottom);
  width: var(--cube3-width);
}

.cube-4 {
  left: var(--cube4-left);
  bottom: var(--cube4-bottom);
  width: var(--cube4-width);
}

.products {
  width: 100%;
  height: 100%;
}
.product {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.product-img {
  position: absolute;
  left: 50%;
  bottom: 3%;
  transform: translateX(-50%);
  /* object-fit: contain;
  object-position: bottom; */
  /* height: 100%; */
  width: 15%;
}

.product-img img {
  width: 100%;
  max-height: 100%;
}
.product-2 .product-img,
.product-3 .product-img {
  width: 14%;
}
.product-title {
  position: absolute;
  font-size: 6.7vw;
  font-weight: 700;
  color: #fff;
  left: 26%;
  bottom: 47%;
  display: flex;
}
.screen-2 .product-title {
  position: absolute;
  font-size: 5.3vw;
  font-weight: 700;
  color: #fff;
  left: 16%;
  bottom: 47%;
  display: flex;
}

.product-title .fragment {
  margin-left: 30%;
}
.screen-2 .product-title .fragment {
  margin-left: 0%;
}
.product-title.line-2 {
  bottom: 32%;
  left: 58%;
}
.screen-2 .product-title.line-2 {
  bottom: 36%;
  left: 16%;
}
.product-description {
  position: absolute;
  bottom: 35%;
  left: 58.5%;
  transform: translateX(50%);
  opacity: 0;
  font-size: 1vw;
  font-weight: 700;
  width: 26%;

  color: #fff;
  /* display: none; */
}
.screen-2 .product-description {
  position: absolute;
  bottom: 35%;
  left: 58.5%;
  opacity: 1;
  font-size: 1vw;
  font-weight: 700;
  display: block;
  width: 26%;
  /* max-width: 530px; */
  color: #fff;
}
@media only screen and (orientation: portrait) {
  .product-img {
    position: absolute;
    left: 50%;
    bottom: 3%;
    transform: translateX(-50%);

    width: 35%;
  }
  .product-2 .product-img,
  .product-3 .product-img {
    width: 34%;
  }
  .product-title {
    left: 26%;
    bottom: 62%;
  }
  .product-title .fragment {
    margin-left: 40%;
  }
  .product-title.line-2 {
    bottom: 55%;
    left: 60%;
  }
  .product-description {
    position: absolute;
    bottom: 15%;
    left: 71.5%;
    transform: translateX(50%);
    /* opacity: 0; */
    font-size: 2.9vw;
    font-weight: 700;
    width: 26%;
    color: #fff;
    /* display: none; */
  }
}
@media only screen and (max-width: 820px) and (orientation: landscape) {
  .product-img {
    max-height: 70%;
  }
}
@media only screen and (max-width: 820px) and (orientation: portrait) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0 30px;
  }
  .header-logo {
    /* width: 30%; */
    width: 20%;
    height: auto;
  }

  .header-logo-img {
    position: fixed;
    top: calc(50% - 25vw);
    left: calc(50% - 25vw);
    width: 50vw;
    max-width: 100%;
  }
  .header-actions {
    text-align: right;
  }
  .header-actions img {
    max-width: 60%;
    margin-left: auto;
  }
  .nav {
    order: 5;
    overflow: auto;
    padding: 0 15px;
    width: 98%;
    display: block;
    white-space: nowrap;
    display: none;
  }
  .product-img {
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    width: 43%;
  }
  .product-2 .product-img,
  .product-3 .product-img {
    width: 42%;
  }
  .product-title {
    left: 23%;
    bottom: 54%;
  }
  .product-title .fragment {
    margin-left: 53%;
  }
  .product-title.line-2 {
    bottom: 50%;
    left: 60%;
  }
}
@media only screen and (max-width: 820px) and (orientation: portrait) {
  .top-bar {
    font-size: 9px;
  }
}
