@import url("fonts.css"); html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } html { background-color: white; color: #555; height: 100%; } body { font-family: Open Sans,Arial; font-size: 10pt; line-height: 1.4; text-align: justify; margin: 0; padding: 0; min-height: 100%; display: flex; flex-direction: column; } @media (min-width: 650px) { body { font-size: 11pt; } } @media (min-width: 1000px) { body { font-size: 12pt; } } #headbg { background-image: url("../img/headbg.jpg"); /* Full height */ height: 100vh; /* Center and scale the image nicely */ background-position: center; background-repeat: no-repeat; background-size: cover; } #head { position: absolute; top: 20%; width: 100%; height: 100px; text-align: center; font: 400 65px/1.8 sans-serif; color: white; letter-spacing: 10px; z-index: 100; } #head a { color: white; text-decoration: none; } #head.headerbar { position: fixed; top: 0px; background-color: black; height: 75px; font-size: 45px; transition: none .224s ease-in-out; transition-property: background-color, font-size, height; } footer { font-size: 0.7em; display: flex; justify-content: flex-end; align-items: center; flex-direction: column; margin: 10px 20px; margin-top: auto; } @media (min-width: 650px) { footer { flex-direction: row; } } footer > div { margin: 5px 15px; } @media (min-width: 650px) { footer > div { margin: 0 15px; } } a, a:visited { color: #07a; }