:root {
    --hy-bg: #1a2a26;
    --hy-bg-transparent: #1a2a2675;
    --hy-bg-dark: #101915;
    --hy-bg-dark-transparent: #10191575;
    --hy-bg-accent: #233c36;
    --hy-bg-accent-transparent: #233c3675;
}

@font-face {
    font-family: penumbra-serif-std-bold;
    src: url("../font/penumbra-serif-std-bold.otf") format("opentype");
}

* {
    font-family: penumbra-serif-std-bold serif;
}

body {
    background: var(--hy-bg);

    #navbar {
        padding: 1rem 0 0 0;
        width: 100%;
        user-select: none;
        z-index: 100;

        * {
            font-weight: 1000 !important;
        }

        h2 {
            text-shadow: 0 0 1.5rem #00000050;
        }

        .navbar-container {
            position: relative;
            border: 1px solid dimgrey;
            border-radius: 0.25rem;
            width: 100%;
            background: linear-gradient(45deg,var(--hy-bg-accent-transparent),var(--hy-bg-dark-transparent));
            backdrop-filter: blur(16px);

            &::after {
                content: '';
                position: absolute;
                top: -2px;
                bottom: -2px;
                left: -2px;
                right: -2px;
                border: 1px solid black !important;
                background: transparent;
                z-index: -1;
                border-radius: 0.3rem;
                box-shadow: 0 0 1.5rem #000000;
            }

            .corner {
                content: '';
                position: absolute;
                width: 15px;
                height: 15px;
                background-image: url("../../hytale/img/container-corner.png");
                background-size: 100% 100%;
                border-bottom-right-radius: 0.25rem;
            }

            .corner.top-left {
                top: -1px;
                left: -1px;
                transform: rotate(180deg);
            }

            .corner.top-right {
                top: -1px;
                right: -1px;
                transform: rotate(270deg);
            }

            .corner.bottom-left {
                bottom: -1px;
                left: -1px;
                transform: rotate(90deg);
            }

            .corner.bottom-right {
                bottom: -1px;
                right: -1px;
            }

            .navbar-nav {
                li {
                    position: relative;
                    padding: 0;
                    margin: 0;

                    a {
                        font-size: 1.2rem;
                        padding: 0.5rem 1rem 0.4rem 1rem;
                        transition: none;
                    }

                    a:hover {
                        color: white;
                        text-shadow: 0 0 0.4rem #ffffff;
                    }

                    a.active {
                        color: var(--bs-yellow);
                        text-shadow: 0 0 1rem var(--bs-yellow);
                    }
                }

                li.div::after {
                    content: '';
                    position: absolute;
                    height: calc(100%);
                    width: 2px;
                    top: 0;
                    background: linear-gradient(to bottom, transparent, transparent, dimgrey, transparent, transparent);
                    border-radius: 0.3rem;
                }
            }
        }
    }

    .header {
        position: relative;
        padding: 1rem;
        height: 85vh;
        width: 100%;
        background: url("../../hytale/img/screenshots/2.webp");
        background-size: cover;

        .container {
            h1 {
                font-size: 10rem;
            }

            hr {
                width: 75%;
            }
        }
    }

    .footer {
        border-top: 1px solid var(--bs-border-color-translucent);
        box-shadow: inset 0 0 1.5rem #000000;
        position: relative;
        padding: 2.5rem 2rem 2rem 2rem;
        width: 100%;
        background: var(--hy-bg-dark);
    }

    .hy-bg-accent {
        background: var(--hy-bg-accent);
    }

    .overlay-blur {
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: 0;
        left: 0;
        backdrop-filter: blur(4px);
        z-index: 0;
    }

    .overlay-fade {
        position: absolute;
        width: 100%;
        height: 50%;
        bottom: 0;
        left: 0;
        background: linear-gradient(to bottom, transparent, var(--hy-bg));
        z-index: 0;
    }
}