*,
*::after,
*::before {
    box-sizing: border-box;
}

:root {
    --bar-width: 80px;
    --bar-height: 12px;
    --hamburger-gap: 12px;
    --foreground: #f0f0f0;
    --background: #191919;
    --hamburger-margin: 45px;
    --animation-timing: 0.4s ease-in-out;
    --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
}



.hamburger:has(input:hover) {
    --foreground: #0099FF;
    --background: #0099FF;
}


.hamburger::before,
.hamburger::after,
.hamburger input {
    content: "";
    width: var(--bar-width);
    height: var(--bar-height);
    background-color: var(--foreground);
    border-radius: 2px;
    transition: opacity var(--animation-timing), width var(--animation-timing), transform var(--animation-timing), background-color var(--animation-timing);
    transform-origin: left center;
}

.hamburger {
    --x-width: calc(var(--hamburger-height) * (sqrt(2) - 1px));
        /*width of bars when in 'x' shape*/
    
    position: absolute;
    display: flex;
    flex-direction: column;
    grid-gap: var(--hamburger-gap);
    top: var(--hamburger-margin);
    left: var(--hamburger-margin);
    /*^^ adjust --hamburger-margin in root to position menu*/
    
    z-index: 3; /*ensures graphic stays above sidebar*/
    cursor: pointer;
    
    /* Try adding width:max-content; to make background on menu only, not full length of screen*/
    
}


 
.hamburger input {
    appearance: none;
    padding: 0;
    margin: 0;
    outline: none;
    pointer-events: none;
}

.hamburger:has(input:checked)::before{
    transform: rotate(45deg) translate(0, calc(var(--bar-height) / -2));
    width: var(--x-width);

}
.hamburger:has(input:checked)::after{
    transform: rotate(-45deg) translate(0, calc(var(--bar-height) / 2));
    width: var(--x-width);
}

.hamburger input:checked {
    opacity: 0;
}

.sidebar {
    
    /*position absolute in .hamburger should make these overlap so use
    margin-top: calc(var(hamburger-height) + var(hamburger-margin))
    
    but not currently doing that so :)*/
    transition: transform var(--animation-timing);
    transform: translate(0px, -77px);
    background-color: var(--foreground);
    color: var(--background);
    width: 100%;
    position: absolute;
    z-index: 1;
    height: 75px;
}

.hamburger:has(input:checked) + .sidebar {
    transform: translate(0);
}





html {
    scroll-behavior: smooth; /*allows smooth scrolling for anchor links*/
}



#load-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #191919;
    z-index: 5;
    display: flex;
    top: 0;
    left: 0;
}

.load-logo {
    width: 5%;
    margin: auto;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    
    100% {
        transform: rotate(100deg);
    }
}
#all-content {
    display: none;
}



.nav-link { /*just text*/
    margin: 0px;
    color: #515354;
    font-family: bahnschrift, sans-serif;
    padding: 25px;
    font-size: 140%;
    float: left; /*this and code below for distributing content evenly*/
    text-align: center;
    width: 20%;
}


.side-menu-link { /*actual link*/
    text-decoration: none;
    color: #515354;
    transition: color var(--animation-timing);
}
.side-menu-link-active { /*actual link*/
    text-decoration: none;
    color: #0099FF;
}
.side-menu-link:hover {
    color: #0099FF;
}
side-menu-link:visited {
    color: #515354;
}
side-menu-link:active {
    color: #313333;
}
@media screen and (max-width: 500px) {
    .nav-link {
        float: none;
        display: block;
        width: 100%;
        text-align: left;
    }
}





#content {
    transition: transform var(--animation-timing);
    
}

.main {
    padding: 0px;
    margin: 0px;
    width: 100%;
    min-height: 100vh; /*vh is Relative to 1% of the height of the viewport, vw is relative to 1% of width*/
}

.active {
    transform: translateY(120px);
}

