/* IMPORT FONTS */
@font-face {
    font-family: '8-bit_final';
    src: url('https://disctwo.net/binder/grandia/font/8bitfinal-webfont.woff2') format('woff2'),
         url('https://disctwo.net/binder/grandia/font/8bitfinal-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
/* BODY STUFF */

body {
    background: no-repeat fixed center / 100% url(/binder/grandia/img/grandia-map.gif);
}

/* MISC CLASSES */
.flex {
  display: flex;
  justify-content: center;
  align-content: center;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  box-shadow: 5px 5px 0px black; 
}

.textbox {
    background: transparent;    
    padding-top: -5px;
    padding-left: 12px;
    padding-right: 12px;
    border-image-slice: 27 27 27 27;
    border-image-width: 20px 20px 20px 20px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
    border-image-source: url(/binder/grandia/img/border.png);
    border-style: solid;
    width: 1200px;
    height: 850px;   
    box-shadow: 0px 0px 0px 0px white;
    z-index: 4;
}

.textbox::before {
    content: "";
    background: url(/binder/grandia/img/dirt.png);
    position: absolute;
    top: 7px;
    right: 7px;
    bottom: 3px;
    left: 8px;
    opacity: 0.55;
    z-index: -1;
}

/* MAIN FRAME */
#mainframe {
    margin-right: 20px; 
    border: 0px;
    height: 95%;
}

#main {
    margin: auto;
    margin-top: -60px;
    width: 50%;
    width: 1000px;
    height: 1000px;
    box-shadow: 0px 0px 0px 0px white;
    flex-direction: row;
    flex-wrap: wrap;
}

#mainlol {
    background: url(/binder/grandia/img/grandia-back.png);
    border: solid 3px black;
    box-shadow: 0px 0px 0px 0px white;
}



#mainpost {
    width: 67.5%;
    height: 653px;
    margin-right: 50px;
    top: 152px;
    right: 0.45%;    
    position: absolute;
    overflow: hidden;
}

#sesbody {
    background: transparent;
}

/* HEADER AND NAVBAR */
#header {
    margin: auto;
    width: 50%;
    background: transparent;
    border: solid 0px white;
    box-shadow: 0px 0px 0px 0px white;
}

#header1 {
    margin-right: 50px; 
    width: 85%;
    height: fit-content;
}

#navbar {
    margin-left: 50px;
    width: 15%;
    height: 800px;
    text-align: center;
}   

#navbartext {
    padding: 0;
    font-family: '8-bit_final';
    font-size: 32px;
    color: #00F000;
    text-shadow: 2px 2px 0px black; 
    background: transparent;
}



/* TEXT STUFF */
h1 {
    font-family: '8-bit_final';
    font-size: 32px;
    color: #F8F800;
    text-shadow: 2px 2px 0px black; 
    background: transparent;
}

h2 {
    font-family: '8-bit_final';
    font-size: 32px;
    color: #00F000;
    text-shadow: 2px 2px 0px black; 
    background: transparent;
    margin-top: -20px;
}

p {
    font-family: 'Tahoma', sans-serif;
    font-size: 16px;
    margin-left: 15px;
    margin-right: 15px;
    color: white;
    text-shadow: 2px 2px 0px black;  
}

a {
    color: #00F000;   
}


#skull1 {
    display: inline;
    margin-left: 30%;
}

#skull2 {
    display: inline;
    margin-left: 70%
}