body {
    background-color: #333;
    background-image: url(/images/frame/bg_watermasker.svg);
    background-size: 50%;
    color: #FFF;
}

.wrap {
    background-color: rgb(26 26 26 / 35%);
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    box-shadow: 0px 0px 8px rgb(0 0 0 / 40%);
}

header {
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 99;
    padding: 16px 0;
}

header .wrap {
    background-color: transparent;
    width: 100%;
    max-width: none;
    box-shadow: none;
}

header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: fit-content;
}

nav a.logoLink {
    display: none;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul::before,
nav ul::after {
    content: "";
    display: block;
    height: calc(1em + 20px);
    padding: 0 12px;
}

nav ul::before {
    background-image: linear-gradient( 225deg, transparent 10px, #C1272D 0);
}

nav ul::after {
    background-image: linear-gradient( 45deg, transparent 10px, #0071BC 0);
}

nav ul li {
    background: url(/images/frame/bg_border_nav_left.svg), url(/images/frame/bg_border_nav_right.svg);
    background-position: left bottom, right top;
    background-repeat: no-repeat;
    position: relative;
    padding: 12px 16px;
}

nav ul li::before,
nav ul li::after {
    content: "";
    background-color: #FFF;
    width: calc(100% - 16px);
    height: 1px;
    position: absolute;
}

nav ul li::before {
    top: 0;
    left: 0;
}

nav ul li::after {
    bottom: 0;
    right: 0;
}

nav ul li:hover,
nav ul li.active,
nav img.logo:hover {
    filter: drop-shadow(0px 0px 4px #FFF);
}

nav a,
nav a:hover {
    display: block;
    color: #FFF;
}

main {
    padding: 80px 1em;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.loading img {
    /* display: block;
    margin-left: auto;
    margin-right: auto; */
    width: 300px;
}

footer {
    border-top: 1px solid #4D4D4D;
    text-align: center;
    padding: 16px 32px;
}

@media screen and (min-width: 1024px) {
    header.fixed nav img.logo {
        display: block;
        height: 56px;
    }
    nav ul::before,
    nav ul::after {
        width: calc(50%);
    }
    nav ul li {
        min-width: 6em;
        text-align: center;
        padding: 12px 24px;
    }
    nav ul li,
    nav img.logo {
        margin: 0 16px;
    }
    main {
        padding: 96px 10%;
    }
}