/* Decus Interiors Holding Page */

@font-face {
  font-family: "Suisse Intl";
  src: url('../fonts/SuisseIntl-Medium-WebS.woff2') format('woff2'),
       url('../fonts/SuisseIntl-Medium-WebS.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --marque-size: 34px;
  --margin: 24px;
  --transition-duration: 0.45s;
  --font-family: "Suisse Intl", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
  background: #000;
}

/* ========================================
   Carousel
   ======================================== */

.carousel {
  position: fixed;
  inset: 0;
  z-index: 1;
}

.carousel.js-ready {
  cursor: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-duration) ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.slide img.loaded {
  opacity: 1;
}

.slide--pair {
  display: flex;
}

.slide--pair img {
  width: 50%;
}

/* ========================================
   Brand Marque
   ======================================== */

.marque {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: var(--margin);
  font-family: var(--font-family);
  font-size: var(--marque-size);
  font-weight: 500;
  color: #fff;
  text-transform: lowercase;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Bottom Overlay
   ======================================== */

.bottom-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  padding: var(--margin);
  padding-bottom: 21px;
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  /* letter-spacing: 0.18px; */
  line-height: 22px;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.coming-soon {
  margin-bottom: 12px;
}

.contact-links {
  pointer-events: auto;
}

.contact-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 12px;
  transition: opacity 0.2s ease;
}

.contact-links a:hover {
  opacity: 0.7;
}

/* ========================================
   Custom Cursor
   ======================================== */

.carousel.carousel--cursor-left {
  cursor: url('../cursors/cursor-left.svg') 16 5, w-resize;
}

.carousel.carousel--cursor-right {
  cursor: url('../cursors/cursor-right.svg') 16 5, e-resize;
}

/* ========================================
   Responsive
   ======================================== */

/* Tablet */
@media (max-width: 1023px) {
  :root {
    --marque-size: 30px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --marque-size: 26px;
    --margin: 16px;
  }

  .carousel {
    cursor: default;
  }

  .contact-links a {
    margin: 0 10px;
  }
}

/* ========================================
   Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  .slide {
    transition-duration: 0.01s;
  }

  .slide img {
    transition-duration: 0.01s;
  }
}
