.fancyheader-content .center {
    display: flex;
    height: 100%;
    align-items: center;
}


/* <editor-fold desc="Header Animation"> */

.header {
    position: absolute !important;
    top: 0px;
    z-index: 99;

    display: flex;
    align-items: center;
}

@keyframes header-height {
    0% {
        top: -50px;
        height: 100vh;
        background: var(--brand-accent);
    }
    100% {
        top: 0px;
        background: transparent;
    }
}

@keyframes header-image-slide {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
}

@keyframes header-image-scale {
    0% {
        height: 200px;
    }
    100% {
        height: 100px;
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

* {
    animation-fill-mode: both !important;
}

.use-intro.header {
    overflow: hidden;
    position: relative;
    z-index: 92;
    animation: header-height 0.9s cubic-bezier(.49, -0.01, 0, .98);
    animation-delay: 1.3s;
}

.animation-container-fade-when-completed {
    animation: fade-out 0.9s cubic-bezier(.49, -0.01, 0, .98);
    animation-delay: 1.3s;
}

.use-intro.header .center {
    animation: header-image-slide 1.1s cubic-bezier(0, .59, .25, 1);
    animation-delay: 0.6s;
}

.use-intro.header .center > img {
    animation: header-image-scale 0.9s cubic-bezier(.49, -0.01, 0, .98);
    animation-delay: 1.3s;
}

.animation-container {
    position: absolute;
    height: 100vh;
    width: 100vw;
    top: calc(50% - 1px);
    left: calc(50% - 1px);
    transform: translateX(-50%) translateY(-50%);
}

.letterbox {
    position: absolute;
    height: 100.1vh;
    top: 0;
    left: 0;
    width: 100vw;
    border-top: 105px solid var(--col-base);
    border-bottom: 105px solid var(--col-base);
}


@keyframes open-slide {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.use-intro .animation-container .open-slide {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--col-base) 0%, var(--col-base) 50%, transparent 50%, transparent 100%);
    background-size: 300% 300%;
    background-repeat: no-repeat;

    animation: open-slide 1.4s cubic-bezier(.49, -0.01, 0, .98);
    animation-fill-mode: forwards;
}

@keyframes path-anim {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes logo-flicker-1-slide {
    0% {
        right: 20vw;
        transform: perspective(50em);
    }
    100% {
        right: -5vw;
        opacity: 0;
        transform: perspective(50em) rotateY(160deg);
    }
}

.logo-flicker-1-slide {
    position: absolute;
    top: 0;
    right: 0;
    animation: logo-flicker-1-slide 3s cubic-bezier(.49, -0.01, 0, .98);
}

.logo-flicker-1 {
    animation-fill-mode: both;
    animation: flicker 1.8s cubic-bezier(.49, -0.01, 0, .98);
    animation-delay: 0.1s;
}

.logo-flicker-1 path {
    stroke-dasharray: 4000;
    stroke-dashoffset: 4000;
    animation: path-anim 2s cubic-bezier(.49, -0.01, 0, .98) forwards;
}

.tonefury-text {
    display: flex;
    flex-direction: column;
}

@keyframes tft-tone {
    0% {
        transform: translateX(550px);
    }

    100% {
        transform: translateX(-150px);
    }
}


.tonefury-text {
    margin-top: 10vh;
    animation: tft-tone 2s cubic-bezier(.49, -0.01, 0, .98) forwards;
}

.tonefury-text svg {
    height: 40vh;
    width: 150vh;
}

.tonefury-text svg * {
    fill: #fff0;
    stroke: var(--col-base);
    stroke-width: 0.5px;
}

.tonefury-text .tone {
    animation: tft-tone 2s cubic-bezier(.49, -0.01, 0, .98) forwards;
}


.debug.header {
    animation-duration: 0s;
    animation-delay: 0s;
}

/* </editor-fold> */

.homesection {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin-top: 50px;
    margin-bottom: 70px;
    color: inherit;

    .headertext {
        h1 {
            font-size: 60px;
            font-weight: 900;
            line-height: 1;
        }

        position: relative;

        &:before {
            content: "";
            position: absolute;
            left: -920px;
            width: 900px;
            height: 74%;
            margin-top: 1%;
            background: var(--brand-accent);
        }
    }

    p {
        font-size: 30px;
    }

}

a.homesection {
    padding: 10px;
    padding-left: 50px;
    position: relative;

    &:before {
        content: ">";
        position: absolute;
        width: 20px;
        left: 0px;
        color: black;
        font-size: 24px;
        font-weight: 900;
        display: flex;
        align-items: center;
        padding-left: 6px;
        background: var(--brand-accent);
        top: 0;
        height: 100%;
        transition: all 0.4s ease;
        z-index: -1;
    }

    &:hover {
        .redtext {
            color: black;
        }

        &:before {
            width: 100vw;
        }
    }

    .headertext {
        &:before {
            left: calc(-920px - 50px);
            top: -18px !important;
        }

        h1 {
            font-weight: 200 !important;
        }
    }

    p {
        font-size: 24px;
        max-width: 500px;
    }
}

@media (max-width: 800px) {
    .homesection:has(.item-grid) {
        .item-grid {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            > * {
                width: 100% !important;
                height: auto !important;
            }
        }
    }
}

.homesection:has(.item-grid) {
    position: relative;
    width: auto !important;
    max-width: 99999px !important;

    .item-grid {
        margin-top: 20px;
        position: relative;
        max-width: 1900px;
        display: flex;
        flex-wrap: wrap;

        > * {
            height: 210px;
            width: 210px;
        }

        gap: 15px;
    }

    .item-grid-end {
        position: relative;

        height: 210px;
        width: 210px;
        background: var(--brand-accent);
        text-align: right;
        font-size: 30px;
        color: white;
        font-weight: 900;
        padding: 12px;

        &:before {
            content: ">>>";
            position: absolute;
            bottom: 12px;
            right: 12px;
            color: var(--col-d0);
            font-size: 50px;
            line-height: 1;
            transition: all 0.2s ease;
        }

        &:hover {
            &:before {
                right: -120px;
                color: var(--brand-accent)
            }
        }
    }
}

.homebutton {
    display: flex;
    padding: 0px !important;
    padding-left: 40px !important;
    align-items: center;
    flex-direction: row;

    &:hover {
        &:before {
            width: 360px !important;
        }
    }

    h1 {
        font-size: 35px;
        font-weight: 600;
        width: 330px;
    }

    p {
        max-width: 340px !important;
        padding: 10px 0px;
        padding-left: 20px;
        border-left: 8px solid var(--brand-accent);
    }
}


.header:not(.use-intro) .animation-container {
    display: none !important;
}

@keyframes slideup {
    0% {
        transform: translateX(120px);
        opacity: 0;
    }
}

.center.use-intro {
    animation: slideup 1.1s cubic-bezier(.49, -0.01, 0, .98);
    animation-delay: 1.4s;
    animation-fill-mode: both;
}

@media (max-width: 1182px) {
    .homesection {

        h1 {
            font-size: 33px !important;
        }

        p {
            font-size: 22px;
        }
    }

    a.homesection {
        h1 {
            font-size: 28px !important;
        }
        p {
            font-size: 22px !important;
        }
    }
}

/*# sourceMappingURL=home.css.map*/