@import "minireset"; @import "fonts"; a { text-decoration: none; color: inherit; } body { min-height: 100vh; display: flex; flex-direction: column; font-family: "roboto", sans-serif; font-size: 16px; color: #2E3440; } header { padding: 4rem 0; border-top: 8px solid; border-image: linear-gradient(to right, #8FBCBB 0%, #88C0D0 33%, #81A1C1 66%, #5E81AC 100%) 1; .wrap { margin: 0 auto; display: flex; justify-content: space-between; height: 6rem; max-width: 1250px; } a.logo { height: 100%; img { height: inherit; } } section { height: 100%; display: flex; flex-direction:column; justify-content: space-between; padding: .3rem 0 .1rem 0; } nav { ul { display: flex; a { padding: .9rem } } } nav.secondary { font-size: .9rem; color: #4C566A; a:hover { text-decoration: underline; } } nav.primary { font-weight: bold; font-size: 1.2em; a::after { content: ""; display: inline-block; background: url("nav-arrow.svg") center center no-repeat; background-width: 100%; width: .5em; height: 50%; margin-left: .4em; } } } main { max-width: 900px; width: 100%; margin: 0 auto 5rem auto; padding: 1rem; h1, h2, h3, h4, h5, h6 { font-weight: bold; margin: 2em 0 1em 0; } h1 { font-size: 2em } h2 { font-size: 1.6em } h3 { font-size: 1.2em } p { line-height: 1.5; margin: 1em 0; } .blocks { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-column-gap: 1rem; article { padding: 1em; border-top: 5px solid #5E81AC; &:hover { box-shadow: 0px 1px 9px #00000033; } .title { font-weight: bold; font-size: 1.3em; margin: .5em 0; } .date { display: block; width: 100%; text-align: right; font-size: 0.8em; color: #81A1C1; } } } .aktuality { grid-template-columns: 1fr 1fr; } .centering { text-align: center; } } footer { margin-top: auto; padding: 3em; text-align: center; color: #ECEFF4; background-color: #2E3440; border-top: 5px solid; border-image: linear-gradient(to right, #BF616A 20%, #D08770 20%, #D08770 40%, #EBCB8B 40%, #EBCB8B 60%, #A3BE8C 60%, #A3BE8C 80%, #B48EAD 80%) 5; p:nth-child(2) { margin-top: 1rem; font-weight: bold; } } div.rambotron { width: 100%; text-align: center; color: #ECEFF4; background: linear-gradient(rgba(94, 129, 172, 0.95), rgba(94, 129, 172, 0.95)), url("rambotron.jpg") center center no-repeat; background-size: cover; h1 { font-size: 2em; font-weight: bold; margin: 1em 0 .8em 0; } p { max-width: 40em; margin: 0 auto; line-height: 1.5; font-size: .9rem; } .links { background-color: #3B4252; margin-top: 2.5rem; ul { display: flex; justify-content: center; a { display: block; padding: 1.1rem; margin: 0 1rem; &:hover { background-color: #2E3440; } } } } }