@media (min-width: 768px) {
    html {
        width: 100%;
        height: 100%;
    }

    body {
        width: 100%;
        height: 100%;
        overflow-y: scroll;
    }

    header .masthead {
        font-size: 36px;
        padding: 15px;
    }

    header img {
        display: block;
        height: 1.5em;
    }
}

@media (min-width: 992px) {
    header img {
        height: auto;
    }
}

.main-container {
    margin: auto;
    background: #FFF;
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, .5);
    min-height: 100vh;
}

header {
    color: #FFF;
    background: #900;
    margin-bottom: 2em;
}

header a,
header a:hover,
header a:focus {
    color: inherit;
    text-decoration: none;
}

.navbar {
    background: #C26666;
    border-radius: 0;
    margin: 0;
    min-height: 36px;
    padding: 0 15px;
    border: 0;
}

.navbar a {
    color: #FFF;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus,
.nav .active > a,
.nav .active > a:hover,
.nav .active > a:focus,
.nav > li > a:hover,
.nav > li > a:focus {
    background-color: #900;
}

.navbar-nav > li > a {
    padding: 8px 10px;
    font-size: 21px;
}

h1 {
    font-family: Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
    font-weight: 700;
    color: #900;
}

article a,
aside a {
    text-decoration: underline;
    font-weight: 700;
}

aside {
    padding-top: .5em;
}

.entry {
    clear: both;
}

abbr[title],
abbr[data-original-title] {
    cursor: default;
    border: 0;
}

p.home-news {
    padding-bottom: 3em;
}

p.home-news img {
    display: block;
    border: 10px solid white;
    box-shadow: 3px 2px 5px 3px rgba(0,0,0,.5);
    margin: 1em auto .5em;
    max-width: 600px;
    max-width: min(600px, 80vw);
    max-height: 600px;
    transform: rotate(-1deg);
}

a[data-mailto=""]:after {
    content: "@samariter-nesslau.ch";
}
a[data-mailto=""][data-mailto-domain]:after {
    content: attr(data-mailto-domain);
}

p.home-news img:nth-of-type(2n) {
    transform: rotate(2deg);
}

p.home-news small {
    display: block;
    margin-left: 5em;
    padding-bottom: 3em;
    font-style: oblique;
}

table.table-vorstand tr {
    border-bottom: 1.5em solid transparent;
}

table.table-vorstand td {
    white-space: nowrap;
    padding-left: .5em;
}

table.table-vorstand td:last-child {
    font-weight: bold;
}

@view-transition {
    navigation: auto;
}

::view-transition-group(root) {
    animation-duration: 0.5s;
}
