:root {
    --background-image--grunge-top-1: url("../assets/img/grunge_top-1.png");
    --background-image--grunge-top-2: url("../assets/img/grunge_top-2.png");
    --background-image--grunge-top-left-1: url("../assets/img/grunge_top_left-1.png");
    --background-image--grunge-top-left-2: url("../assets/img/grunge_top_left-2.png");
    --background-image--grunge-strip: url(../assets/img/Grunge_strip.png);
    --base-font-size: 62.5%;
    --color-yellow: #b4a924;
    --color-brown: #6a5204;
    --color-dbrown: #392c00;
    --color-red: #bc1c0a;
    --max-width: 1280px;
    --image-max-width-desktop: 512px;
    --image-max-width: 90%;
    --theme-hue: 0;                 /* white */
    --text-color-softer: hsl(var(--theme-hue), 0%, 33%);
    --text-color-contrast-softer: hsl(var(--color-red), 0%, 33%);
    --image-clip-path: polygon(3% 0, 7% 1%, 11% 0%, 16% 2%, 20% 0, 23% 2%, 28% 2%, 32% 1%, 35% 1%, 39% 3%, 41% 1%, 45% 0%, 47% 2%, 50% 2%, 53% 0, 58% 2%, 60% 2%, 63% 1%, 65% 0%, 67% 2%, 69% 2%, 73% 1%, 76% 1%, 79% 0, 82% 1%, 85% 0, 87% 1%, 89% 0, 92% 1%, 96% 0, 98% 3%, 99% 3%, 99% 6%, 100% 11%, 98% 15%, 100% 21%, 99% 28%, 100% 32%, 99% 35%, 99% 40%, 100% 43%, 99% 48%, 100% 53%, 100% 57%, 99% 60%, 100% 64%, 100% 68%, 99% 72%, 100% 75%, 100% 79%, 99% 83%, 100% 86%, 100% 90%, 99% 94%, 99% 98%, 95% 99%, 92% 99%, 89% 100%, 86% 99%, 83% 100%, 77% 99%, 72% 100%, 66% 98%, 62% 100%, 59% 99%, 54% 99%, 49% 100%, 46% 98%, 43% 100%, 40% 98%, 38% 100%, 35% 99%, 31% 100%, 28% 99%, 25% 99%, 22% 100%, 19% 99%, 16% 100%, 13% 99%, 10% 99%, 7% 100%, 4% 99%, 2% 97%, 1% 97%, 0% 94%, 1% 89%, 0% 84%, 1% 81%, 0 76%, 0 71%, 1% 66%, 0% 64%, 0% 61%, 0% 59%, 1% 54%, 0% 49%, 1% 45%, 0% 40%, 1% 37%, 0% 34%, 1% 29%, 0% 23%, 2% 20%, 1% 17%, 1% 13%, 0 10%, 1% 6%, 1% 3%);
}

@font-face {
    font-family: "social";
    src: url("../assets/fonts/social.ttf") format("truetype"),
        url("../assets/fonts/social.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "The Hand of Tes";
    src: url("../assets/fonts/TheHandofTes.woff2") format("woff2"),
        url("../assets/fonts/TheHandofTes.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.icon {
    font-family: "social";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
}

body {
    font-size: 1.6rem; 
    line-height: 1.6;
    font-weight: 400;
    font-family: "Roboto", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #000;
    color: #fff;
}

::-moz-selection {
  background: var(--color-red);
}

::selection {
  background: var(--color-red);
}

h1:after, h2:after, h3:after {
    content: "";
    width: 40%;
    height: 6px;
    display: block;
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: auto;
    background: url("../assets/img/underline_white.png") center / cover no-repeat;
}

a {
    color: var(--color-yellow);
    transition: color 0.25s;
}

a:hover {
    color: #fff;
}

.bg--yellow a {
    color: #fff;
}

.u-align-right h1:after,
.u-align-right h2:after {
    margin-left: auto;
    left: auto;
}

.u-align-left h1:after,
.u-align-left h2:after {
    margin-right: auto;
    right: auto;
}

.logo {
    position: relative;
    margin: auto;
    max-width: 100%;
    max-height: 250px;
    width: 90%;
    display: flex;
}

.header-content {
    position: absolute;
    z-index: 10;
    width: 100%;
    top: 25%;
    margin: auto;
    -webkit-transform: translateY(-25%);
    -ms-transform: translateY(-25%);
    transform: translateY(-25%);
}
  
@media (min-width: 768px) {
    .logo {
        max-width: 512px;
        max-height: 250px;
        width: 100%
    }
}

.logo--blur, .logo--glow {
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
    top: 0;
}

.logo--blur {
    background: url("../assets/img/oln_logo_blur.png") center / contain no-repeat;
}

.logo--glow {
    background: url("../assets/img/oln_logo_glow.png") center / contain no-repeat;
}

.logo img {
    width: 100%;
    max-height: 100%;
    height: auto;
    position: relative;
}

header {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

@media (orientation: landscape) and (hover: none) and (pointer: coarse) {
    header {
        height: 165%;
    }

    .header-content {
        top: 15%;
    }

    .logo {
        width: 40%;
    }
}


section {
    position: relative;
    min-height: 750px;
}

section#showcase {
    min-height: 200px;
    height: auto;
}

section .text-container {
    position: relative;
    top: -35vw;
    z-index: 10;
}

@media (min-width: 600px) {
    section {
        min-height: 500px
    }
    section#features .features-container {
        top: -50%;
    }
    section#features .text-container {
        top: -60%;
    }
    section .text-container {
        order: initial;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: auto;
        top: -80%;
    }
}

