html, body {
    margin: 0px;
}

body {
    font-size: 14px;
    font-family: sans-serif;
    background-image: url("/assets/paper.png");
    background-size: cover;
}

h1, h2 {
    text-align: center;
    clear: both;
}

a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#container {
    margin: 0px auto;
    max-width: 1024px;
    background-color: white;
}

#header {
    width: 100%;
    height: 400px;
    margin-bottom: 10px;
}

#header img {
    width: 100%;
    height: 100%;
    display: none;
}

#header img.active {
    display: block;
}

#headertitle {
    text-align: right;
    font-style: italic;
    height: 53px;
    line-height: 26px;
    font-size: 23px;
    position: relative;
    top: -53px;
    background-color: rgba(255, 255, 255, 0.5);
}

#headertitle p {
    position: absolute;
    right: 0px;
    width: 66%;
    display: none;
    margin: 0px;
    padding-right: 4px;
}

#headertitle p.active {
    display: block;
}

#footer {
    font-size: 0.8rem;
    margin-top: 20px;
    color: white;
    background-color: #222222;
    height: 40px;
    padding: 0px 4px;
}

#footer p {
    margin: 0px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

#footer p a {
    color: white;
    text-decoration: underline;
    font-weight: normal;
}

#imprintlink {
    float: right;
}

#socialmedia {
    position: fixed;
    top: calc((100% - 192px) / 2); /* 192px = 3 x 64px (each icon is 64px high) */
    left: 0px;

    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

#socialmedia li, #socialmedia li a, #socialmedia li a img {
    width: 64px;
    height: 64px;
}

.starticons {
    text-align: center;
}

.starticon {
    width: 200px;
    height: 300px;
    display: inline-block;
    border: 1px solid black;
    margin: 20px;

    background-color: #fffaa2;
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

.starticon img {
    width: 100%;
    height: 250px;
    border-bottom: 1px solid black;
    background-color: white;
}

.starticon p {
    margin: 0px;
    height: 45px;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    width: 200px;
}

.facebook-include {
    display: inline-block;
    width: 500px;
    height: 500px;
    margin: 2px;
    text-align: center;
}

.twitter-include {
    display: inline-block;
    width: 250px;
    height: 500px;
    margin: 2px;
    text-align: center;
}

.text {
    width: 80%;
    max-width: 70ch;
    margin: 0px auto;
    text-align: justify;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.breadcrumbs {
    margin-left: 10px;
}

/* Individual styles */

.center {
    text-align: center;
}

.center img {
    max-width: 100%;
}

.floatimg {
    float: right;
    margin-left: 4px;
    width: 100px
}

.first-letter {
    float: left;
    font-size: 75px;
    line-height: 60px;
    padding-top: px;
    padding-right: 8px;
}

/* Mobile optimisation */

@media(max-width: 850px) {
    /* Do not display the picture titles on small screens */
    #headertitle, #headertitle p {
	display: none;
    }
    #headertitle p.active {
	display: none;
    }

    #copyright {
	display: none;
    }

    #socialmedia {
	position: static;
	display: block;
	text-align: center;
	margin-top: 10px;
    }
    #socialmedia li {
	display: inline-block;
    }
}

@media(min-width: 1026px) { /* 1024 + 2px for the border */
    #container {
	border-left: 1px solid #222222;
	border-right: 1px solid #222222;
    }
}
