/* start.css */ body { background: #333; } #all { width: 90%; margin-left: auto; margin-right: auto; background: #FFF; } #main_content { display: flex; flex-flow: row wrap; justify-content: space-between; } a:link, a:active, a:hover, a:visited { text-decoration: none; font-weight: bold; font-size: 1.12em; color: #960; } nav { border-bottom: solid 1.5px #FF9900; display: flex; } nav li { margin: 0.2em; display: flex; align-items: center; } nav li.search-form { margin-right: 1em; margin-left: auto; } aside { flex-direction: column; flex: 0.5; } .links { list-style: none; } .links li { margin: 0.5em auto; } .side a:link, .side a:active, .side a:hover, .side a:visited { text-decoration: none; font-weight: bold; font-size: 0.9em; color: #960; } .left, .center, .right { flex: 1; padding: 0.5em; } .left { background-color: lightblue; } .center { background-color: lightgreen; } .right { background-color: lightcoral; } footer { display: flex; justify-content: center; } .footer_info { padding: 0.3em; font-size: 1.1em; } @media screen and (max-width: 700px) { #main_content { flex-direction: column; } aside { flex-direction: row; flex-wrap: wrap; } .links li { margin: auto 0.3em auto; } footer { flex-direction: row; flex-wrap: wrap; } }