footer {
    min-height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

footer:before {
    transform: scaleY(-1);
    top: -50px !important;
}

footer .bottom {
    margin-top: auto;
    margin-bottom: 10%;
    z-index: 9;
}

footer copyright {
    padding: 20px 0;
    box-sizing: border-box;
    display: inline-block;
}

.background--header {
    background: url("../assets/img/header_background.jpg") center / cover fixed no-repeat;
}

.background--footer {
     background: url("../assets/img/footer.webp") center / cover fixed no-repeat;
}

#video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 0;
    display: block;
    object-fit: cover;
    object-position: 40% center;
    width: 100%;
    height: 100%;
}

.postit {
    background: url("../assets/img/postit.png") center center / contain no-repeat;
    height: 500px;
    width: 550px;
    padding: 5px;
    text-align: left;
    color: #000;
    font-family: "The Hand of Tes", "Roboto", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.postit h3 {
    text-align: left;
    padding: 0 25% 0 60px;
    margin-bottom: 2rem;
}

.postit h3:after {
    background: url("../assets/img/underline.png") center / cover no-repeat;
    margin: auto auto 0 20%;
}

.postit ul {
    padding: 0 35% 0 60px;
    word-wrap: normal;
    white-space: normal;
    box-sizing: border-box;
    width: auto;
}

@media (min-width: 600px) {
    .postit ul {
        padding: 0 25% 0 60px;
    }
}


.postit ul li:before {
    content: "\2714\0020";
    margin-right: 10px;
    margin-left: -20px;
    font-size: 2.5rem;
    line-height: 1;
}

.postit ul {
    list-style: none;
}

.social-links a {
    text-decoration: none;
    font-size: 4rem;
}

.translucent-panel {
    background: rgba(0, 0, 0, .2);
    padding: 20px;
}

@media (max-width: 600px) {
    .grid-container.quarters.social-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) {
    #video-background {
        right: 15px; /* Scrollbar fix */
        object-fit: cover;
        object-position: center;
        width: 100%;
    }
}

.background--footer:after {
    background: rgba(0, 0, 0, 0.6);
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
}

.grid-container.logos {
    padding-right: 0;
    padding-left: 0;
}

.image-container.section-image {
    order: -1;
    top: -40vw;
    position: relative;
    z-index: 10;
}

.video-container {
    position: relative;
    margin: 6% auto 0;
    width: 100%;
}

.image-container img {
    max-width: var(--image-max-width);
    width: 100%;
}

.image-container.section-image img,
.gallery .image-container img {
    clip-path: var(--image-clip-path);
}

.shadow {
    filter: drop-shadow(0px 20px 20px rgba(0, 0, 0, 0.5));
}

.cta-buttons {
    position: relative;
    z-index: 2;
    padding-top: 5%;
}

.cta-buttons .button {
    margin: 0 5px;
}

.gallery {
    z-index: 10;
    top: -50px;
    position: relative;
}

.gallery h2:after {
    width: 30%;
}

.gallery .text-container {
    top: -50px;
}

.gallery .image-container {
    top: 0;
    position: relative;
}

