﻿@font-face {
    font-family: Okashi;
    src: url('/fonts/Okashi.woff');
}

@font-face {
    font-family: TsukimiRounded;
    src: url('/fonts/TsukimiRounded.woff');
}

html {
    border: 0;
    padding: 0;
}

body {
    border: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.9);
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    font-family: TsukimiRounded;
}

h1, h2, h3, h4, h5, .logo span, .menu-item span {
    font-family: Okashi !important;
}

h1 {
    position: relative;
    width: 100%;
    height: auto;
    min-height: fit-content !important;
    padding: 16px;
    font-size: 72px;
    color: white;
    z-index: 0;
    margin-bottom: 16px;
    text-align: center;
}

    h1:before {
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/images/header-background.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom;
        border-radius: 16px;
        z-index: -1;
        opacity: 0.3;
    }

    h1 quote:before, h1 quote:after {
        content: '"';
    }

    h1 quote {
        display: block;
        font-size: 18px;
        font-style: italic;
    }

h6 {
    font-family: TsukimiRounded;
}

div, img {
    touch-action: manipulation;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(32px) grayscale(100%);
    -webkit-filter: blur(32px) grayscale(100%);
    opacity: 0.4;
}

.toggle-menu {
    display: none;
}

.side-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 384px;
    height: 100%;
    background-image: url('/images/speckles.png');
    background-size: contain;
    background-repeat: repeat;
    background-color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

    .side-bar .logo {
        display: block;
        width: 100%;
        height: fit-content;
    }

        .side-bar .logo img {
            display: inline-block;
            vertical-align: middle;
            margin: 8px 0 0 8px;
            width: auto;
            height: 40px;
        }

        .side-bar .logo span {
            display: inline-block;
            vertical-align: middle;
            margin: 8px 8px 0 0;
            font-size: 40px;
            font-family: Ansichtkaart;
            line-height: 40px;
            color: rgba(0, 0, 0, 0.9);
        }

    .side-bar .menu-item {
        display: block;
        margin: 8px;
        padding: 8px;
        width: calc(100% - 16px);
        height: fit-content;
        text-align: left;
        background: rgba(32, 0, 0, 0.4);
        border-radius: 8px;
    }

        .side-bar .menu-item[focussed='true'] {
            background: rgba(32, 0, 0, 0.6);
            cursor: pointer;
        }

        .side-bar .menu-item img {
            height: 24px;
            margin: -4px 0 0 4px;
            filter: sepia(100%);
        }

        .side-bar .menu-item span {
            color: rgba(255, 240, 224, 0.9);
            margin-left: 8px;
            font-size: 18px;
        }

        .side-bar .menu-item[focussed='true'] img {
            filter: none;
        }

        .side-bar .menu-item[focussed='true'] span {
            color: rgba(255, 255, 255, 0.9);
        }

.main-area {
    position: fixed;
    top: 0;
    left: 384px;
    padding: 32px;
    width: calc(100% - 384px);
    height: 100%;
    background: rgba(253, 228, 172, 0.3);
    overflow: scroll;
    color: white;
}

    .main-area hr {
        padding: 0;
        margin: 16px;
        width: 100%;
        border-bottom: 1px solid white;
    }

    .main-area a {
        color: white;
    }

.focusable[focussed='false'] {
    border: 1px solid transparent;
    box-shadow: none;
}

.focusable[focussed='true'] {
    border: 1px solid rgba(253, 220, 172, 0.5);
    box-shadow: rgba(155, 155, 144, 0.8) 0px 0px 10px;
}

.copyright, .cookies {
    width: 100%;
    padding: 16px;
    text-align: center;
    color: black;
}

.copyright a {
    color: black;
}

.copyright img {
    height: 150px;
    width: auto;
    margin-top: 16px;
    filter: sepia(25%);
}

.cookies {
    font-size: 10px;
}

table {
    border: 1px solid rgba(192, 16, 16, 0.25);
    margin-bottom: 1em;
    background-color: rgba(253, 241, 220, 0.85);
    background-image: url('/images/parchment.png');
}

.downloads {
    width: 100%;
    max-width: 100%;
}

tr {
    border-bottom: 1px solid rgba(16, 16, 16, 0.05);
}

tr:first-child {
    border-bottom: 1px solid rgba(192, 16, 16, 0.25);
    background: rgba(84, 36, 3, 0.9);
    color: white;
}

tr:last-child {
    border-bottom: none;
}

.downloads tr:first-child {
    border-bottom: none;
}

.downloads tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

th, td {
    padding: 0.25em 0.5em 0.25em 0.5em;
}

.downloads td {
    padding: 16px;
}

