/* Ported from the original oddfellowsent.com theme stylesheet (Sage/WordPress).
   Rules are kept as close to the original as possible for visual fidelity. */

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

html {
  cursor: url(/assets/img/cursor.png), auto;
  background-color: #000;
  color: #fff;
  height: 100vh;
  overflow: hidden;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  font-feature-settings: "kern";
  box-sizing: border-box;
}

body, html {
  width: 100vw;
}

body {
  font-family: Albertus, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.26667;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  color: inherit;
}

@media (min-width: 960px) {
  body {
    font-size: 24px;
    line-height: 1.33333;
  }
}

a {
  color: inherit;
  text-decoration: none;
  mix-blend-mode: exclusion;
}

a, a:hover {
  cursor: inherit;
}

a:hover {
  text-decoration: underline;
}

* {
  outline: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:after, :before {
  box-sizing: inherit;
}

.fixed {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 10;
}

.fixed.top { top: 0; }
.fixed.bottom { bottom: 0; }

.text-center { text-align: center; }

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 18px;
}

@media (min-width: 960px) {
  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

/* Header */

header.top {
  mix-blend-mode: exclusion;
}

header.top .grid {
  align-items: baseline;
}

header.top .grid [class^=col] {
  white-space: nowrap;
  grid-column: span 3;
}

@media (max-width: 959px) {
  header.top .grid {
    grid-row-gap: 0;
  }
  header.top .grid .col-1 {
    grid-row: 1 / 4;
    grid-column: 1 / 3;
  }
}

header.top a {
  mix-blend-mode: exclusion;
}

/* Footer */

footer.bottom {
  mix-blend-mode: exclusion;
}

footer.bottom .grid {
  align-items: end;
}

footer.bottom .grid [class^=col] {
  grid-column: span 3;
}

@media (min-width: 960px) {
  footer.bottom .grid [class^=col] {
    grid-column: span 6;
  }
}

footer.bottom a:not(:last-child):after {
  content: ", ";
}

/* Main / hero */

main {
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.container {
  position: relative;
  padding: 8px 16px;
}

.container, section#index {
  width: 100%;
  height: 100%;
}

section#index #bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  line-height: 0;
}

section#index #bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

section#index #bg #landscape { display: block; }
section#index #bg #portrait { display: none; }

@media (orientation: portrait) {
  section#index #bg #landscape { display: none; }
  section#index #bg #portrait { display: block; }
}

section#index #logo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: wrap;
  mix-blend-mode: exclusion;
}

section#index #logo svg {
  width: 50%;
  height: 50%;
  object-fit: contain;
  max-width: 375px;
  max-height: 375px;
}
