*{
    margin: 0;
    padding: 0;
}

body.pure {
    width: 100vw;
    height: 100%;
    background: #080808;
    background-size: cover;
    background-image: url(/img/background.png);
    background-repeat: repeat;
    overflow-x: hidden;
}

body:not(.pure) {
    /*background-color: wheat;*/
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100%;
    background: #080808;
    /*overflow: hidden;*/
    background-image: radial-gradient(1px 1px at 5% 98%, #ffffff, #fff0),
    radial-gradient(1px 1px at 18% 79%, #ffffff, #fff0),
    radial-gradient(2px 1px at 26% 52%, #ffffff, #fff0),
    radial-gradient(1px 2px at 31% 20%, #e6e6e6, #fff0),
    radial-gradient(1px 1px at 41% 44%, #e8e8e8, #fff0),
    radial-gradient(1px 2px at 47% 6%, #ffffff, #fff0),
    radial-gradient(1px 1px at 50% 71%, #f5f5f5, #fff0),
    radial-gradient(2px 1px at 65% 50%, #e2e2e2, #fff0),
    radial-gradient(1px 1px at 54% 26%, #ffffff, #fff0),
    radial-gradient(2px 2px at 79% 54%, #efefef, #fff0),
    radial-gradient(1px 1px at 10% 32%, #ececec, #fff0),
    radial-gradient(1px 2px at 84% 60%, #ffffff, #fff0),
    radial-gradient(1px 1px at 87% 13%, #eaeaea, #fff0),
    radial-gradient(1px 1px at 69% 21%, #efefef, #fff0),
    radial-gradient(1px 2px at 62% 83%, #efefef, #fff0),
    radial-gradient(2px 1px at 81% 74%, #efefef, #fff0),
    radial-gradient(1px 1px at 36% 62%, #efefef, #fff0),
    radial-gradient(1px 1px at 94% 68%, #efefef, #fff0),
    radial-gradient(2px 1px at 98% 50%, #efefef, #fff0),
    radial-gradient(1px 1px at 95% 21%, #efefef, #fff0),
    linear-gradient(45deg, #000 5%, #000313 65%, #111 100%);
    background-repeat: repeat;
    background-size: 25% 25%, 33.33% 33.33%, 50% 50%, 20% 20%, 33.33% 33.33%,
    25% 18%, 33.33% 19%, 33.33% 21%, 23% 27%, 27.33% 35.33%, 18.33% 32.33%,
    28.33% 34.33%, 33.33% 30.33%, 25.33% 29.33%, 29.33% 31.33%, 20.33% 29.33%,
    30.33% 27.33%, 22.33% 33.33%, 15.33% 32.33%, 33.33% 22.33%, 100% 100%;
}

.hidden{
    display: none !important;
}

/*.back {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 10px;*/
/*}*/

main{
    position: relative;
    margin: 0 auto;
    max-width: 1080px;
    background-color: whitesmoke;
    /*background-color: rgba(245,245,245,0.5);*/
    /*background-color: transparent;*/
    height: max-content;
    min-height: 100vh;
    display: flex;
    flex-flow:column;
}

header,section,footer{
    position: relative;
    width: inherit;
}

header{
    height: auto;
}

header .logo,header .back{
    font-size: 1rem;
    color: #ccc;
    left: 1rem;
    width: 40%;
    position: relative;
}

header nav{
    display: inline-flex;
    flex-direction: revert;
    float: right;
}

header nav a{
    margin: 0 2px;
}

section {
    height: auto;
    flex: 1;
}

footer{
    bottom:0;
    left: 0;
    height: 10%;
    color:#cccccc;
}

pre{
    background-color: #ccc;
    white-space: pre-wrap;
}

.text-gray{
    color: #cccccc !important;
}

nav span {
    cursor: pointer;
}

nav span:hover {
    color: #008eff;
}
nav li {
    list-style: none;
    display: none;
}

.go-top {
    font-size: 14px;
    color: rgb(255, 255, 255);
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    border-radius: 25px;
    z-index: 99;
    background-color: rgb(30, 144, 255);
    border: 1px solid rgb(30, 144, 255);
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .go-top {
        right: 2px;
        bottom: 2px;
    }
}