*, *:before, *:after { box-sizing: border-box; } html { scroll-behavior: smooth; scroll-padding-top: 7em; height: 100%; } body { display: flex; flex-direction: column; margin: 0; min-height: 100%; font-size: 20px; font-family: Lato, Roboto, sans-serif; } header, main, footer { display: flex; flex-direction: column; align-items: center; } main { flex-grow: 1; } .header-content, .main-content, .footer-content { max-width: 1000px; width: 100%; } .header-content { display: flex; flex-direction: row; align-items: center; margin: 0 auto; padding: 5px 8px; } .header-nav .header-content { gap: 0.8em; font-size: 1.2em; } .header-contact .header-content { gap: 1.2em; line-height: 1.6em; justify-content: center; } .header-right { flex-grow: 1; text-align: right; margin-right: 10px; display: flex; flex-direction: row; justify-content: right; } .header-spacer { flex-grow: 1; min-width: 1em; } .header-title { font-size: 1.3em; display: inline-flex; align-items: center; } .header-nav { width: 100%; background-color: #77bc65; position: sticky; z-index: 100; top: 0; box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.15); } .header-contact { width: 100%; background-color: #D6701C; } a { text-decoration: none; } a, a:visited, a:hover, a:focus { color: inherit; } a:hover { text-decoration: underline; } .service-link:hover { text-decoration: none; } .service-icon:hover { filter: drop-shadow( 0px 0px 3px rgba(0, 0, 0, .7)); } .nav-img { width: 100px; height: 60px; } .lang-item { margin: 0 0.2em; } h1, h2, h3, h4 { text-align: center; } .overview { display: flex; flex-direction: row; width: 100%; justify-content: space-between; text-align: center; } .overview > * { width: 24%; } .service-link { display: flex; flex-direction: column; } .service-icon { width: 100%; } .service-name { font-weight: bold; font-size: 1.2em; margin-bottom: 0.4em; } .service:hover > .service-inner { height: 2.5em; } section { background-color: #FFFFFF; width: 100%; } section:nth-child(even) { background-color: #F5F5F5; } section > * { max-width: 1000px; width: 100%; margin: auto; padding: 2.5em 0.5em; } footer { background: #77bc65; padding: 2em 0.5em; box-shadow: 0px -3px 3px rgba(0, 0, 0, 0.15); } .footer-content { display: flex; flex-direction: row; gap: 10px; } .footer-content > * { width: 30%; flex-grow: 1; text-align: center; } footer h2 { margin-top: 0; } .footer-sep { width: 0; flex-grow: 0; border-left: 0.2em solid #F5F5F5; } .credits { font-size: 0.85em; } .privacy h2, .privacy h3, .privacy h3 { text-align: initial; } @media only screen and (max-width:768px) { .header-content { flex-direction: column; align-items: start; } .header-nav .header-content { gap: initial; } .header-contact .header-content { gap: initial; } .overview { display: grid; grid-template-columns: 1fr 1fr; } .footer-content { flex-direction: column; } .footer-content > * { width: initial; } .overview > * { width: initial; } }