.downloads a {
    color: white;
}

th {
    text-align: center;
    font-weight: bold;
    font-family: Okashi !important;
}

td {
    text-align: center;
    font-weight: normal;
    font-family: TsukimiRounded !important;
}

td[align='left'] {
    text-align: left;
}

    td ul {
        list-style-type: none;
    }

    .row .col-12 table {
    }

    .downloads img {
        height: 50px !important;
        width: auto !important;
    }

.account {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid white;
    padding: 32px;
    border-radius: 32px;
}

    .login-header img {
        height: 300px;
        width: auto;
    }

.index-menu {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: radial-gradient(rgba(253, 220, 172, 0.5), rgba(253, 220, 172, 0.2), transparent, transparent);
}

.index-poem {
    position: absolute;
    width: 100%;
    height: 128px;
    text-align: center;
    top: 50%;
    margin-top: -96px;
    font-size: 32px;
    font-family: Okashi;
    z-index: 4;
    color: rgba(253, 241, 220, 0.85);
}

    .index-poem p {
        margin: 0;
        padding: 0;
    }

.index-menu-item {
    position: absolute;
    width: 256px;
    height: 256px;
    border: none;
    border-radius: 128px;
    text-align: center;
    line-height: 256px;
    margin: -128px 0 0 -128px;
    font-family: Okashi;
    font-size: 32px;
    z-index: 5;
    background: radial-gradient(circle, rgba(253, 241, 220, 0.85) 0%, rgba(253, 241, 220, 0.95) 80%, rgba(253, 241, 220, 0.75) 100%);
    color: transparent;
    opacity: 0.75;
}

    .index-menu-item:after {
        content: '';
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: absolute;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 50%;
        filter: invert();
        opacity: 0.5;
    }

    .index-menu-item.lore:after {
        content: '';
        background-image: url('/images/icons/lore.png');
    }

    .index-menu-item.gameplay:after {
        content: '';
        background-image: url('/images/icons/gameplay.png');
    }

    .index-menu-item.classes:after {
        content: '';
        background-image: url('/images/icons/classes.png');
    }

    .index-menu-item.talents:after {
        content: '';
        background-image: url('/images/icons/talents.png');
    }

    .index-menu-item.geography:after {
        content: '';
        background-image: url('/images/icons/geography.png');
    }

    .index-menu-item.creatures:after {
        content: '';
        background-image: url('/images/icons/creatures.png');
    }

    .index-menu-item.money:after {
        content: '';
        background-image: url('/images/icons/money.png');
    }

    .index-menu-item.equipment:after {
        content: '';
        background-image: url('/images/icons/equipment.png');
    }

    .index-menu-item.downloads:after {
        content: '';
        background-image: url('/images/icons/downloads.png');
    }

    .index-menu-item:hover {
        border: 1px solid rgba(253, 220, 172, 0.5);
        color: white;
        box-shadow: rgba(155, 155, 144, 0.8) 0px 0px 10px;
        cursor: pointer;
        color: rgba(84, 36, 3, 0.9);
        opacity: 1;
    }

    .index-menu-item:hover:after {
        content: '';
        opacity: 0;
    }

@media (max-width: 1280px) {
    .index-menu-item {
        color: rgba(84, 36, 3, 0.9);
    }

    .index-menu-item:after {
        content: '';
        opacity: 0.15;
    }

        .index-menu-item:hover:after {
            content: '';
            opacity: 0.05;
        }
}

@media (max-width: 1550px) {
    .index-poem {
        height: 128px;
        margin-top: -96px;
        font-size: 32px;
    }

    .index-menu-item {
        width: 192px;
        height: 192px;
        border-radius: 96px;
        line-height: 192px;
        margin: -96px 0 0 -96px;
        font-size: 24px;
    }
}

@media (max-width: 1350px) {
    .index-poem {
        height: 128px;
        margin-top: -96px;
        font-size: 32px;
    }

    .index-menu-item {
        width: 128px;
        height: 128px;
        border-radius: 64px;
        line-height: 128px;
        margin: -64px 0 0 -64px;
        font-size: 16px;
    }
}

@media (max-width: 1280px) {
    .index-poem {
        height: 128px;
        margin-top: -96px;
        font-size: 32px;
    }

    .index-menu-item {
        width: 256px;
        height: 256px;
        border-radius: 128px;
        line-height: 256px;
        margin: -128px 0 0 -128px;
        font-size: 32px;
    }
}

@media (max-width: 1165px) {
    .index-poem {
        height: 128px;
        margin-top: -96px;
        font-size: 32px;
    }

    .index-menu-item {
        width: 192px;
        height: 192px;
        border-radius: 96px;
        line-height: 192px;
        margin: -96px 0 0 -96px;
        font-size: 24px;
    }
}

