/* Epic font moment
  --------------------------------------------- */

@font-face {
    font-family: 'BBHBogle';
    src: url(/assets/font/BBHBogle-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'BethEllen';
    src: url(/assets/font/BethEllen-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'GaMaamli';
    src: url(/assets/font/GaMaamli-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'HanaleiFill';
    src: url(/assets/font/HanaleiFill-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'NationalPark';
    src: url(/assets/font/NationalPark-VariableFont_wght.woff2) format('woff2');
}

@font-face {
    font-family: 'PragatiNarrow';
    src: url(/assets/font/PragatiNarrow-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'EdoSZ';
    src: url(/assets/font/edosz.woff2) format('woff2');
}

/* Parallax base styles
  --------------------------------------------- */

.parallax {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-perspective: 1px;
    perspective: 1px;
}

.parallax_layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.parallax_layer_base {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.parallax_layer_back {
    -webkit-transform: translateZ(-1px);
    transform: translateZ(-1px) scale(2);
}


/* default styles & parallax
  --------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    color: #eed;

    &::selection {
        background-color: rgba(255, 226, 101, 0.2);
        /* text-shadow: #ddd 2px 4px 16px; */
    }
}

body {
    /* background-color: rgba(158, 109, 82, 1); */
    background-color: rgba(48, 66, 62, 1);
    font-size: 200%;
}

.parallax_layer_back {
    background: linear-gradient(180deg, rgba(48, 66, 62, 0.2), 80%, rgba(48, 66, 62, 1)), url("/assets/img/lush-grass.jpg");
    background-size: cover;
    background-position: center;
}

/* title grid
  --------------------------------------------- */

.title-container {
    display: grid;
    grid-template: "a b c" 10rem / 1fr min(15rem, 20vw) 1fr;
    padding-top: 1rem;
}

.title {
    font-family: 'HanaleiFill', serif;
    text-align: center;
    place-self: center;
    font-size: min(6rem, 15vw);
    line-height: 0.8;
    letter-spacing: 0.6rem;
    max-height: 15rem;
    max-width: 100%;
    filter: drop-shadow(2px 2px 2px #000);
    
    >a {
      text-decoration: none;
    }
}

.nav-container {
    display: grid;
    grid-template: "a" 2rem "b" 2rem;
    place-self: center;
    gap: 1rem;
    max-height: 30vh;
    
    &:first-child {
      justify-self: end;
      margin-right: min(1.5rem, 3vw);
    }
    &:last-child {
      justify-self: start;
      margin-left: min(1rem, 2vw);
    }
}

.nav-link {
    place-self: center;
    font-family: 'EdoSZ', serif;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.6rem;
    color: #eed;
    /* filter: drop-shadow(1em 2em 3em rgba(72, 40, 30, 1)); */
    background-image: url("/assets/img/wood-texture-2.png");
    background: rgba(158, 109, 82, 0.9), url("/assets/img/wood-texture-1.jpg");
    background-size: cover;
    background-position: center;
    padding: 0.1rem 0.5rem 0.1rem 0.5rem;
    min-width: 8rem; /* 3.40816327 : 1 */
    min-height: 2rem;
    
    &:hover {
      transform: rotate(-1deg);
    }
}

a {
    filter: drop-shadow(0.12rem 0.12rem 0.06rem #000);
    transition: 0.5s;
}

a:hover {
    filter: drop-shadow(0.16rem 0.16rem 0.08rem #000) drop-shadow(0.32rem 0.64rem 1.28rem  rgba(158, 109, 82, 1));
    transition: 0.1s;
}

/* main page grid
  --------------------------------------------- */

.page-grid {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
}

.main-content {
    grid-column: 2 / span 1;
    padding: 10vh 0;
    font-family: 'PragatiNarrow', sans-serif;
    font-size: 0.8em;
    line-height: 0.875;
    font-weight: 400;
    filter: drop-shadow(2px 2px 1px #000);
}

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

.teaser-text {
    >h1 {
        font-family: 'BBHBogle', sans-serif;
        font-size: 3em;
    }
    >p {
        font-family: 'GaMaamli', sans-serif;
        font-size: 2em;
        margin: 1em 0;
        line-height: 1;
        word-spacing: 1em;
    }
    >a {
      display: inline-block;
      min-width: 5em;
      min-height: 1.3em;
      padding-top: 0.3em;
      margin-bottom: 0.3em;
      &:before {
          content: "";
          display: block;
      }
    }
    
    >.livestream-link {
      font-size: 1.8em;
      min-width: 6em;
    }
    
    >.rsvp-link {
      letter-spacing: 0.1em;
      font-size: 1.8em;
    }
    
    >#donate-link-1 {
      transform: rotate(3deg);
      padding-left: 1.5em;
      padding-right: 1.5em;
      
      &:hover {
        transform: rotate(1deg);
      }
    }
    
    >#donate-link-2 {
      transform: rotate(-3deg);
      padding-left: 1em;
      padding-right: 1em;
      
      &:hover {
        transform: rotate(-1deg);
      }
    }
    
    margin-bottom: 2em;
}

.application-text {
    font-size: 1em;
    margin: 1em 0;
    line-height: 1.25;
}

.breathing-effect {
    margin: 0 0.8em;
    /* 9chars * 0.2em * 0.5 */
    animation: 10s ease-in-out 0s infinite running breathing-pulse;
}

@keyframes breathing-pulse {
    0% {
        margin: 0 0.9em;
        letter-spacing: 0.0em;
    }

    10% {
        margin: 0 0.9em;
        letter-spacing: 0.0em;
    }

    50% {
        margin: 0 0em;
        letter-spacing: 0.2em;
    }

    60% {
        margin: 0 0em;
        letter-spacing: 0.2em;
    }

    100% {
        margin: 0 0.9em;
        letter-spacing: 0.0em;
    }
}

.rhythm-effect {
    animation: 2.5s linear 0s infinite alternate rhythm-pulse;
}

@keyframes rhythm-pulse {
    0% {
        filter: none;
    }

    100% {
        filter: drop-shadow(4px 8px 8px #ddd);
    }
}

/* about page
--------------------------------------------- */
.about-content {
  >h1, >h2 {
    margin-top: 0.75em;
    margin-bottom: 0.25em;
  }
  
  >p {
    margin-bottom: 0.5em;
  }
  
  margin-bottom: 25%;
}

/* lineup
  --------------------------------------------- */

.lineup {
    display: grid;

    >h1 {
        font-family: 'GaMaamli', sans-serif;
        text-transform: lowercase;

        place-self: center;
        width: max(min(8em, 80%), 4em);
        padding: 0.3em 0;

        border-bottom-style: groove;
        border-bottom-width: 0.03em;
        border-bottom-color: #ccc;
    }

    >ol {
        margin: 1em 0;

        >li {
            display: grid;
            grid-template-columns: 1fr 1fr;
            margin-bottom: 2em;
            /* gap: 1rem;
        max-height: 30vh; */
        }
    }
}

.lineup-title {
    text-align: right;

    >h2 {
        color: rgba(255, 255, 255, 0.4);
        text-shadow: #ddd 0.08rem 0.16rem 0.64rem;
        filter: drop-shadow(0.04rem 0.04rem 0.02rem #000);
        font-family: 'GaMaamli', cursive;
        letter-spacing: 0.225rem;
        width: calc(100% + 0.225rem);
        font-size: 5em;
        line-height: 0.75;
        font-weight: 400;

        margin-top: 0.0625em;
        margin-bottom: 0.0625em;
    }

    >h3 {
        color: #fff;
        text-shadow: #ddd 0.04rem 0.08rem 0.32rem;
        filter: drop-shadow(0.04rem 0.04rem 0.02rem #000);
        font-family: 'GaMaamli', sans-serif;
        text-transform: lowercase;
        font-size: 0.875em;
        line-height: 1.5;
        font-weight: 400;
    }
}

.lineup-body {
    text-shadow: #ddd 0.04rem 0.08rem 0.32rem;
    filter: drop-shadow(0.04rem 0.04rem 0.02rem #000);
    font-family: 'PragatiNarrow', monospace;
    text-align: left;

    > ol.lineup-headliners {
        margin-top: 0.5em;
    }

    li {
        list-style-type: none;
        list-style-image: none;
        margin-inline-start: 0.2em;
        display: grid;
        grid-template-columns: 1.5em 1fr;
        font-size: 1em;

        &.lineup-artist::before {
            text-align: center;
            content: "𝄪";
            font-size: 1.125em;
        }

        &.lineup-headliner::before {
            text-align: center;
            content: "♪";
            /* ♫ */
            padding-top: 0.15625em;
            font-size: 0.75em;
        }
    }

    a {
        text-decoration: none;

        &:hover {
            filter: drop-shadow(0.16rem 0.16rem 0.08rem #000) drop-shadow(0.08rem 0.16rem 0.64rem #eee);
        }
    }
}

.lineup-b2b-label {
    font-size: 0.75em;
}

#lineup-V {
    img {
        max-width: 8em;
        mix-blend-mode: lighten;
    }

    a {
        margin-left: 1em;
    }
}

#lineup-O {
    svg {
        margin-left: 1.5em;
        fill-opacity: 60%;
        stroke-opacity: 60%;
        filter: drop-shadow(0.8rem 0.16rem 0.64rem  #eee);
    }
}

/* artist page
  --------------------------------------------- */

.artist-body {
    margin-top: 0.5em;
}