/* website/apexpedia/site.css - the game's APEXpedia page framed for the website (2026-10-25).
   The page's own style.css is the game's, copied by tools/website/build.js; only the frame is here. */

html, body.web {
    background: #0A0512;
}

/* The loading screen's picture behind the book, darkened - the site's look. */
body.web::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 5, 18, 0.78), rgba(10, 5, 18, 0.9)),
        url(../img/hero-2.jpg) center / cover no-repeat;
    z-index: -1;
}

.webbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    background: rgba(10, 5, 18, 0.94);
    border-bottom: 1px solid rgba(255, 46, 136, 0.35);
    font-family: 'Teko', sans-serif;
}

.webbar__home {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 26px;
    letter-spacing: 1.5px;
    line-height: 1;
}
.webbar__home img { width: 32px; height: 32px; }
.webbar__home:hover { color: #FF2E88; }

/* The language switch: the front page's two flags, the chosen one ringed in pink. */
.webbar__lang { display: flex; gap: 6px; }
.webbar__lang a {
    display: grid;
    place-items: center;
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 6px;
    opacity: 0.5;
    filter: saturate(0.6);
    transition: opacity 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}
.webbar__lang a img { width: 28px; height: 19px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2); }
.webbar__lang a:hover { opacity: 0.9; filter: none; }
.webbar__lang a.on { opacity: 1; filter: none; border-color: #FF2E88; box-shadow: 0 0 12px rgba(255, 46, 136, 0.45); }

/* The book under the bar instead of over the game; no close button - there is nothing to go back to. */
body.web .book { inset: 68px 3vw 3vh; }
body.web #btnClose { display: none !important; }

@media (max-width: 800px) {
    body.web .book { inset: 60px 6px 6px; border-radius: 8px; }
}