header {
    position: relative;
    background-color: #191919;
    padding: 30px;
    margin: 0px;
    width: 100%;
    z-index: 2;
}
body {
    background-color: #515354;
    padding: 0px;
    margin: 0px;
    width: 100%;
}
.arrows {
    margin-top: 40px;
    transition: transform var(--animation-timing);


}
.arrows:hover {
    transform: scale(1.3);
}




.arrow-span {
    display: inline-block;
    width: 33%;
    text-align: center;
}



footer {
    background-color: #191919;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 45px;
    padding-right: 45px;
    width: 100%;
    z-index: 3;
    margin-bottom: 0px;
    position: absolute;
}
.social-media {
    width: 5%;
    float: right;
    margin-left: 15px;
    margin-top: 15px;
}
#toplink {
    font-family: bahnschrift, sans-serif;
    color: #f0f0f0;
    font-size: 80%;
    text-align: center;
    margin: 0px;
    padding: 0px;
}
a {
    text-decoration: none;
}
#contact { /*contact contaier*/
    margin: 0px;
    padding: 0px;
    float: right;
    text-align: right;
}
ul {
    list-style-type: none;
    display: inline-block;
    margin: 0px;
    padding: 0px;
}
.footer-text {
    color: #f0f0f0;
    font-family: bahnschrift, sans-serif;
    margin: 0px;
    padding: 0px;
}


h1 { /*footer heading text */
    font-family: bahnschrift, sans-serif;
    color: #f0f0f0;
    font-size: 130%;
}







#logo-container {
    text-align: center;
}

#topbg { /*image*/
    width: 100%;
    z-index: 1;
}
#topimg-overlay { /*text overlaying the image*/
    color: #f0f0f0;
    z-index: 3;
    text-align: center;
    font-family: bahnschrift, sans-serif;
    font-weight: 500;
    font-size: 4vw;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -180%);
    width: 100%;
}
#top-section-home { /*container for image and text*/
    position: relative;
    text-align: center;
    margin: 0px;
    padding: 0px;
    margin-bottom: 30px;
    width: 100%;
    background-color: #515354;
    z-index: 2;
}



#bottom-section-home {
    position: relative;
    margin-top: 0px;
    background-color: #313333;
    padding-top: 62px;
    padding-bottom: 60px;
    border-top: 1px solid #0099FF;
    border-bottom: 1px solid #0099FF;
    z-index: 2;
}



#extra-home {
    width: 100%;
    text-align: center;
    margin: auto;
}
#event-logo {
    width: 20vw;
    margin-bottom: 10vh;
    margin-right: 4vw;
}
#shop-logo {
    width: 20vw;
    margin-bottom: 10vh;
    margin-left: 4vw;
}
#extra-text {
    color: #f0f0f0;
    text-align: center;
    font-family: bahnschrift, sans-serif;
    font-weight: 500;
    font-size: 4.5vw;
    pointer-events: none;
    margin-top: 10vh;
}



.link-images { /*images themselves*/
    width: 80%;
    filter: brightness(1);
    border: none;
    transition: filter 0.5s ease-in-out;
}
.image-links:hover ~ .home-sub-image {
    opacity: 1;
    transition-delay: 0.6s;
}
.image-links:hover ~ .img-link-title {
    transform: translateY(-220px) translateX(75px);
    transform-origin: 50% 50%;
}
.link-images:hover {
    filter: brightness(0.5);
}
.img-link-title {
    pointer-events: none;
    position: absolute;
    width: 20%;
    font-family: bahnschrift, sans-serif;
    color: #f0f0f0;
    font-size: 1.3vw;
    transform: translate(75px, -70px);
    transition: transform 0.9s ease-in-out;
}
.home-sub-image { /*text on top of link images on home page*/
    font-family: bahnschrift, sans-serif;
    width: 20%;
    transform: translate(75px, -135px);
    pointer-events: none;
    position: absolute;
    font-size: 1.05vw;
    color: #f0f0f0;
    padding: 0px;
    margin: 0px;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.pic-span {
    display: inline-block;
    width: 33%;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}




#historybg {
    width: 100%;
    filter: brightness(0.7);
}
#history-page { /*text on history page*/
    color: #f0f0f0;
    z-index: 3;
    text-align: center;
    font-family: bahnschrift, sans-serif;
    font-weight: 500;
    font-size: 5vw;
}
h3 {
    color: #f0f0f0;
    z-index: 3;
    text-align: center;
    font-family: bahnschrift, sans-serif;
    font-weight: 500;
    font-size: 3vw;
}
#history-text {
    position: absolute;
    transform: translate(0%, -120%);
}
.main-history {
    padding: 0px;
    margin-bottom: -5px;
}
#history-home {
    color: #f0f0f0;
    z-index: 3;
    text-align: center;
    font-family: bahnschrift, sans-serif;
    font-size: 1.5vw;
    margin: auto;
    padding: 0px;
    width: 9vw;    
}





