/*Stylesheet für die Foto-Webseite*/

html {
    scroll-behavior: smooth;
    background-color: #ccc;
}
/*Mit dieser Anweisung wird der Sprung auf der Seite nach oben langsam ausgeführt*/

body {
    /*background-color: whitesmoke;*/
    /*min-width: 320px;*/
    /*max-width: 1500px;*/
    margin-right: auto;
    margin-left: auto;
    font-family: system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    
}

.startseite {
background-color: whitesmoke;
min-width: 400px;
max-width: 1000px;

}

.fotoseite {
background-color: #ccc;
min-width: 320px;
max-width: 1000px;
}

header h1 {
    margin-bottom: 0;
}

header h1 + p {
    margin-top: 0;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

h1, h2, h3, h4 {
    font-weight: 500;
}

img {
    max-width: 100%;
    height: auto;
}

video {

    max-width: 100%;
    height: auto;
}

a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15rem;
    text-decoration-color: black;
}


figure {
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 1rem;
}

/*border-box aktivieren*/
*, *::before, *::after {
    box-sizing: border-box;
}

.site-content {
    padding: 0 1rem;
    margin-bottom: 1rem;
    /*Zeilenabstand für den Inhaltsbereich erhöhen*/
    line-height: 1.5;
}



/*Hyperlinks im Inhaltsbereich gestalten*/
.site-content a:link {
    color: #0b74b8;
    text-decoration: none;
}

.site-content a:visited {
    color: green;
    text-decoration: overline;
}

.site-content a:hover {
    color: #008000;
    text-decoration: underline;
}

/*Navigationsbereich*/
.site-nav {
    background-color: #fc6;
    color: #906;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.site-nav ul {
    list-style-type: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.site-nav li {
    flex: 1;
    max-width: 11rem;
    border-right: 1px solid #906;
}

.site-nav li:first-child {
    border-left: 1px solid #906;
}

.site-nav [aria-current] a {
    background: #0b74b8;
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15rem;
}

.site-nav a {
    color: #906;
    text-decoration: none;
    text-align: center;
    display: block;
    padding: 0.5rem 1rem;
}

.site-footer {
    /*font-size: smaller;*/
    background-color: #fc6;
    color: #906;
    padding: 0.5rem 1rem;
}

.site-footer ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end; /*Listenelemente rechtsbündig ausrichten*/
    gap: 1rem; /*Zwischenraum*/
    padding: 0;
    margin: 0;
}

footer a {
    color: #906;
    text-decoration: none;
}

.site-header {
    /*Innenabstände für den Kopfbereich*/
    padding: 0 1rem;
    padding-top: 1px;
    margin-bottom: 1rem;
}

.site-header h1 {
    margin-bottom: 0;
}

.site-header h1 + p {
    margin-top: 0;
}

.infoboxen {
    background-color: whitesmoke;
    padding: 1rem;
    margin-bottom: 1rem;
}

.infobox {
    text-align: center;
    background-color: white;
    padding: 1rem;
    margin: 1rem;
}

div {
    background-color: lightsteelblue;
    padding: 2rem 1rem;
    border: 0.5rem solid steelblue;
    border-radius: 1rem;
    text-align: center;
}

/*CSS-Regel zur Vermeidung von Collapsing Margins*/
h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote {
    margin-top: 0;
}