@media (max-width: 480px) {
    .gallery-wrapper.rot10 {
        transform: rotate(0);
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    .grid-container.quarters.gallery-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery .image-container:before {
    content: "";
    display: block;
    position: absolute;
    width: 130%;
    height: 130%;
    top: -25%;
    left: -25%;
    right: -25%;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-image: var(--background-image--grunge-strip);
    mask-image: var(--background-image--grunge-strip);
    margin: auto;
    mask-position: center;
    background: #b4a924ba;
}

.gallery iframe {
    position: relative;
    width: 100%;
}

.image-wrapper {
    pointer-events: none;
    position: relative;
    display: inline-block;
}

.image-wrapper img {
    pointer-events: auto; 
}

.image-wrapper:hover {
    cursor: pointer;
}

.image-wrapper:hover:before {
    background: #000000;
    content: "";
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    opacity: 0.5;
    z-index: 2;
    clip-path: var(--image-clip-path);
}
.image-wrapper:hover:after {
    content: "+";
    display: block;
    position: absolute;
    color: #fff;
    font-size: 50px;
    height: 50px;
    width: 50px;
    line-height: 43px;
    text-align: center;
    left: calc(50% - 25px);
    top: 35%;
    right: 50%;
    bottom: 25%;
    border-radius: 50%;
    border: 3px solid #ffffff;
    z-index: 3;
}

@media (min-width: 640px) {
    .gallery iframe {
        max-width: 640px;
    }
}

@media (min-width: 600px) {
    .image-container.section-image {
        order: initial;
        bottom: 170px;
        position: relative;
        top: auto;
        z-index: 9;
    }
    .image-container img {
        max-width: var(--image-max-width-desktop);
    }
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
    position: relative;
    margin-top: 0;
    margin-bottom: 3rem;
    font-weight: 500; 
}
h1 { font-size: 4.0rem; line-height: 1.2;  letter-spacing: -.1rem;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

/* Larger than phablet */
@media (min-width: 600px) {
  h1 { font-size: 5.0rem; }
  h2 { font-size: 4.2rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 3.0rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}

/* Animations
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@keyframes fade {
  from {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes shake {
  from {
    transform: translateX(0);
  }
  1% {
    transform: translateX(-8px) translateY(-5px);
  }
  2% {
    transform: translateX(8px);
  }
  3% {
    transform: translateX(-8px) translateY(5px);
  }
  4% {
    transform: translateX(8px);
  }
  5% {
    transform: translateX(0);
  }
}

.animated {
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
}

.animated.fade {
    animation-name: fade;
}

.animated.shake {
    animation-name: shake;
}

.animated.d3 {
    animation-duration: 3s;
}

.animated.d5 {
    animation-duration: 5s;
}

.animated.d10 {
    animation-duration: 10s;
}

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.grid-container {
    position: relative;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    display: grid;
    grid-gap: 20px;
    gap: 20px;
    
    /* by default use min 200px wide columns auto-fit into width */
    grid-template-columns: minmax(200px, 1fr);
}

@media (min-width: 600px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        padding: 10px 30px;
    }
    
    .grid-container.fifths {
        grid-template-columns: repeat(5, 1fr);
    }
    .grid-container.quarters {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid-container.thirds {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-container.halves {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-container.full {
        grid-template-columns: 1fr;
    }
    
}

@media (min-width: 1280px) {
    .grid-container {
        max-width: var(--max-width);
    } 
}


/* Grunge texture
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.grunge::before {
    content: "";
    display: block;
    position: absolute;
    top: -400px;
    left: 0;
    width: 100%;
    height: 400px;
    z-index: 9;

    /* Default color */
    background-color: #000;

    /* Fallback for browsers without mask support */
    background-image: var(--background-image--grunge-top-1);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Textures */
.grunge.grunge--top-1::before {
    background-image: var(--background-image--grunge-top-1);
}

.grunge.grunge--top-2::before {
    background-image: var(--background-image--grunge-top-2);
}

.grunge.grunge--top-left-1::before {
    background-image: var(--background-image--grunge-top-left-1);
}

.grunge.grunge--top-left-2::before {
    background-image: var(--background-image--grunge-top-left-2);
}

/* Color variations */
.bg--black {
    background-color: #000;
}

.bg--yellow {
    background-color: var(--color-yellow);
}

.bg--brown {
    background-color: var(--color-brown);
}

.bg--grey {
    background-color: grey;
}


/* Modern browsers: use PNG transparency as a mask */
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
    .grunge::before {
        /*background-image: none;*/

        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;

        -webkit-mask-position: center;
        mask-position: center;

        -webkit-mask-size: contain;
        mask-size: 100% 100%;

        -webkit-mask-image: var(--background-image--grunge-top-1);
        mask-image: var(--background-image--grunge-top-1);
    }

    .grunge.bg--black::before {
        background: #000;
    }

    .grunge.bg--yellow::before {
        background: var(--color-yellow)
    }

    .grunge.bg--brown::before {
        background: var(--color-brown)
    }

    .grunge.bg--grey::before {
        background: grey;
    }

    .grunge.bg--banner-1:before {
        background: var(--color-dbrown);
    }

    .grunge.bg--banner-1 {
        background: var(--color-dbrown);
    }

    @media (min-width: 900px) {
        .grunge.bg--banner-1:before {
            background: url("../assets/img/banner_midsection.jpg") center 0px / cover no-repeat;
        }

        .grunge.bg--banner-1 {
            background: #3e2d27 url("../assets/img/banner_midsection.jpg") center -400px / cover no-repeat;
        }
    }

    .grunge.grunge--top-1::before {
        -webkit-mask-image: var(--background-image--grunge-top-1);
        mask-image: var(--background-image--grunge-top-1);
    }

    .grunge.grunge--top-2::before {
        -webkit-mask-image: var(--background-image--grunge-top-2);
        mask-image: var(--background-image--grunge-top-2);
    }

    .grunge.grunge--top-left-1::before {
        -webkit-mask-image: var(--background-image--grunge-top-left-1);
        mask-image: var(--background-image--grunge-top-left-1);
    }

    .grunge.grunge--top-left-2::before {
        -webkit-mask-image: var(--background-image--grunge-top-left-2);
        mask-image: var(--background-image--grunge-top-left-2);
    }

    .gallery .video-container:before {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        right: 0;
        margin: auto;

        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: 50px center;
        -webkit-mask-size: contain;
        mask-size: 100% 100%;
        -webkit-mask-image: var(--background-image--grunge-strip);
        mask-image: var(--background-image--grunge-strip);
        background: #755a24;
    }
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.button {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--color-yellow);
  padding: 10px 20px;
  font-size: 17px;
  cursor: pointer;
  font-weight: 500;
  background-color: var(--color-yellow);
  position: relative;
  transition: all 1s;
  overflow: hidden;
  display: inline-block;
}

.button.button--secondary {
    border: 2px solid #fff;
    background: transparent;
}

.button:hover {
  color: #000;
  background-color: transparent;
  border-color: #fff;
}

.button:before {
  content: "";
  position: absolute;
  height: 100%;
  width: 0%;
  top: 0;
  left: -40px;
  transform: skewX(45deg);
  background-color: #fff;
  z-index: -1;
  transition: all 1s;
}

.button:hover:before {
  width: 160%;
}

/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: disc outside; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul, ul ol, ol ol, ol ul {
    font-size: 100%;
    margin: 1rem 0 1rem 3rem;
    color: var(--text-color-softer);
}
li {
  margin-bottom: 0.5rem; }

/* Icons
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.icon-matrix:before {
    content: "\fba2";
}
.icon-steam:before {
    content: "\fbf6";
}
.icon-bluesky:before {
    content: "\f765";
}
.icon-instagram:before {
    content: "\f8a5";
}
.icon-youtube:before {
    content: "\f379";
}
.icon-mastodon:before {
    content: "\f927";
}
.icon-x:before {
    content: "\f917";
}
.icon-logo--twitter:before {
    content: "\f0d3";
}


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; 
}
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; 
}
.u-pull-right {
  float: right; 
}
.u-pull-left {
  float: left; 
}
.u-align-left {
    text-align: left; 
}
.u-align-right {
    text-align: right; 
}
.u-bolder {
    font-weight: 700;
}
.u-underline-6 {
    text-underline-offset: 6px;
}
.z-10 {
    z-index: 10 !important;
}
.z-2 {
    z-index: 2;
}
.z-1 {
    z-index: 1;
}
.rot10 {
    transform: rotate(10deg);
}
.rot10-neg {
    transform: rotate(-10deg);
}
.flip-y {
    transform: scaleY(-1);
}
.flip-x {
    transform: scaleX(-1);
}

.hidden {
    display: none;
}

.accent {
    color: var(--color-yellow);
}

.accent-contrast {
    color: var(--color-red);
}

a.accent-contrast:hover {
    color: var(--text-color-contrast-softer);
    text-decoration: none;
}

/* Accessibility
–––––––––––––––––––––––––––––––––––––––––––––––––– */
*:focus-visible {
    outline: 2px solid yellow;
    clip-path: none !important;
}