body{
    background-image: url(./images/blackpaperbg.jpg);
    background-repeat: repeat;
    background-color: black;
    color: white;
    font-size: 1em;
    font-family: 'Raleway', sans-serif, Georgia, 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
}

a{
    color: rgb(255, 35, 226);
    text-decoration:underline;
}

h1{
    font-size: 3.6rem;
    color: rgb(204, 52, 209);
    font-family: 'Staatliches', cursive;
    text-shadow: 0px 0px 6px rgb(204, 52, 209);
}

h2{    font-size: 2.4rem;
    color: rgb(204, 52, 209);
    font-family: 'Staatliches', cursive;
    line-height: 1.3rem;
}

h3{    font-size: 1.8rem;
color: rgb(134, 73, 233);
font-family: 'Staatliches', cursive;
line-height: 1.3rem;
}

H4{
    font-size: 1.4rem;
    color: rgb(204, 52, 209);
    font-family: 'Oswald', cursive;
    line-height: 1.3rem;
}

#main-text{
    font-size: 1em;
    line-height: 150%;
}

#headerimg{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}


#header-navigation{
    background-color: black;
    text-align: center;
    border-style: double solid solid double;
    border-color: rgb(199, 199, 199);
    border-width: 3px;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 0.9;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4px;
    max-width: 500px;
    font-size: 0.875em;
}

.flexnav{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#topbutton{
    border: 1px rgb(134, 73, 233) solid;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 1%;
    padding-bottom: 1%;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    background-image: url(./images/bgwire.png);
}

#sidebarbutton{
    border: 1px rgb(134, 73, 233) solid;
    border-radius: 10%;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-left: 2%;
    margin-right: auto;
    margin-top: 6%;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 1%;
    padding-bottom: 1%;
    background-image: url(./images/bgwire.png);
}


#socialbuttons{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10%;
    margin-left: 5%;
    margin-right: auto;
    
}

.flex-container{
    display: flex;
    margin: 0 auto;
    margin-bottom: 1px;
}

#Content-box{
    flex-wrap: wrap;
    min-height: 400px;
    font-size: 0.875em;
    margin: 0 auto;
    justify-content: center;
    height: auto;
}

#leftbox{
    padding-right: 0.5%;
    padding-left: 0.5%;
    margin-top: 10px;
    margin-bottom: 1px;
    border: solid 1px;
    width: 11%;
    border-color: rgb(199, 199, 199);
    margin-left: 0.2%;
    background-color: black;
}

        #abouttext{
            margin-left: 0.01%;
            margin-right: 0.01%;
            padding: 5px;
            background-color: #222023;
            text-align: center;
            border: 1px dotted white;
        }

#maincontent{
    padding-left: 2%;
    padding-right: 2%;
    margin-top: 10px;
    margin-left: 9px;
    margin-right: 9px;
    margin-bottom: 1px;
    border-style: double solid solid double;
    border-color: rgb(199, 199, 199);
    border-width: 3px;
    width: 50%;
    background-color: black;
    padding-bottom: 80px;
    overflow: hidden;
}

#rightbox{
    padding-right: 0.5%;
    padding-left: 0.5%;
    margin-top: 10px;
    margin-bottom: 1px;
    border: solid 1px;
    border-color: rgb(199, 199, 199);
    width: 12%;
    margin-right: 0.2%;
    background-color: black;
}

#footerbox{
    text-align: center;
    border-style: double solid solid double;
    border-color: rgb(199, 199, 199);
    border-width: 3px;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    line-height: 0.9;
    margin-bottom: 0px;
    max-width: 900px;
    background-color: black;
}


/*Undersize.*/

@media only screen and (max-width: 800px) {
    #header-navigation{
        width: 100%;
        display: block;
        max-width: 100%;
    }

    #rightbox{
        order: 3;
        width: 100%;
        display: block;
    }

    #maincontent{
        width: 100%;
        order: 1;
        display: block;
        margin-left: 0;
        margin-right: auto;
    }
    #leftbox{
        width: 100%;
        order: 2;
        display: block;
    }
    

    #footerbox{
        width: 100%;
        max-width: 100%;
        line-height: 1.5rem;
    }

    body{
        font-size: 100%;
        line-height: 1.5rem;
    }
    
    h1{
        font-size: 2rem;
        line-height: 1.5rem;
    }
    
    h2{    font-size: 1.5rem;
        line-height: 1.5rem;
    }
    
    h3{    font-size: 1.1rem;
        line-height: 1.5rem;
    }
    
    H4{
        font-size: 1.3rem;
        line-height: 1.5rem;
    }


}

.hardpixel{
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode:nearest-neighbor; /*IE 7-11*/ 
    image-rendering: -o-crisp-edges; /*Opera 12*/ 
    image-rendering: -webkit-crisp-edges; /*Safari 6-9*/ 
    image-rendering:-moz-crisp-edges; /*Firefox 3.6-64*/ 
}


/* CONTENT */

#hexlogosvg{
    width: 100%;
    max-width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;

}