@media (max-width: 1000px) {
    .index-poem {
        height: 96px;
        margin-top: -72px;
        font-size: 24px;
    }

    .index-menu-item {
        width: 128px;
        height: 128px;
        border-radius: 64px;
        line-height: 128px;
        margin: -64px 0 0 -64px;
        font-size: 16px;
    }
}

@media (max-width: 830px) {
    .index-poem {
        display: none;
    }

    .index-menu {
        text-align: center;
    }

    .fan-piece {
        display: none;
    }

    .index-menu-item {
        position: relative;
        display: inline-block;
        top: 0 !important;
        left: 0 !important;
        margin: 16px;
        width: calc(40vw - 64px);
        height: calc(40vw - 64px);
        line-height: calc(40vw - 64px);
        border-radius: calc(20vw - 32px);
        font-size: 28px;
    }
}

@media (max-width: 400px) {
    .index-menu-item {
        width: calc(60vw - 128px);
        height: calc(60vw - 128px);
        line-height: calc(60vw - 128px);
        border-radius: calc(30vw - 64px);
        font-size: 12px;
    }
}

.fan-piece {
    position: absolute;
    width: 100px;
    height: 700px;
    background-image: url('/images/fan-piece.png');
    background-size: 75%;
    background-repeat: no-repeat;
    top: 50%;
    left: 50%;
    margin: -350px 0 0 -50px;
    opacity: 0.25;
    z-index: 1;
}

.fan-piece[piece='1'] { transform: rotateZ(0deg); }
.fan-piece[piece='2'] { transform: rotateZ(21deg); }
.fan-piece[piece='3'] { transform: rotateZ(42deg); }
.fan-piece[piece='4'] { transform: rotateZ(63deg); }
.fan-piece[piece='5'] { transform: rotateZ(84deg); }
.fan-piece[piece='6'] { transform: rotateZ(105deg); }
.fan-piece[piece='7'] { transform: rotateZ(127deg); }
.fan-piece[piece='8'] { transform: rotateZ(148deg); }
.fan-piece[piece='9'] { transform: rotateZ(169deg); }
.fan-piece[piece='10'] { transform: rotateZ(190deg); }
.fan-piece[piece='11'] { transform: rotateZ(211deg); }
.fan-piece[piece='12'] { transform: rotateZ(232deg); }
.fan-piece[piece='13'] { transform: rotateZ(254deg); }
.fan-piece[piece='14'] { transform: rotateZ(275deg); }
.fan-piece[piece='15'] { transform: rotateZ(296deg); }
.fan-piece[piece='16'] { transform: rotateZ(317deg); }
.fan-piece[piece='17'] { transform: rotateZ(338deg); }

.page {
    width: 100%;
    padding: 16px;
    color: black;
    background-color: rgba(253, 241, 220, 0.85);
    background-image: url('/images/parchment.png');
    border: 1px solid rgba(192, 16, 16, 0.5);
}

.page a {
    color: black;
}

.page h2, .page p, .page hr {
    padding: 0;
    margin: 0 0 16px 0;
}

    .page h2 {
        color: rgba(84, 36, 3, 0.9);
    }

    .page hr {
        border-color: rgba(192, 16, 16, 0.5);
    }

.text-justify {
    text-align: justify;
}

.page-menu-item {
    width: fit-content;
    height: fit-content;
    padding: 32px;
    border: 1px solid red;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    margin: 16px;
    color: black;
    background-color: rgba(253, 241, 220, 0.85);
    background-image: url('/images/parchment.png');
    border: 1px solid rgba(192, 16, 16, 0.5);
    font-family: Okashi;
    font-size: x-large;
}

    .page-menu-item:hover {
        cursor: pointer;
        background-color: rgba(125, 113, 92, 0.85);
        color: white;
    }

.page-link-item {
    width: 40%;
    height: fit-content;
    padding: 32px;
    border: 1px solid red;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    margin: 16px;
    color: black;
    background-color: rgba(253, 241, 220, 0.85);
    background-image: url('/images/parchment.png');
    border: 1px solid rgba(192, 16, 16, 0.5);
    font-family: TsukimiRounded;
    font-size: x-large;
}

@media (max-width: 1000px){
    .page-link-item {
        width: calc(100% - 32px);
    }
}

    .page-link-item:hover {
        cursor: pointer;
        background-color: rgba(125, 113, 92, 0.85);
        color: white;
    }

    .page-link-item:hover p, .page-link-item:hover h2 {
        color: white;
    }

    .map {
        width: 90%;
        height: auto;
        margin: 0 5% 0 5%;
    }

