body {
    background: #000;
    color: #fff;
    min-height: 100vh;
    margin: 0 0 0 0;
    font-family: def, sans-serif;
    font-size: min(2.5vh, 18pt);;    
}

.menucontainer {
    position: fixed;
    top: 1vh;
    width: 100%;
    margin: 0 0 0 0;
}

.topbar {
    width: 100%;
    margin-top: 0;
    font-size: 3vh;
}

.menugrp {
    float: right;
    width: 7vh;
}

a {
    text-decoration: none;
    color: #fff;
}

.footercontainer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 3.5vh;
    margin: 1vh 0 0 0;
}

.footer {
    background: #000;
    width: 100%;
    height: 3.5vh;
    margin-top: 0;
    font-size: 1.5vh;
    text-align: center;
    padding-top: 1vh;
}


.logo {
    color: #fff;
    text-decoration: none;
    font-size: 7vh;
    line-height: 7vh;
    margin-top: 2vh;
    writing-mode: vertical-lr;
    float: right;
}

#menu {
    float: right;
    right: 1vw;
    display: none;    
    margin-top: 1vh;
    margin-right: 0;
    margin-bottom: 1vw;
    background-color: #000;
    opacity: 0.8;
    clear: both;
}

.menuitem {
    display: block;
    font-weight: bold;
    padding: 1vh 1vh 1vh 1vh;
}

#menuicon {
    margin-right: 1vh;
    margin-top: 3vh;
    display: block;
}
#menuicon .bar {
    width: 20px;
    height: 2px;
    background: #fff;    
    margin-top: 0.5vh;
}

section {
    position: relative;
    min-height: 100vh;
    padding: 7vh 7vh 15vh 0vh; 
    max-width: max(calc(30vw - 7vh), calc(600px - 7vh));
    margin-left: auto;
    margin-right: auto;
}

section:first-of-type {
    font-size: min(3vh, 36pt);;    
}

.limitwidth {
    max-width: max(600px, 30vw);
    margin-left: auto;
    margin-right: auto;
}


section:last-of-type {
    padding-bottom: 0px;
}

section h1 {
    font-size: 3vh;
    font-weight: bold;
    margin-bottom: 0.5vh;
}

section h2 {
    font-size: 2.5vh;
    font-weight: bold;
    margin-bottom: 0.2vh;
}

section .example {
    font-size: 2vh;
    font-style: italic;
    color: #ddd;
    margin-bottom: 2vh;
}

section .example p {
    margin-top: 0.5vh;
}

section:first-of-type {
    padding-top: 15vh;
}

@font-face {
    font-family: 'def';
    src: url('Roboto-Light.ttf');
}

.arrowcontainer {
    padding-top: 25vh;
    padding-left: 7vh;
}

.downarrow {
    border: solid white;
    width: 5vh;
    height: 5vh;
    border-width: 0 3px 3px 0;
    display: block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);    
    margin: 10vh auto 10vh auto;
    animation: fade 2s infinite;
}

@keyframes fade {
    0%,100% { opacity: .2 }
    50% { opacity: .6 }
}

.noselect {
    user-select: none;
    outline: none;
}

.pgpkey {
    font-family: monospace;
    font-size: 1vh;
    white-space: pre-line;
    overflow-x: hidden;
}

.centerbox {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 60vh;
    padding-top: 40vh;
    background-color: #000;
}

.centerlogo {
    max-width: 90vw;
}

.halfwidth {
    width: 50%;
    margin-left: 25%;    
}

@media screen and (max-width: 600px) {
    section {
        margin-left: 3vw;
        max-width: calc(99vw - 9vh);
    }
    .limitwidth {
        max-width: 100vw;
    }
}

@media print {
    body {
        font-size: 11pt;
    }
    .topcontainer {
        position: unset;
    }
    #welcome {
        padding-top: 7vh;
    }
    section {
        min-height: unset;
        padding: 7vh 2vh 0vh 2vh; 
    }
    section h1 {
        font-size: 14pt;
    }
    section h2 {
        font-size: 12pt;
    }
    section .example {
        font-size: 11pt;
    }
    #menuicon {
        display: none;
    }
    .footer {
        display: none;
    }
    #credits {
        display: none;
    }
}
