@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --main-bg: #ffffff;
    --main-text: #7f7f7f;
    --emphasis-text: #000000;
    --border-color: #0f0f0f;
}

:root[theme="dark"] {
    --main-bg: #000000;
    --main-text: #7f7f7f;
    --emphasis-text: #ffffff;
    --border-color: #171717;
}

html {
    color: var(--main-text);
    background-color: var(--main-bg);
    margin: auto;

    font-family: "Roboto Condensed", serif;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
}

body {
    width: 1280px;
    margin: auto;
}

a {
    color: var(--emphasis-text);
    cursor: pointer;
}

b { color: var(--emphasis-text); }
li { list-style: none; }
td { padding: 5px; }
h1, h2, h3, h4 { color: var(--emphasis-text); }

.key { width: 160px; }

.figure {
    max-width: 100%;
    height: auto;
}

.rounded { border-radius: 15px; }

/* Theme-dependent images: exactly one of the pair is visible. */
:root[theme="dark"] .if-light { display: none; }
:root:not([theme="dark"]) .if-dark { display: none; }

.header {
    width: 1280px;
    text-align: center;
    position: fixed;
    background-color: var(--main-bg);
    z-index: 1;
}

.header ul {
    margin: 15px 0;
    padding: 0;
}

.menu {
    display: inline-block;
    list-style: none;
    height: 20px;
    padding: 0px 65px 0px 65px;
}

.mode {
    vertical-align: top;
    margin: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.emphasis { color: var(--emphasis-text); }
.left { float: left; }
.right { float: right; }

.main-title {
    height: 700px;
    width: 330px;
}

.main-contents {
    width: 920px;
    padding-top: 80px;
    padding-bottom: 60px;
}

.main-logo {
    width: 150px;
    height: 150px;
    margin-top: 200px;
    margin-left: 120px;
    position: fixed;
}

.contents {
    margin: 50px;
}

.footer {
    padding: 25px 0px 25px 0px;
    clear: both;
    border-top: solid 1px var(--border-color);
    vertical-align: middle;
}

.footer .contents {
    margin: 0px 50px 15px 50px;
}

.footer .contents div {
    margin: 5px 0px;
}

.copyright {
    text-align: center;
    margin-top: 10px;
}

.sns {
    margin: 0px 15px 5px 0px;
    vertical-align: middle;
}

.code {
    background-color: #2f2f2f;
    padding: 10px;
    color: var(--main-text);
    border: solid 1px var(--border-color);
    border-radius: 15px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.5;
}

.message {
    margin: 20px 0px 20px 0px;
    clear: both;
}
