@font-face {
    font-family: Suisse;
    src: url('../fonts/SuisseIntl-Regular-WebXL.woff2') format('woff2');
    src: url('../fonts/SuisseIntl-Regular-WebS.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
      url('../fonts/SuisseIntl-Regular-WebS.eot') format('embedded-opentype'),
      url('../fonts/SuisseIntl-Regular-WebXL.woff') format('woff'); /* Pretty Modern Browsers */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Suisse;
    src: url('../fonts/SuisseIntl-Regular-Italic.woff2') format('woff2');
    src: url('../fonts/SuisseIntl-Regular-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
      url('../fonts/SuisseIntl-Regular-Italic.eot') format('embedded-opentype'),
      url('../fonts/SuisseIntl-Regular-Italic.woff') format('woff'); /* Pretty Modern Browsers */
    font-weight: normal;
    font-style: italic;
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: Suisse, sans-serif;
  font-weight: normal;
  font-size: 20px;
}

body {
  background-color: #fff;
}

img {
  width: 100%;
  height: auto;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Typography */
/* ------------------------------------------------------------------ */

p, a, h1, h2, h3, em, strong {
  font-family: Suisse, sans-serif;
  font-weight: normal;
  font-size: 1rem;
  color: #000;
}

a {
  text-decoration: none;
  color: #000;
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  color: #000;
}

a:active {

}

h1, h2 {
  margin: 0;
}

::-moz-selection {
  background: rgba(0,0,0,0);
  color: #bbb;
}

::selection {
  background: rgba(0,0,0,0);
  color: #bbb;
}

/* Header */
/* ------------------------------------------------------------------ */

.header {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
          justify-content: space-between;
  -webkit-align-items: center;
          align-items: center;
  width: calc(100% - 2rem);
  height: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  margin: 1rem;
  z-index: 1010;
}

.under-construction, .header {
  mix-blend-mode: difference;
  color: #fff;
}

.header a {
  text-align: left;
  color: #fff;
}

/* Images Front Page */
/* ------------------------------------------------------------------ */

.main {
  background-color: transparent;
  padding: 3rem 1rem 1rem 1rem;
  width: 100%;
  height: 100%;
}

main[data-barba-namespace="home"]   { background: #fff; }
main[data-barba-namespace="design"] { background: #bbb; }
main[data-barba-namespace="info"]   { background: #000; }

.swinger-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.swinger-container img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);

  height: auto;
  width: 100%;
  opacity: 0;
}

.swinger-container img.vertical {
  height: 80vh;
  width: auto;
}

/* Mobile Images Front Page */
/* ------------------------------------------------------------------ */

.mobile-slides {
  display: none;
  max-height: calc(100vh - 6rem);
  width: 100%;
  max-width: calc(100vw - 2rem);
}

.mobile-vertical {
  width: 100%;
  height: auto;
}

.mobile-carousel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-align-items: center;
          align-items: center;
}

.fade {
  -webkit-animation-name: fade;
          animation-name: fade;
  -webkit-animation-duration: .5s;
          animation-duration: .5s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
}

@-webkit-keyframes fade {
  from {opacity: 0.4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: 0.4}
  to {opacity: 1}
}

/* Interrim Under Construction */
/* ------------------------------------------------------------------ */
.under-construction {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-align-items: center;
          align-items: center;
  width: calc(100% - 2rem);
  height: 1rem;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1000;
  margin: 1rem;
}

.under-construction a {
  color: inherit;
  text-decoration: none;
}

/* Info Page */
/* ------------------------------------------------------------------ */

.info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 1);
  color: #fff; /* text color for all children */
}

.info a {
  color: #fff;
  text-decoration-line: underline;
  text-decoration-color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.info a:hover {
  color: #bbb;
  text-decoration-color: #bbb;
  transition: color 0.3s, text-decoration-color 0.3s;
}

.info em {
  color: #fff;
}

.info p {
  color: #fff;
  margin: 0 0 1rem 0; /* default bottom margin */
}

.info p:first-of-type {
  margin-top: 2rem; /* larger top margin */
}

.info p.mb-0 { margin-bottom: 0; }
.info p.mb-1 { margin-bottom: 1rem; }
.info p.mb-2 { margin-bottom: 2rem; }

/* Queries */
/* ------------------------------------------------------------------ */

@media (min-width: 815px) {

  html, body {
    font-size: 22px;
  }

  .swinger-container img {
    height: auto;
    width: auto;
    min-height: 47%;
    max-width: calc(100vw - 2rem);
  }

  .swinger-container img.vertical {
    max-height: 80vh;
  }

}

@media (min-width: 1000px) and (orientation: landscape) {

  .swinger-container img {
    height: 65vh;
  }

}

@media (hover: none) {

}


@media (orientation: landscape) {
  .mobile-slides {
    height: calc(100vh - 6rem);
    width: auto;
  }
}

@media (min-aspect-ratio: 5/8) {

  .mobile-vertical {
    width: auto;
    height: calc(100% - 6rem);
  }
}

@media (orientation: landscape) and (max-aspect-ratio: 8/5) {

  .mobile-slides {
    height: auto;
    max-height: calc(100vh - 6rem);
    min-width: 70vw;
    max-width: calc(100vw - 2rem);
  }

  .mobile-vertical {
    width: auto;
    height: calc(100vh - 6rem);
    min-width: 0;
  }
}