#doc-video { /*doc video itself*/
    width: 100%;
    height: 90vh;
}
.main-doc {
    z-index: 2;
    position: relative;
}
#video { /*container for vid*/
    width: 80%;
    text-align: center;
    border: none;
    background-color: #313333;
    border: 1px solid #f0f0f0;
    border-bottom: none;
    padding-top: 42px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
    margin-top: 5vh;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

}
.doc-description {
    width: 80%;
    padding: 1vw;
    margin: 0 auto;
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    background-color: #313333;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;

}
.general-txt {
    color: #f0f0f0;
    font-family: bahnschrift, sans-serif;
    text-align: center;
    justify-content: space-between;
    width: 95%;
    line-height: 160%;
    margin: 0 auto;
    font-size: 2vw;
}
#doc-bg { /*use the background animation graphic used in the documentary */
    position: fixed;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 0;
}




h4 {
    color: #f0f0f0;
    font-family: bahnschrift, sans-serif;
    font-size: 5vh;
    z-index: 3;
}
.blue-h4 {
    color: #0099FF;
    font-family: bahnschrift, sans-serif;
    font-size: 5vh;
    z-index: 3;
}
#content-grid1 {
    display: grid;
    text-align: center;
    padding-top: 20vh;
    padding-bottom: 20vh;
}
#content-grid2 {
    display: grid;
    text-align: center;
    padding-top: 20vh;
    padding-bottom: 20vh;
    border-top: 1px solid #f0f0f0;
}
.mission-left {
    padding: 10px;
    grid-row: 1;
}
.mission-right {
    padding: 20px;
    grid-row: 2;
}
.mission-txt {
    color: #f0f0f0;
    font-family: bahnschrift, sans-serif;
    text-align: center;
    font-size: 1.75vw;
    z-index: 3;
    width: 70%;
    margin: auto;
    line-height: 1.75em; /*em is size relative to font size*/
}

.mission-blue {
    color: #0099ff;
}
#bg-video {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 0;
    object-fit: cover; /*sizes video to fill container keeping aspect ratio*/
    filter: brightness(0.5);
    transition: filter var(--animation-timing);
}
#bg-video.appear {
    filter: brightness(0.3);
}
#mission-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--animation-timing), transform var(--animation-timing);
    
}
#mission-content.appear {
    opacity: 1;
    transform: translateY(0);
    height: 100%;
    
}
#mission-top { /*top grid*/
    display: grid;
    text-align: center;
    grid-template-columns: 1fr 1fr 1fr;
    position: absolute;
    width: 100%;
    margin: 0px;
    padding: 0px;
    transform: translateY(-35vh);
}
#mission-arrow-left {
    grid-column: 1;
}
#mission-arrow-mid {
    grid-column: 2;
}
#mission-arrow-right {
    grid-column: 3;
}
.mission-arrows {
    margin-top: 50px;
    transition: transform var(--animation-timing);


}
.mission-arrows:hover {
    transform: scale(1.3);
}

