body { font: 14px/1.5 monospace; background-color: #24202b; color: white; font-size: 14pt; padding: 0; margin: 0; } #container { display: flex; flex-direction: column; align-items: center; } #wrapper { display: flex; padding: 16px; justify-content: space-evenly; } aside { margin-right: 2em; border: 1px solid; padding: 16px; min-width: 5em; align-self: start; } #player { margin-left: 2em; border: 1px solid; padding: 16px; padding-bottom: 0; display: flex; justify-content: center; align-items: center; align-self: start; } #content { border: 1px solid; padding: 16px; max-width: 50%; // min-width: 40em; } a { color: #cc61be; } #calendar { display: flex; justify-content: center; } h1 { line-height: 1.2; } p { display: block; margin-inline-start: 0px; margin-inline-end: 0px; margin-block-start: 1em; margin-block-end: 1em; } article { padding-bottom: 24px; } @media only screen and (max-width: 768px) { #wrapper { flex-direction: column; align-items: center; } aside { width: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; align-self: unset; } #content{ // max-width: 100%; width: 100%; max-width: unset; // min-width: unset; } #player { width: 100%; margin: 0; padding: 16px; align-self: unset; } body { padding: 10px; // width: 100vh; } #container { width: 100%; justify-content: center; } }