@font-face {
    font-family: "BBHegarty";
    src: url("../../../assets/fonts/BBHHegarty-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}



:root {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system ui, sans-serif;
    --text-muted: oklch(0.82 0.02 270);
    --bg-main: oklch(0.20 0.02 270);
    --bg-footer: oklch(0.18 0.02 270);
    --bg-card: oklch(0.25 0.03 270);
    --text-main: oklch(0.98 0.01 270);
    --bg-header: oklch(0.98 0 0);
    color: var(--text-muted);
}

.container {
    width: 100%;
    height: 98vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

header {
    z-index: 2;
    background-color: var(--bg-footer);
    margin: -.5rem;
    nav {
        max-width: 1100px;
        margin: 0 auto;
        padding: 1rem;

        display: flex;
        justify-content: space-between;
        align-items: center;
        .nav-links {
            list-style: none;
            display: flex;
            a {
                text-decoration: none;
                color: var(--text-muted);
                padding: .75rem;
                &:hover {
                    background-color: var(--bg-card);
                }
            }
        }
        .auth a{
            color: var(--text-main);
            text-decoration: none;
            padding-inline: 1rem;
        }
    }
    .logo {
        font-weight: 800;
        text-decoration: none;
        color: var(--text-main);
    }
}


main {
    z-index: 0;
    margin-bottom: -1rem;
    h1{
        z-index: 2;
        color: var(--text-main);
        font-weight: bold;
        position: absolute;
        top: 25vh;
        padding: 1rem;
        border-radius: 1rem;
        margin-bottom: 2rem;
        font-size: 7rem;
    }
    #myButton {
        z-index: 2;
        font-size: 3em;
        background-color: var(--bg-card);
        position: absolute;
        top: 45vh;
        border-radius: 2rem;
        border-width: 0;
        padding-block: 1rem;
        transition: ease-in-out .2s;
        &:hover {
            background-color: var(--bg-main);
        }
        a {
            text-decoration: none;
            color: var(--text-main);
            border-radius: 2rem;
            border-width: 0;
            padding-block: 1rem;
            padding-inline: 2rem;
        }
    }
    div.bg-gif {
        z-index: 1;
        margin-inline: -.5rem;
        margin-top: -1rem;
        filter: brightness(50%);
        img {
            position: absolute;
            width: 100%;
            height: 100vh;
            filter: hue-rotate(300deg);
        }
    }
}



.terug {
    width: 2.5rem;
    color: var(--text-main);
    background-color: var(--bg-card);
}



footer {
    z-index: 2;
    background-color: var(--bg-footer);
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 1.5rem;
    margin-inline: -.5rem;
    margin-bottom: -1rem;
    a {
        color: var(--text-muted);
        text-decoration: none;
    }
}