body {
    background: radial-gradient(farthest-corner at 0 0, #120f37, #0a0b1a);
    color: white;

    font-family: canada-type-gibson, sans-serif;
    font-style: normal;
    font-weight: 100;

    font-size: 20px;

    padding: 0;
    margin: 0;

    width: 100%;
}

#outerWrap {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    position: relative;

    animation-name: parallaxAnimation;
    animation-duration: 1ms;
    animation-timeline: scroll(root block);
    animation-timing-function: linear;
}

@property --parallaxY {
  syntax: '<number>';
  initial-value: 0;
  inherits: true;
}

@keyframes parallaxAnimation {
  from {
    --parallaxY: -0.5;
  }

  to {
    --parallaxY: 0.5;
  }
}

#presents, #subtitle {
    font-size: min(6vh, 8vw);
    text-align: center;
    text-shadow: black 0 0 1vh;
    z-index: 2;
    position: relative;
}

#presents {
    font-size: min(6vh, 6vw);
    margin-top: 2vh;
}

#presents a {
    text-decoration: none;
    color: white;
}

#subtitle {
    margin-top: 8vh;
    margin-bottom: 5vh;
    position: relative;
}

#subtitle span {
    position: absolute;
    bottom: 1vh;
    transform: translateX(-5vh)rotate(20deg);
    font-size: 60%;
}


.hero > h1 {
    font-family: canada-type-gibson, sans-serif;
    font-weight: 700;
    font-style: normal;
    -webkit-text-stroke: 5px black;
    paint-order: stroke fill;
    font-size: 30vh;
    text-align: center;
    margin: 0;
    text-shadow: black 0 0 2vh;
    z-index: 2;
    position: relative;
}

#heroBg {
    position: absolute;
    pointer-events: none;
    
    object-fit: cover;
    object-position: center;

    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;

    transform-origin: top left;

    z-index: -1;
}

.hero {
    height: 105vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 20vh;
    z-index: 2;
}

