html {width: 100%;} body{ font-size: 100%; color: chartreuse; background-color: black; list-style-position: inside } hr{ border-top: 1px dashed green; } #header{ text-align: center; border-style: double double none double; border-color: green chartreuse; margin-left: 20%; margin-right: 20%; } #headerandskulls{ width: 100%; } #navbutton{ border: 4px 2px 2px 4px; border-color: green; border-style: double solid solid double ; border-radius: 10px; font-size: large; text-align: center; margin-left: 40%; margin-right: 40%; margin-top: 5px; margin-bottom: 5px; font-weight: bold; font-size: 100%; padding: 1%; } #navbutton:hover{ background: green; color: black; } a{ color: aqua; } @font-face { font-family: "junkostypewriter"; src: url(../Fonts/junkos\ typewriter.ttf); } .inlineimg{ display: inline; } h1{ font-family: "junkostypewriter", Courier, monospace; font-weight:100; font-size: 3.1vw; } h2{ font-family: "junkostypewriter", Courier, monospace; font-weight:100; font-size: 2em; text-align: center; } #bold{ font-weight: bolder; } #flexrow{ display: flex; flex-direction: row; justify-content: center; } #legend{ width: 30%; overflow-wrap:break-word; background-color: #08160d; border: 1px solid green; } #submit{ width: 30%; overflow-wrap:break-word; background-color: #08160d; border: 1px solid green; } #spreadsheetcontainer{ height: auto; min-height: 800px; border-style: double double solid double; border: 4px 4px 1px 4px; border-color: green chartreuse; margin-left:auto; margin-right:auto; height:fit-content; margin-top: -0.5%; width: 69%; text-align: center; } #sheetframe{ width: 100%; height: 1000px } #venues{ border-style: double double solid double; border-color: green chartreuse; margin-left: 20%; margin-right: 20%; } footer{ text-align: center; border-style: none double solid double; border-color: green chartreuse; margin-left: 20%; margin-right: 20%; } #skull{ display: inline-block; position: relative; top: 25px; max-width: 100px; width: 20%; } @media only screen and (max-width: 1200px) { #skull{ display: none; } } /*Undersize.*/ @media only screen and (max-width: 800px) { #header{ width: 100%; display: block; max-width: 100%; margin-left: 0; margin-right: auto; } .flex-container{ flex-direction: column; } #spreadsheetcontainer{ width: 100%; display: block; margin-left: 0; margin-right: auto; } #venues{ width: 100%; display: block; margin-left: 0; margin-right: auto; } #legend{ width: 100%; display: block; margin-left: 0; margin-right: auto; } #submit{ width: 100%; display: block; margin-left: 0; margin-right: auto; } h1{ font-family: "junkostypewriter", Courier, monospace; font-weight:100; font-size: 4em; } footer{ width: 100%; max-width: 100%; margin-left: 0; margin-right: auto; } }