*, *:before, *:after {
    box-sizing: border-box;
}

html, body {
    font-family: tahoma, Verdana, Segoe, "Open Sans", helvetica, arial, roboto ,sans-serif;
    font-size: 62.5%;
    line-height: 1.5;
    height: 100%;
}

body {
    font-size: 1.8rem;
    margin: 0 auto;
    background-color: #DDD;
    color: #000;
    margin: 0rem;
}

/* ÜBERSCHRIFTEN */

h1, h2, h3, h4, h5 {
    font-weight: bold;
    color: #000;
}

h1 {
    font-size: 3.5rem;
    font-weight: 200;
    line-height: 3.8rem;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    line-height: 3rem;
}

h3 {
    font-size: 2rem;
    line-height: 2.4rem;
    letter-spacing: 0rem;
}

/* ALLGEMEINES */

a {
    color: #000;
    text-decoration: underline;
    padding: 0.6rem;
}

a:hover {color: #800;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* FORM  */

form label {
    display: block;
    font-weight: 800;
    margin: 5px 0px 5px 0px;
    font-size: 0.8em;
    color: #000;
}
form input[type="text"], form input[type="email"], form input[type="password"],	form select, form textarea {
    display: block;
    width: 60%;
    background: #FFF;
    border-radius: 8px;
    border: solid 1px #DDD;
}
    form textarea {
        min-height: 25em;
        width: 100%;
    }
    form input[type="text"]:focus, form input[type="email"]:focus, form input[type="password"]:focus, form select:focus, form textarea:focus {
        border-color: #800;
    }

form input[type="text"], form input[type="email"], form input[type="password"], form select {
    padding: 5px;
}
form select {
    width: 25%;
}

a.button, input.button {
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 2.0rem;
    margin: 10px 10px 10px 0px;
    padding: 10px;
    background: #FFF;
    border: 2px solid #000;
    border-radius: 8px;
}
a.button:hover, input.button:hover {
    color: #0993e4;
    border: 2px solid #0993e4;
}

/* FOTOS */

.titlephoto {
    margin: 10px;
}
    .titlephoto img {
        border-radius: 2rem;
        border: solid 0.4rem #0993e4;
        padding: 2px;
        display: block;
    }

.thumb img {
    margin: 2px;
    padding: 2px;
    border-radius: 2rem;
    border: solid 0.4rem #000;
    width: 200px;
}
.thumb img:hover {
    border-radius: 2rem;
    border: solid 0.4rem #0993e4;
}

/* CONTENT */

#content {
    display: block;
    margin: 0rem auto;
    width: 90vw;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    border-radius: 1rem;
}

/* STARTSEITE */

#page {
    background-color: #FFF;
    background-attachment: fixed;
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: auto;
    top: 0rem;
    left: 0rem;
    padding: 4rem 1rem;
    background-image: url(../images/background.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

#logo {
    border-radius: 36rem;
    border: solid 0.4rem #0993e4;
    margin-top: -5.8rem;
    width: 150px;
    height: 150px;
}

article {
    text-align: left;
    padding: 1rem 1rem 6rem 1rem;
	display: flow-root;
}
    header {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
        header .pagetitle {
            font-size: 3.5rem;
            line-height: 3.7rem;
            text-align: center;
        }

/* FOOTER  */

.footer {
    width: 100%;
    text-align: center;
    margin: 0;
}

.footer ul {
    padding: 0rem;
    margin: 0;
}

.footer li {
    display: inline;
}

.footer a {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    background: transparent;
    color: #fff;
    margin: 0.5rem 0.2rem 0.5rem 0.2rem;
    text-decoration: underline;
}

.footer a:hover {
    text-decoration: none;
    color: #0993e4;
}

/* MEDIA QUERIES */

/* ab 600 pixel */
@media (min-width: 600px) {
    
	.photos img {
		width: 380px;
	}
	
	.photowrapper img {
		max-height: 340px;
		max-width: 340px;
	}

}