/* general */
body {
  font-family: boston, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.2em;
  margin: 0;
  padding: 0;
  background-color: black;
  color: white;
}

.down-arrow {
  display: inline-block;
  position: relative;
  border: 1px solid #fff;
  border-radius: 100%;
  margin-top: 2.25em;
  width: 4.5em;
  height: 4.5em;
}

.down-arrow i {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 15px; /* vert position */
  width: 2.25em;
}

.down-arrow i:before,
.down-arrow i:after {
  position: absolute;
  display: block;
  content: "";
  border: 1.125em solid transparent; /*height*/
}

.down-arrow i:before {
  top: 0;
  border-top-color: #fff; /*Color*/
}

.down-arrow i:after {
  top: -1px; /*thickness*/
  border-top-color: #0000; /*background colour*/
}

.cd-handle {
  background-color: black;
  box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.3);
}

.cd-handle.draggable {
  background-color: #505050;
}

.is-visible .cd-resize-img {
  border-right: 2px solid #505050;
}

.cd-image-container {
  width: 90%;
  max-width: 100%;
}
.cd-image-container > img { width: 100%; }

/* nav */
nav {
  z-index: 1000;
  color: white;
  background-color: #000;
  position: fixed;
  height: initial;
  left: 0;
  right: 0;
  top: 0;
  text-align: right;
  padding: 0.5em 3em;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  transition: all 500ms ease-in-out;
}

nav .logo {
  transition: all 500ms ease-in-out;
  opacity: 0;
  height: 2.5em;
}

nav .logo img {
  height: 100%;
  width: auto;
}

nav .nav-right, nav .contact {
  display: flex;
  position: relative;
}

nav .contact a {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-right: 3em;
}

nav .contact img {
  height: 1.5em;
  width: auto;
  padding-right: 0.5em;
}

nav .hamburger {
  width: 3em;
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

nav.nav-active ul {
  opacity: 1;
  z-index: 1;
}

nav ul {
  list-style: none;
  opacity: 0;
  z-index: -1;
  position: absolute;
  top: 3.5em;
  right: 1em;
  text-align: right;
  transition: opacity 500ms ease-in-out;
  background-color: #000;
  padding: 10px 30px;
}

nav.fixed {
  padding: 0.5em 3em;
}

nav.fixed ul {
  top: 3.5em;
}

nav.fixed .logo { opacity: 1; }

nav ul li {
  margin-bottom: 0.5em;
  font-size: 1.2em;
}

nav ul li a {
  transition: color 300ms ease-in-out;
}

nav ul li a:hover {
  color: #888;
}

nav.nav-active .hamburger .line {
  background-color: white;
}

nav .hamburger .line {
  display: block;
  background-color: white;
  margin-bottom: 8px;
  height: 2px;
  transition: all 300ms ease-in-out;
}

nav .hamburger .line:last-child {
  margin-bottom: 0;
}

nav.nav-active .hamburger .line {
  margin-bottom: 0;
}

nav.nav-active .hamburger .line.top {
  transform: rotate(45deg);
}

nav.nav-active .hamburger .line.middle {
  opacity: 0
}

nav.nav-active .hamburger .line.bottom {
  transform: rotate(-45deg) translateX(3px) translateY(-3px);
}

/* */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  /**/
}

h1 {
  font-size: 3em;
  line-height: 1.2em;
  font-weight: 700;
}

h2 {
  font-size: 3em;
  line-height: 1.2em;
}

h3 {
  font-weight: 900;
  font-size: 1.5em;
  line-height: 1.2em;
}

h4 {
  font-size: 1.3em;
  font-weight: 500;
}

section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section > h1 {
  text-align: center;
  margin-bottom: 1em;
}

section.white {
  background-color: white;
  color: black;
}

.section-logo {
  width: 300px;
  margin-bottom: 40px;
}

section .watermark {
  position: absolute;
  bottom: -150px;
  left: 0;
  z-index: 1;
}

.about {
  max-width: 500px;
  margin-left: auto;
  z-index: 2;
}

.about > * {
  margin-bottom: 20px;
}

.black-button {
  display: inline-block;
  background-color: black;
  border: none;
  cursor: pointer;
  color: white;
  padding: 15px 30px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.9em;
}

.black-button:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border-bottom: none;
}

.columns {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

.gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: -10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  align-items: center;
}

.gallery > * {
  padding: 10px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
}

.gallery img {
  transform: scale(1);
  opacity: 1;
  transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
}
.gallery img:hover {
  transform: scale(1.05);
  opacity: 0.7;
}