.critter {
    position: absolute;
    z-index: 0;
    height: 90vh;
    opacity: 0.8;

    animation-name: gentle-rotate;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.critter.red {
    right: -35vh;
    top: -15vh;
    transform: rotate(-125deg);
}

.critter.blue {
    left: -35vh;
    top: 10vh;
    transform: rotate(65deg);

    animation-delay: -5s;
}

@property --rot {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes gentle-rotate {
    0% {
        --rot: 0deg;
    }

    50% {
        --rot: 10deg;
    }

    100% {
        --rot: 0deg;
    }
}

.postHero {
    position: absolute;
    z-index: 3;
    top: 100vh;
    left: 0;
    right: 0;
    height: 10vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #120f37, rgba(0, 0, 0, 0));
}

.bgCritter {
    position: absolute;
    width: max(20vw, 200px);
    top: 100vh;
    left: 0;
    z-index: 0;
    pointer-events: none;

    animation-name: gentle-rotate;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.bgCritter.big {
    opacity: 0.7;
    filter: blur(5px) brightness(0.7);
}

.bgCritter.small {
    filter: blur(10px) brightness(0.7);
    opacity: 0.5;
}





.centerText,
.event p {
    position: relative;
    z-index: 1;
    margin: 50px auto;
    max-width: 1000px;
    padding: 0 50px;
    text-align: center;
}

h2 {
    position: relative;
    z-index: 1;
}

.card {
    color: white;

    background: rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    display: block;
    margin: 70px auto;
    padding: 2em 4em;
    box-sizing: border-box;

    z-index: 3;
    position: relative;

    backdrop-filter: blur(10px);
    border-top: 2px rgba(150, 150, 255, 0.5) solid;
    box-shadow: 2px 2px 10px black;
}

.bigbtn {
    position: relative;
    z-index: 2;

    padding: 20px 60px;
    display: inline-block;
    color: white;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 15px black;
    -webkit-text-stroke: 2px black;
    paint-order: stroke fill;
    font-weight: bold;
    font-size: 25px;
    box-shadow: 0 0 1px 1px white;

    transition: box-shadow 0.5s ease-in-out;
}

.bigbtn:hover,
.bigbtn:focus {
    box-shadow: 0 0 20px 0px white;
}

.bigbtn:active {
    transition: box-shadow 0.1s ease-in-out;
    box-shadow: 0 0 20px 0px black;
}

.bigbtn::after {
    content: '➤';
    margin-left: 1em;
    display: inline-block;
    transform: translateX(0);
    transition: transform 0.25s ease-in-out;
}

.bigbtn:hover::after,
.bigbtn:focus::after {
    transform: translateX(1em);
}

.bigbtn::before {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    background: linear-gradient(
        to right,
        #e6400e 0%,
        #9366b3 25%,
        #0596cf 50%,
        rgba(0, 0, 255, 0) 100%
    );
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out;
}

.bigbtn:hover::before,
.bigbtn:focus::before {
    transform: translateX(0);
}

.signupWrap {
    font-size: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 100px auto 150px auto;
    padding: 1.5em 2em;

    max-width: 600px;
}

.signupWrap strong {
    margin-right: 50px;
    transform: translateY(4px);
}

.event {
    margin-bottom: 150px;
}

.event .eventSummary {
    max-width: 800px;
    font-size: 20px;
}

.event p {
    font-size: 16px;
}

.addlDetails {    
    margin-top: 250px;
}

.addlDetails p {
    font-size: 0.9em;
    line-height: 1.2em;
}

.event video {
    width: 100%;
    max-width: 500px;
    max-height: 375px;
    margin: 0 auto;
    display: block;
    z-index: 1;
    position: relative;
    box-shadow: 2px 2px 10px black;
}

.eventIntro {
    display: flex;
    flex-direction: row;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.eventIntro .eventSummary p {
    font-size: 20px;
}

.eventIntro.left p {
    padding-left: 10px;
}

.eventIntro.right {
    flex-direction: row-reverse;
}

.eventIntro.right p {
    padding-right: 10px;
}

.eventIntro video {
    margin: 0 10px;
    
    width: 100%;
    max-width: 500px;
    max-height: 375px;
    display: block;
    z-index: 1;
    position: relative;
    box-shadow: 5px 5px 15px black;
}

.credit {
    font-size: 12px;
    position: relative;
    margin: 10px 20px;
}

.credit a {
    color: white !important;
}

.event h2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    padding: 0.75em 1em;
}

.event h2 img {
    height: 2.5em;
    margin-right: 1em;
}

@media(max-aspect-ratio: 1/1) {
    .hero > h1 {
        font-size: 20vw;
    }

    .hero > h1 > div:first-child {
        line-height: 15vw !important;
    }

    .hero > h1 > div:nth-child(2) {
        line-height: 8vw !important;
    }
    
    #subtitle {
        margin-bottom: 2vh;
        margin-top: 20vh;
    }
}

@media(max-aspect-ratio: 16/12) {
    .critter {
        height: 30vw;
    }
    
    .critter.red {
        right: -5vw;
        top: calc(30% - 30vw);
        transform: rotate(-125deg);
    }
    
    .critter.blue {
        left: -5vw;
        top: 70%;
        transform: rotate(65deg);
    }
}

@media(max-width: 1100px) {
    .card, .eventIntro {
        width: 90%;
    }

    .eventIntro video {
        width: 400px;
        height: 300px;
    }

    .event h2 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media(max-width: 900px) {
    .eventIntro video {
        width: 300px;
        height: 225px;
    }
}

@media(max-width: 800px) {
    .signupWrap {
        flex-direction: column;
    }

    .signupWrap strong {
        margin: 0 0 20px 0;
    }

    .event h2 img {
        height: 2.5em;
        margin-right: 0.5em;
    }

    .event h2 {
        font-size: 30px;
    }

    .event .eventSummary {
        margin-bottom: 20px;
    }

    .event p {
        margin: 0;
    }

    .eventIntro p {
        padding: 0 10px;
    }
}

@media(max-width: 650px) {
    .event .eventIntro {
        flex-direction: column;
    }

    .event video {
        margin-top: 20px;
    }

    .addlDetails {
        padding-left: 10vw;
        padding-right: 10vw;
    }
}

@media(max-aspect-ratio: 1/2) {
    #presents {
        font-size: 10vw;
    }

    #subtitle {
        margin-top: calc(50vh - 50vw);
        font-size: 10vw;
    }
}

code, pre {
    font-family: 'Consolas', monospace;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.1em 0.35em;
    border-radius: 0.5em;
    text-shadow: 0 0 5px black;
}

pre {
    padding: 1em 2em;
}

strong {
    font-weight: bold;
}

.resultsHeader {
    font-size: min(15vw, 150px);
    text-align: center;
    margin: 1em 0;
}

.bracket {
    width: 1000px;
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 10;
    max-width: 100%;
}
