:root{
    --header-size: 60vh;
}

@media only screen and (max-width: 600px) {
    :root{
        --header-size: 50vh;
    }
}

.index-header{
    height: var(--header-size);
    min-height: 500px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

@media only screen and (max-width: 600px) {
    .index-header{
        min-height: 400px;
        font-size: 2.8vw;
    }
}

.header-video-wrapper{
    position: absolute;
    z-index: -10;
    min-height: inherit;
}

.header-video-wrapper > .video-filter{
    background: linear-gradient(52deg, rgba(198,90,0,0.1) 0%, rgba(198,90,0,0.36) 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: inherit;
    z-index: 1;
}

.header-video-wrapper video{
    filter: brightness(60%) grayscale(70%);
    display: block;
    width: 100vw;
    max-width: 100%;
    height: var(--header-size);
    min-height: inherit;    
    object-fit: cover;
    opacity: 0;
}
@media (prefers-reduced-motion) {
    .header-video-wrapper video{
        visibility: hidden;
    }
}

.header-video-anim{
    animation: videoFadeIn 1.2s forwards;
}

@keyframes videoFadeIn {
    0% {
        filter: blur(64px) brightness(60%) grayscale(70%);
        opacity: 0;
    }
    100% { opacity: 1; }
}

.header-arrows{
    position: absolute;
    z-index: -9;
    width: 100%;
    height: 100%;
    background-image: url(../assets/bgtileable_trans.png);
    background-size: 300px auto;
    background-attachment: fixed;
    animation-name: bgScroll;
    animation-direction: forwards;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@media (prefers-reduced-motion) {
    .header-arrows{
        animation: none;
        opacity: 100;
    }
}


@media screen and (max-width: 600px) {
    .header-arrows{
        background-size: 150px auto;
        animation-duration: 30s;
    }
}

.logo-wrapper{
    max-width: 60em;
    height: var(--header-size);
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: calc(.4vw + .6em);
    margin: 0 2em 0 2em;
}

.pre-logo{
    font-size: 3em;
    margin-bottom: .3em;
    opacity: 0;
    animation: logoSlideIn .5s forwards;
    animation-delay: .2s;
}

.index-header-logo{
    display: flex;
    align-items: center;
    flex-direction: row;
    font-size: 6em;
    font-family: 'LEMON MILK', sans-serif;
    white-space: nowrap;
    opacity: 0;
    animation: logoSlideIn .5s forwards;
    animation-delay: .4s;
}

.index-header-logo img{
    height: 1.3em;
    width: auto;
    margin-right: .24em;
    border-radius: 100%;
    box-shadow: 0 0 .3em .05em var(--lowink-orange-glow);
}

.post-logo{
    font-size: 1.8em;
    margin-top: .5em;
    opacity: 0;
    animation: logoSlideIn .5s forwards;
    animation-delay: .7s;
}

@media only screen and (max-width: 600px) {
    .post-logo{
        margin-top: 1em;
        font-size: 2.8em;
    }
}

@media (prefers-reduced-motion) {
    .pre-logo, .index-header-logo, .post-logo{
        animation: none;
        opacity: 100;
    }
}

@keyframes logoSlideIn {
    from{
        transform: translate(0, 1.5em);
        opacity: 0%;
    }
    to{
        transform: translate(0, 0);
        opacity: 100%;
    }
}

.index-nav {
    font-size: 1.4em;
    padding: .5em;
    background: var(--lowink-grey);
    border: .12em solid var(--lowink-orange);
    border-left: none;
    border-right: none;
}

.header-nav{
    margin: 0;
}

.header-nav div{
    animation: none;
}

.page-gradient{
    padding: 2em .2em;
}

@media only screen and (max-width: 600px) {
    .page-gradient{
        padding: 1em 0;
    }

    .header-nav{
        margin-top: 0;
    }
}