.submenu-top {
    width: calc(100% + 32px);
    margin: -16px -16px 16px -16px;
    text-align: center;
    padding: 16px 8px 16px 8px;
    border-bottom: 1px solid rgba(192, 16, 16, 0.5);
    background: rgba(16, 16, 16, 0.02);
}

    .submenu-top a {
        font-family: Okashi;
        text-decoration: none;
        font-weight: normal;
        margin: 0;
        padding: 0;
        font-size: large;
    }

        .submenu-top a:hover {
            color: rgba(192, 16, 16, 0.8);
        }

    .submenu-top .divider {
        border-right: 1px solid rgba(192, 16, 16, 0.5);
        padding: 0 0 0 8px;
        margin: 0 12px 0 0;
    }

.image-link img {
    border: 1px solid rgba(192, 16, 16, 0.5);
}

.poem {
    width: 50vw;
    height: 22vw;
    text-align: center;
    font-family: Okashi;
    font-size: large;
    background-size: cover;
    line-height: 100%;
}

    .poem p {
        margin: 0;
        padding: 0;
        color: rgba(96, 8, 8, 0.75);
        font-size: 32px;
        height: 48px;
        line-height: 48px;
        width: 100%;
    }

        .poem p:first-child {
            padding-top: calc(11vw - 96px);
            height: calc(11vw - 48px);
        }

.illustration-center {
    width: 100%;
    margin: 0 0 16px 0;
    opacity: 0.25;
}

@media (max-width: 1280px) {
    .illustration-center {
        width: 100%;
        margin: 0 0 16px 0;
    }

    .poem {
        width: 100%;
        height: fit-content;
        background-image: none !important;
        margin-bottom: 16px;
    }

        .poem p {
            font-size: 24px;
            height: fit-content;
            line-height: 100%;
            width: 100%;
            margin-bottom: 8px;
        }

            .poem p:first-child {
                padding-top: inherit;
                height: inherit;
            }

    .text-justify {
        text-align: left;
    }
}

.potion {
    margin-bottom: 16px;
}

.potion table {
    height: 100%;
}

.potion tr:first-child {
    height: 32px;
    min-height: fit-content;
}

.potion tr:nth-child(2) {
    height: 64px;
    min-height: fit-content;
}

    .potion td:first-child {
        text-align: center !important;
        font-family: Okashi !important;
    }

.potion td:last-child {
    text-align: left !important;
}

.potion ul {
    text-align: left;
    padding-left: 0;
    margin-left: 0;
}

.potion li {
    margin: 0;
    padding: 0;
}

    .potion li:before {
        content: '◦ ';
    }

.alphabet-menu {
    text-align: center;
    font-size: x-large;
}

    .alphabet-menu h2 {
        display: inline-block;
        color: rgba(0, 0, 0, 0.25);
        font-size: larger;
    }

    .alphabet-menu a {
        color: black;
    }

.stat-block h1 {
    color: rgba(64, 0, 0, 1);
    font-size: 36px;
    height: fit-content;
    padding-bottom: 0;
    margin: 0;
}

.card-head h1:before {
    display: none;
}

.ability-head .ability-field {
    font-size: x-small;
    border: none;
    color: #535B39;
}

.ability-main .ability-field {
    font-size: x-large;
    border: 1px solid rgba(192, 16, 16, 0.5);
    border-radius: 10px 10px 25px 25px / 5px 5px 15px 15px;
    margin-top: 0.25em;
    background-color: rgba(128, 128, 0, 0.05);
    padding-bottom: 4px;
}

.ability-mod .ability-field {
    font-size: large;
    border: 1px solid rgba(192, 16, 16, 0.5);
    border-radius: 20px 20px 50px 50px / 10px 10px 30px 30px;
    margin-top: 0.5em;
    background-color: rgba(128, 128, 0, 0.15);
    padding-bottom: 4px;
}

.ability-field {
    display: table;
    width: 100%;
}

.valign-text {
    display: table-cell;
    vertical-align: middle;
}

.stat-block {
    color: black;
    background-color: rgba(253, 241, 220, 0.85);
    background-image: url("/images/parchment.png");
    border: 1px solid rgba(192, 16, 16, 0.5);
}

    .stat-block.table {
        width: fit-content;
    }

    .stat-block ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

.border-bottom {
    border-bottom: 1px solid rgba(192, 16, 16, 0.25) !important;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
}

@media (min-width: 1920px) {
    .main-area {
        padding-right: calc(100vw - 1920px);
    }
}