/* * #F2F2FF - White * #EDAF1F - Orange * #17466E - Blue */ #html { height: 100%; display: flex; } #body { background-color: #F2F2FF; background-image: url("duck.png"); background-size: 50%; background-repeat: no-repeat; background-position: right bottom; display: flex; margin: 0; width: 100%; font-family: "Noto Sans Mono", "Monaco", serif; flex-direction: column; } #header { display: flex; justify-content: space-between; padding: 2rem; } #title { font-family: "Noto Serif Display", "American Typewriter", serif; font-weight: normal; text-align: center; display: block; margin: 0; } #title a { text-decoration: none; color: black; } #links { display: flex; align-items: center; } #links a { margin: 1rem; font-size: 1.2rem; text-decoration: none; color: black; padding: 1rem; } #links .button { background-color: #17466E; color: #F2F2FF; border-radius: 20px; box-shadow: 2px 2px 0 black; } #page { height: 100%; display: flex; margin: 1rem; margin-bottom: 4rem; } #social { width: 1.5em; display: flex; flex-direction: column; justify-content: center; } #social a { margin: .5em 0; } #social .icon { width: 100%; } #main { width: 100%; display: flex; align-items: center; justify-content: space-evenly; flex-wrap: wrap-reverse; } #quote { display: block; font-size: 1.5rem; margin: 0; } #quote figcaption { text-align: right; } #slogan { text-align: right; font-size: 3rem; } #slogan mark { box-shadow: 2px 2px 0 black; background-color: #17466E; color: #F2F2FF; position: relative; } #banner { background-color: red; color: white; padding: 10px; font-weight: bold; font-size: 30px; text-align: center; font-family: sans-serif; } #banner a { color: white; } @media only screen and (max-width: 600px) { #body { background-image: none; } #main { margin-bottom: 0; } #header { flex-direction: column; align-items: center; } #quote { max-width: 100%; margin: 2rem 0; } #slogan { margin: 2rem; } #slogan mark { background-color: #EDAF1F; color: black; } } @media only screen and (min-width: 600px) { #quote { max-width: 80%; } } @media only screen and (min-width: 768px) { #quote { max-width: 50%; } } @media only screen and (min-width: 992px) { #quote { max-width: 40%; } }