@media all {
header,nav,main,aside,footer,section,article,figure,figcaption,audio,video { display: block; }
}

* { box-sizing: border-box; }

html {
    margin: 0;
    padding: 0;
    font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif;
    font-size: 1em;
    background-image: url(bilder/niceblue.gif);
    background-attachment: fixed;
}

body, header  { max-width: 62em; }

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0 auto;
    overflow-y: scroll;
}

header {
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 3.125em;
    top: 0;
    background-image:url(bilder/kupfer1.jpg);
    border: 1px solid silver;
    border-bottom: 2px solid #B97850;
}

header h1 {
    text-align: center;
    color: #FFF;
    font-weight: bold;
    font-size: 1.25em;
    letter-spacing: .0625em;
}

main {
    position: relative;
    padding-top: 2.9em;
    display: flex;
    flex-direction: row;
    flex: 1 0 auto;
    border: 1px solid #c0c0c0;
    background-color: #FBFBFB;
}

nav {
    width: 13em;
    background-color: #DE9479;
    padding: 0.3125em;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
}

.nav-item {
    background-color: #D9D9D9;
    border-bottom: 1px solid #F0F0F0;
    font-size: 0.875em;
}

.nav-item div {
    font-weight: bold;
    color: #5C5C5C;
    padding-left: 0.625em;
    padding-top: 0.3125em;
    padding-bottom: 0.3125em;
 }

.nav-item form {
    padding-top: 0.3125em;
    padding-bottom: 0.3125em;
    padding-left: 0.625em;
}

.nav-item button {
    color: #B6543E;
    font-weight: bold;
    cursor: pointer;
}

.nav-item input[type=text] {
    width: 95%;
}

.nav-item button:focus, .nav-item button:hover {
    background-color: #ffffff;
}

.nav-item a {
    display: inline-block;
    font-weight: bold;
    color: #B6543E;
    text-decoration: none;
}

.nav-title {
    width: 85%;
    text-align: left;
    padding-left: 0.625em;
    padding-top: 0.3125em;
    padding-bottom: 0.3125em;
}

.nav-info {
    width: 15%;
    border-left: 2px solid #F0F0F0;
    text-align: center;
    font-size: 1.25em;
    padding-top: 0.125em;
    padding-bottom: 0.125em;
}

.nav-item a:focus, .nav-item a:hover {
    background-color: #ffffff;
}

article {
    padding-left: 1em;
    padding-right: 1em;
    line-height: 1.5em;
    text-align: left;
    word-wrap: break-word;
    hyphens:auto;
}

article h2 {
    background: linear-gradient(#a0d8ec,#55B9DD);
    border: 0.0625em solid #a0d8ec;
    border-radius: 0.375em 0.375em 0 0;
    color: #000000;
    font-size: 1.25em;
    padding: .25em 0;
    font-weight: normal;
    letter-spacing: .0625em;
    text-align: center;
    word-wrap: normal;
    hyphens: none;
}

article h3 {
    font-size: 0.875em;
}

article a {
    color: #A04A37;
    text-decoration: underline solid;
}
/*
article a::before { content: '→'; }
*/
article a:focus, article a:hover {
    text-decoration: underline double;
}

article ul {
    list-style: none;
    font-size: 0.875em;
}

article p {
    font-size: 0.875em;
}

hr {
    height: 0.25em;
    color: #fff;
    background-color: #DE9479;
}

#gruss {
    font-size: 1em;
    line-height: 1.5em;
}

footer {
    background-image: url(bilder/kupfer1.jpg);
    border-top: 0.125em solid #DE9479;
}

footer ul {
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    overflow:hidden;
}

footer li {
    font-size: 0.875em;
    font-weight: normal;
    color: #FFF;
    align-self: center;
}

footer span {
     font-size: 1.5em;
}

footer a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

footer a:focus, footer a:hover {
    background-color: #757575;
}

@media only screen and (max-width: 38em) {
    header h1 {font-size: 1em;}
    main h2 {font-size: 1em;}
    #gruss {font-size: 0.875em;}
    main { flex-direction: column; }
    article h2 { font-weight: bold; }
    nav { width: 100%; }
    .nav-item { font-size: 0.75em; }
}

@media only screen and (max-width: 28em) {
    header h1 { font-size: 0.875em; }
    main h2 { font-size: 0.875em; }
    footer ul {
        display: flex;
        flex-direction: column;
    }
}
