@font-face {
    font-family: 'pxplus_ibm_vga8regular';
    src: url('../fonts/PxPlus_IBM_VGA8.ttf') format('truetype');
    font-weight: normal;

}
@font-face {
    font-family: 'pc98';
    src: url('../fonts/PC_9800.woff2') format('woff2'),
	url('../fonts/PC_9800.woff') format('woff'),
	url('../fonts/pc-9800.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    height: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    background-color: #000000;
    min-height:100%;
    color: #eee;
    font-family: "pxplus_ibm_vga8regular";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.1;
/*    text-align: justify;*/
    margin: 0;
    padding: 15px 15px 30px 25px;
    text-align: justify;
}

main{
    margin-bottom: 15px;
}

small, h4 {
	margin-left: 1px;
}

pre, .kana, .blog > h1,h2,h3,h4,h5 {
    font-family: 'pc98';
    text-align: start;
}

h1, h2, h3, h4, h5 {
    font-weight: initial;
}

h1 {
    font-size: 64px;
    padding: 0;
    margin: 20px 0 0 0;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 32px;
    margin: 15px 0 5px 0;
}

h4,h5 {
    font-size: 16px;
}
#footer-line {
    position: fixed;
    bottom: 20px;
    height: 1px;
    width: 100%;
    margin: 30px -20px 10px -25px;
    float: center;
    background-color: #2f2f2f;
    border: 0;
}


#footer{
    position: fixed;
    bottom: 0;
    padding-top: 0px;
    margin: 0px;
    width: 100%;
    height: 30px;
    display: inline-block;
    background-color: #000000;
}

#footer > font{
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

#header {
    clear: both;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

#navbar{
    margin-top: 10px;
    font-size: 23px;
}

#header_old {
    align-items: center;
    text-shadow: 5px 5px #555;
    padding: 20px;
    clear: both;
    margin-left: auto;
    margin-right: auto;
    float: center;
    text-align: center;
}

.donate-logo{
    vertical-align: middle;
    width: 1.75em;
}

#ethereum-logo{
    margin-left: 0.25em;
    margin-right: 0.25em;
    width: 1.25em;
}

#header_left {
    float:left;
    text-align:center;
    width: 30%;
}
#header_right {
    align-items: center;
    text-shadow: 5px 5px #555;
    padding: 20px;
    float: right;
    clear: right;
    text-align: center;
    width: 70%;
}
#header_left > a > img {
    width: 200px;
    border-radius: 15px;
    box-shadow: 3px 3px 5px 3px #555;
    text-align: center;
}

#content {
    margin-left: auto;
    margin-right: auto;
}

.menuitem-donate {
    position: relative;
    text-shadow: 3px 3px #444;
    margin: 0 0 0 0;
    padding-top: 0.3em;
    text-align: left;
}

.menuitem {
    position: relative;
    display: inline;
    text-shadow: 4px 4px #444;
    margin: 0 16px 0 16px;
    text-align: center;
}

.menuitem:hover, .menuitem-donate:active {
    text-shadow: 2px 2px #444;
    top: 2px;
    left: 2px;
}

a, a:hover, a:active, a:visited {
    text-decoration: none;
    color: #1a1;
}
a:hover, a:active {
    color: #1c1;
}

hr {
    background-color: #2f2f2f;
    height: 1px;
    border: 0;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

ol > li {
    list-style-type: decimal-leading-zero;
}

ul > li {
    list-style-type: square;
}

ul {
    padding-left: 24px;
    margin-top: 0;
    margin-bottom: 0;
}

ol {
    margin-top: 0;
    margin-bottom:0;
}

li > a > img {
    margin: 5px 10px 0 0;
}

p {
    margin-top: 5px;
}

code {
    display: block;
    background-color: #282828;
    color: #ccc;
    width: 100%;
    padding: 5px 5px 10px 15px;
    margin: 10px 0;
    font-family: 'pxplus_ibm_vga8regular', monospace;
    white-space: pre;
    box-shadow: 6px 6px #000;
}

@media (min-width: 811px) {
    #content, #header {
        width: 769px;
    }
}

@media (max-width: 810px) {
    #navbar {
        font-size: 20px;
    }

    #header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #header_left {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    #header_right {
        width: 100%;
    }

    #header_right, #header_right > ul {
        margin: 20px 0 20px 1px;
        padding: 0;
    }
    #header_right > ul {
        margin-left: 0px;
    }
    .menuitem {
        margin: 0 4px 0 4px;
        padding: 0;
    }
    #content {
        margin: 0;
        padding: 0;
    }
    #footer {
        text-align: center;
        margin-left: -2.5%;
    }
    #footer > font{
        
        position: absolute;
        top: 50%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-56%, -50%);
        display: inline-block;
    }
}

