.intro, .postscript, .event { border-bottom: 1px solid black; max-width: 800px; margin: auto; } p { } #contact { .content { padding-top: 64px; width: 640px; max-width: calc(100% - 16px); height: 480px; margin: auto; } input, textarea { width: 600px; max-width: 100%; border-radius: 4px; border: 1px solid black; } input[type="submit"] { background: none; } input[type="submit"]:hover { font-weight: bold; cursor: pointer; } textarea { height: 320px } } @media screen and (max-width: 799px) { #intro { margin: 16px; .row { display: flex; flex-direction: column; } } } .campaigns { font-weight: bold; //color:#1abc9c; } .places { font-weight: bold; //color:#f39c11; } .actions { font-weight: bold; //color:#ff00cc; } .council{ font-weight: bold; //color:#3399cc; } .event .side-by-side { display: flex; flex-direction: row; } .event:nth-child(2n) .side-by-side { flex-direction: row-reverse; } .media, .text { width: 50%; padding: 8px; } .media iframe { width: 100%; height: 100%; } .media img { width: 100%; height: 100%; object-fit: contain; } @media screen and (max-width: 799px) { .media, .text { width: 100%; } .event .side-by-side { flex-direction: column; } .event:nth-child(2n) .side-by-side { flex-direction: column-reverse; } } .page { display: none; } .page.active { display: inherit; } #title, #about, #imprint { background-image: url("/media/image/birds_medium.jpg"); background-size: cover; overflow-y: auto; &.active { display: flex; } h1 { text-align: center; } .content { margin: auto; user-select: text; .start { font-size: 36px; display: block; width: 100%; text-align: center; font-family: 'PT Sans Narrow',sans-serif; } p { a, a:visited, a:active, a:hover { color: #c34528; } } } .reference { color: #333; font-size: 11px; line-height: 1em; margin-top: 64px; } .credit { position: fixed; left: 5px; bottom: 5px; color: #000; font-size: 11px; } } #title { .content { margin-top: 256px; } } #imprint { h2 { text-align: center; } } #about, #imprint { .content { max-width: 800px; margin: auto; color: #ddd; background-color: rgba(1,1,1, 0.5); border-radius: 10px; padding: 16px; font-size: 20px; h2,p { color: #ddd; } p { font-size: 20px; } } } @media screen and (max-width: 799px) { #title, #about { .content { margin-top: 64px; text-align: center; } } } #contact { background-image: url("/media/image/birds_medium.jpg"); background-size: cover; input, textarea { background: transparent; color: #fff; } } #menu { position: fixed; right: 0; top: 0; z-index: 101; } #menu-overlay { z-index: 100; position: fixed; display: none; bottom: 0; left: 0; right: 0; top: 0; background: #fff; background-image: url("/media/image/birds_medium.jpg"); background-size: cover; &.active { display: flex; } ul { margin: auto; margin-right: 16px; margin-top: 64px; text-align: right; list-style-type: none; padding: 0; li { font-family: 'PT Sans Narrow',sans-serif; line-height: 1.5em; font-size: 36px; a, a:visited, a:active, a:hover { } } } }