@import url("https://rsms.me/inter/inter.css");
@import url("https://fontsapi.zeoseven.com/69/main/result.css");

:root {
    --bg-light: #ffffff;
    --bg2-light: #ffffff;
    --bg-menu-light: #ffdef0;
    --fg-menu-light: black;
    --bg-submenu-light: #fdf0f6;
    --fg-submenu-light: black;
    --accent-light: #bb5599;
    --accent-menu-light: #8f0f42;
    --fg-light: black;
    --fg2-light: black;

    --bg-dark: #363636;
    --bg2-dark: #363636;
    --bg-menu-dark: #ffffff;
    --fg-menu-dark: #feeaf4;
    --bg-submenu-dark: #feeaf4;
    --fg-submenu-dark: #feeaf4;
    --accent-dark: #ffb1c8;
    --accent-menu-dark: #bb5599;
    --fg-dark: white;
    --fg2-dark: white;

    --hover: #fa408b;
}

html {
    background-color: var(--bg-light);
    background: url(../images/bg.png) repeat fixed;
    margin: auto;
    display: flex;
    min-height: 100vh;
}

body {
    max-width: 720px;
    width: 100%;
    background-color: var(--bg2-light);
    margin: auto;
    line-height: 1.7;
    font-family: Inter, "Noto Sans CJK", sans-serif;

    color: var(--fg-light);
    box-shadow: 0px 0px 12px rgba(0, 0, 0, .2);
}

header {
    padding-top: 18px;
    padding-bottom: 9px;
}

a {
    color: var(--accent-light);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
    font-weight: 400;
}

hr {
    border-top: 1px solid var(--fg-light);
    height: 0;
    margin: auto;
    margin-left: 0;
    opacity: 22.2%;
}

button {
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.3rem 0.6rem;
    background-color: var(--accent-light);
    border: 2px solid var(--accent-light);
    color: white;
    font-family: Inter, "Noto Sans CJK", sans-serif;
}

button:hover {
    background-color: var(--hover);
    border: 2px solid var(--hover);
}

a button, button a {
    text-decoration: none !important;
}

header .dokimod-logo-container {
    padding: 0 18px;
    text-align: center;
    margin-bottom: 9px
}

ul.menu {
    padding: 0 18px;
    font-size: 1.08rem;
    font-weight: 350;
    list-style-type: none;
    margin: 0;

    background-color: var(--bg-menu-light);
}

ul.submenu {
    padding: 0 18px;
    font-size: 1rem;
    font-weight: 400;
    list-style-type: none;
    margin: 0;

    background-color: var(--bg-submenu-light);
}

.menu li, .submenu li {
    display: inline-block;
    padding-right: 9px;
    color: var(--fg-menu-light);
}

.menu li a, .submenu li a {
    text-decoration: none !important;
    color: var(--fg-menu-light);
}

.menu li.active a, .submenu li.active a {
    color: var(--accent-menu-light);
}

.content {
    padding: 0 18px;
}

a:hover {
    color: var(--hover) !important;
    text-decoration: none !important;
}

footer {
    color: white;
    background-color: #a32e6d;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 12px;
    padding-bottom: 18px;
    line-height: 1.28;
}

footer a {
    color: var(--accent-dark);
}

footer a:hover {
    color: #fdf0f6 !important;
}

footer p {
    margin-block: 0.6rem;
}

footer hr {
    border-top: 1px solid white;
}

footer>:last-child {
    margin-block-end: 0 !important;
}