.front-links > ul { margin: auto; padding: 0; display: flex; justify-content: center; } .front-links > ul > li > a, .front-links > ul > li > a:visited { text-decoration: none; color: #586761; } .front-links > ul > li { list-style: none; text-align: center; margin: 10px; padding: 0; } @media screen and (max-width: 800px) { .front-links > ul { flex-direction: column; } } .response { display: flex; flex-direction: column; align-items: center; } #lyphebig { display: grid; margin: 7% 10% 0 10%; grid-auto-flow: column; width: 55%; } @media screen and (max-width: 800px) { #lyphebig { grid-auto-flow: row; } } #lyphetitle { display: grid; margin-left: 5px; padding-top: 20%; } @media screen and (max-width: 800px) { #lyphetitle { padding-top: 0; } } .bent-surrounding { background: url("/static/img/borderbent.png") no-repeat center; background-size: 90%; display: grid; height: auto; } #lypheimg { width: 90%; margin: auto; } #lyphetitle > img { width: 100%; margin: 0; } #lyphetitle > h2 { font-family: NanumGothicCoding, monospace; font-size: 175%; color: #9baba4; } @media screen and (max-width: 800px) { #lyphetitle > h2 { font-size: 100%; } } form { margin-top: 10%; } .pagecontent { margin: 0; min-height: 100vh; width: 100%; display: flex; flex-direction: column; align-items: center; flex-grow: 1; }