.slider {
  display: block;
  width: 100%;
  margin: auto auto 80px;
  overflow: hidden;
  position: relative;
}
.slider .slides {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.slider .slides > div {
  height: 320px;
  width: 500%;
  position: relative;
  left: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 600px;
  perspective-origin: 10% 50%;
}
.slides > div > span {
  transition: all 0.3s cubic-bezier(0.550, 0.085, 0.680, 0.530);
  height: 320px;
  width: 10%;
  float: left;
  opacity: 1;
  overflow: hidden;
  display: block;
  position: absolute;
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
}
.slider .slides > div > span > img {
  margin: auto;
  height: 100%;
}
.slider .arrows {
  position: absolute;
  top: 50%;
  cursor: pointer;
  z-index: 1;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid white;
}
.slider .arrows.arrow-right {
  right: 2%;
  transform: translateY(-50%);
}
.slider .arrows.arrow-left {
  left: 2%;
  transform: rotateZ(180deg)  translateY(50%);
}
.slider .slides .right-img {
  transform: scale(0.6) translateX(-63%);
  z-index: 0;
  opacity: 0.6;
  cursor: pointer;
}
.slider .slides .left-img {
  transform: scale(0.6) translateX(63%);
  z-index: 0;
  opacity: 0.6;
  cursor: pointer;
}

.pswp--open { display: none; }

.pswp .pswp__button--zoom, .pswp .pswp__button--share {
  display: none;
}

.hidden {
  display: none !important;
}

.mobile {
  display: none;
}

form fieldset {
  margin-bottom: 15px;
}

form label {
  display: block;
  color: white;
  margin-bottom: 5px;
  font-size: 0.8em;
}

form input[type="text"], input[type="email"], select, form textarea {
  background-color: #fafafa;
  border: 1px solid #d0d0d0;
  padding: 7px 10px;
  width: 400px;
}
form textarea {
  min-height: 6em;
}

/* sections */
#header {
  padding-top: 0;
}

#header .video-wrapper {
  position: relative;
  height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#header .logo {
  width: 15em;
  position: absolute;
  top: 4.5em;
  left: 4.5em;
}

#header .video-wrapper video {
  min-width: 100%;
  z-index: -1;
}

#header .hero-copy {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
}

#brand .column {
  width: 25%;
}

#brand .column img {
  width: 100%;
  height: auto;
  margin-bottom: 2em;
}

#brand .column-divider {
  background-color: #505050;
  display: block;
  height: 100px;
  align-self: flex-start;
  width: 1px;
  margin-top: 100px;
}

#brand .counters {
  margin-top: 3em;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

#brand .counters .stat {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 40px;
}

#brand .counters .stat:first-child {
  margin-left: 0;
}

#brand .counters .stat:last-child {
  margin-right: 0;
}

#brand .counters .stat .count {
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  border: 1px solid #fff;
  border-radius: 100%;
  width: 100px;
  height: 100px;
  line-height: 100px;
  margin-bottom: 20px;
  font-size: 1.5em;
}

#brand .counters .what {
  font-size: 1em;
  max-width: 150px;
  display: block;
}

#brand h1 { font-weight: 500; }
#brand h1 strong { font-weight: 800; }

#contact .logos {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
}

#contact .logos img {
  width: 25%;
  flex-shrink: 1;
  padding: 0 0 40px;
}
#contact .columns {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  padding: 20% 15%;
  position: relative;
}
#contact .columns .column {
  display: inline-block;
}
#contact .columns h4 {
  margin-bottom: 20px;
  max-width: 250px;
  margin-right: 40px;
  line-height: 1.3em;
}
#contact h4 strong { font-weight: 800; }
#contact video {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  object-fit: fill;
}

.ui-loader { display: none; }
.ui-selectmenu-button-text { display: none; }
.ui-page.ui-page-theme-a.ui-page-active:focus { outline: 0; }

/* media queries */
@media (max-width: 1150px) {
  .container { margin-left: 1em; margin-right: 1em; width: initial; }
}

@media (max-width: 1000px) {
  body { font-size: 16px; }
  nav .contact a {
    padding-right: 1.5em;
  }
  h1, h2 { font-size: 2.5em; margin-bottom: 0.5em; }
  .counters {
    flex-wrap: wrap;
  }
  .counters .stat {
    width: 29%;
  }
  .counters .stat .what {
    margin-left: auto;
    margin-right: auto;
  }
  section .watermark { width: 300px; }
  #contact .columns h4 { max-width: 100%; margin-right: 0; }
  #contact .columns { justify-content: center; padding: 15% 15%; }
}

@media (max-width: 800px) {
  section {  min-height: initial; }
  nav .contact { display: none; }
  .cd-image-container { width: 100%; }
  .slider { display: none; }
  .pswp--open { display: block; }
  #contact .columns { padding: 20% 15%; }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  nav .contact {
    display: none;
  }

  h1, h2 { font-size: 2em; }
  #header .logo { left: 2em; }
  #brand .columns { flex-direction: column; align-items: center; }
  #brand .column { width: 100%; margin-bottom: 4em; max-width: 300px; }
  #brand .column-divider { display: none; }

  #contact .logos {
    flex-direction: column;
    align-items: center;
  }
  #contact .logos img {
    width: 50%;
  }

  #contact .columns h4 { max-width: 100%; margin-right: 0; }
  form input[type="text"], input[type="email"], select, form textarea {
    width: 60vw;
  }
  #contact .columns { padding: 30% 15%; }
}
@media (max-width: 500px) {
  #contact .columns {
    padding: 40% 15%;
  }
}