* {
    image-rendering: pixelated;
}

@font-face {
    font-family: vcr; src: url('vcr_osd_mono_1.001-webfont.woff'), monospace;
}

@font-face
{
    font-family: orange; src: url('orange_kid-webfont.woff'), sans-serif;
}

body {
    background-color: #291f3e;
    color: #fff;
    font-size: 18px;
    font-family: sans-serif;
    display: flex;
    margin: 0;
}

.header {
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 0px 30px;
    background-color: #3b7961;
    font-size: 24px;
    color: #f4f2af;
    text-shadow: 4px 0 #291f3e, 0 -4px #291f3e, -4px 0 #291f3e, 0 4px #291f3e;
    background-image: url(media/dexBG.png);
    font-family: vcr;
    text-decoration: underline #3b7961 4px;
}

.baseflex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
    align-items: stretch;
    min-height: 100vh;
    min-width: 100%;
}

.columnL {
    flex: 20%;
    max-width: 20%;
    padding: 0 30px;
}

.columnR {
    flex: 20%;
    max-width: 20%;
    padding: 0 30px;
}

.columnMain {
    flex: 60%;
    max-width: 60%;
    min-width: 60%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.header h1 {
    display: flex;
    justify-content: center;
}

.sidebarL {
    margin: auto;
    width: 85%;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #291f3e;
}

.logo img {
    width: 240px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.imaging {
    height: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    background-image: url(media/dexBG.png);
    width: 240px;
    margin-left: auto;
    margin-right: auto;
    background-size: contain;
    display: flex;
}

.imaging img {
    width: 240px;
    height: inherit;
    object-fit: cover;
    
}

.sideText{
    font-family: vcr;
    color: #f4f2af;
    text-shadow: 3px 0 #291f3e, 0 -3px #291f3e, -3px 0 #291f3e, 0 3px #291f3e;
    font-size: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    
}

.sideText p{
    margin: 20px;
    width: 100%;
}

/*Back Button*/
.return a {
    color: #f4f2af;
    text-align: center;
    padding: 12px 12px;
    text-decoration: none;
    font-size: 20px;
    background-color: #291f3e;
    border: 5px solid;
    border-color: #f4f2af;
    width: 90px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    transition-duration: 0.6s;
}

.return a:hover {
    background-color: #f4f2af;
    color: #291f3e;
    font-weight: bold;
}

.main {
    padding: 10px 20px;
    background-color: #291f3e;
    border: 5px solid;
    border-color: #f4f2af;
    color: #f4f2af;
    height: 700px;
    display: flex;
    flex-direction: column;
}

.title img{
    display: block;
    float: left;
    width: 200px;
    height: 200px;
    margin: 20px;
    border: 5px solid #f4f2af;
}

.title h1 {
    font-size: 40px;
    font-family: vcr;
}

.title h2 {
    font-family: vcr;
}

#extra {
    font-style: italic;
}

.desc{
    padding: 0px 10px;
    border: 5px double #f4f2af;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    height: 520px;
    overflow: scroll;
    font-family: orange;
    font-size: 28px;
    
}

/*Right Menu*/
.datacontainer {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-height: 100vh;
}
.datalist {
    padding: 0px;
    background-color: #291f3e;
    overflow: scroll;
    min-height: inherit;
    box-sizing: border-box;
    border: 2px solid #f4f2af;
}

.datalist button {
    padding: 15px 10px;
    height: 75px;
    width: 100%;
    text-align: left;
    font-family: vcr;
    font-size: 18px;
    transition-duration: 0.3s;
    background-color: #f4f2af;
    border-style: outset;
    border-color: #291f3e;
    border-width: 2px 6px;
    color: #291f3e;
}

.datalist button:hover {
    border-width: 5px 12px;
    border-style: inset;
    border-color: #291f3e;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: scroll;
}

.returnM {
    display: none;
}

@media screen and (max-width: 1440px){
    
    .column {
    flex: 25%;
    max-width: 25%;
    padding: 0 30px;
}

.columnMain {
    flex: 50%;
    max-width: 50%;
    min-width: 50%;
    margin-top: 10px;
    margin-bottom: 10px;
}
    
    .logo img {
    width: 200px;
    height: auto;
}
    
    .imaging {
    width: 200px;
}
    
}

@media screen and (max-width: 834px){
    
    .header {
        display: none;
    }
    
.baseFlex{
    flex-direction: column;
    flex-wrap: wrap;
}

.columnL {
    display: none;
}

.columnR {
    flex: 45%;
    max-width: 45%;
    padding: 0px;
}

.columnMain {
    flex: 55%;
    max-width: 55%;
    min-width: 55%;
    margin-top: 10px;
    margin-bottom: 10px;
}
    
.logo img {
    width: 0px;
}
    
.sidebarL {
    display: none;
}
    .main {
        height: 100%;
        padding: 0px 7px;
        margin: 0px;
        border: none;
    }
    
    .title img{
        display: block;
        width: 150px;
        height: auto;
        border: 5px solid #f4f2af;
        margin: 10px;
}
    .title h1 {
    font-size: 30px;
}

.title h2 {
    font-size: 20px;
}
    
    .desc{
    height: 720px;
    overflow: scroll;
    font-family: orange;
    font-size: 28px;
    
}
    
    .returnM {
    text-align: center;
    padding: 12px 12px;
    border: 4px solid;
    border-color: #f4f2af;
        border-radius: 50%;
    width: 100px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    margin-top: 10px;
}
    .returnM img {
        width: 96px;
    }
    
}

@media screen and (max-height: 920px){
    .main{
        height: 720px;
    }
    .desc{
    height: 400px;
    
}
    
}

@media screen and (max-height: 880px){
    .main{
        height: 800px;
    }
    .desc{
    height: 320px;
    
}
}

@media screen and (max-height: 800px){
    .main{
        height: 550px;
    }
}

@media screen and (max-height: 780px){
    .main{
        height: 740px;
    }
    
    .desc{
    height: 250px;
}
    
}

@media screen and (max-height: 670px){
    .desc{
    height: 150px;      
}
    .returnM {
    padding: 5px 5px;
    border: 2px solid;
    width: 70px;
}
    .returnM img {
        width: 70px;
    }
}