/* Stylesheet für WTEED.com */
/*
@import url(basic.css);
@import url(layout.css);
@import url(layout-modern.css);
@import url(navi-responsive.css);
@import url(content.css);
*/

/* 1) Globale Einstellungen für die gesamte Wenbseite */

/* Variablen */

:root {
    --bars_bg_color: #2E88C8;
    --bars_bg_color_dark: #3E3E3E;
}


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

html {
    /* sanftest scrollen aktivieren */
    scroll-behavior: smooth;
}

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

figure,
blockquote {
    margin-right: 0;
    margin-left: 0;
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
blockquote {
    margin-top: 0;
}

/* 2) Grundlegende Gestaltung von Schrift und Text */

body {
    /* font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
    font-family: "Source Sans Pro", sans-serif;
    font-size: 1rem;
    display: flex;
    flex-flow: column;
    min-height: 100vh;
    margin: 0;
}

.site-content {
    flex: 1
}

h1 {
    font-size: 2.5rem;
    font-weight: 500;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
}

h4 {
    font-size: 1.5rem;
    font-weight: 500;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}



/* 3) nützliche allgemeine Klassen */


.visually-hidden {
    position: absolute !important;
    clip: rect(0, 0, 0, 0) !important;
    overflow: hidden !important;
    white-space: nowrap !important;

    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    margin: -1px !important;
}

.float-right {
    float: right;
    margin: 0rem 0 0 1rem;
}

.float-left {
    float: right;
    margin: 1rem 0 0 0rem;
}

.float-stop {
    clear: both;
}

figure[class~="float-right"],
figure[class~="float-left"] {
    text-align: center;
}

.float-umschliessen {
    overflow: hidden;
}

@supports (display: flow-root) {
    .float-umschliessen {
        display: flow-root;
        overflow: initial;
    }
}

/* 1) Klasisches Seintenlayout (begrenzte Breite, zentriert) */

body {
    background-color: var(--bars_bg_color_dark);
    min-width: 320px;
}

/* 2) Kopfbereich (inclusive Inhalte) */


/* 3) Fußbereich (inclusive Inhalte) */

/* Grundllegende Gestaltung für den Footer */
.site-footer {
    font-size: smaller;
    /*   background-color: #333333; */
    background-color: var(--bars_bg_color);
    background-image: linear-gradient(var(--bars_bg_color_dark), var(--bars_bg_color));
    padding: 0.8rem 2rem;
}

/* Navigation im Fußbereich gestalten */

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

.footer-nav li {
    /* display: inline; */
    margin-right: 00.5rem;
}

.footer-nav li:first-child {
    padding-right: 00.5rem;
    border-right: 1px solid #eee;
}

.footer-nav li:last-child {
    margin-right: 00rem;
    margin-left: auto;
}

.site-footer a {
    display: block;
    color: white;
    text-decoration: none;
    padding-top: 0;
    margin-top: 0px;
}

/* umgestalten auf volle Bildschirmbreite (modern) */

html {
    background-color: transparent;
}


body {
    max-width: none;
    padding: 0;
    margin: 0;
}

.inside {
    max-width: 600px;
    padding: 0 1rem;
    margin: 0 auto;
}

@supports (display:grid) {
    .inside {
        max-width: 960px;
    }
}

.site-header,
.site-nav,
.site-content,
.site-footer {
    padding-left: 0;
    padding-right: 0;
}

/* Abstände der Infoboxen korrigieren */
.inside .infoboxen {
    padding: 1rem 0
}

.inside .infobox {
    margin: 1rem 0;
}

/* Gestaltung von nav und ul */
.site-nav {
    position: sticky;
    top: 0;
    background-color: var(--bars_bg_color);
    background-image: linear-gradient(var(--bars_bg_color), var(--bars_bg_color_dark));
    color: white;
    padding: 0.5rem;
}

.site-nav .inside {
    padding: 0;
}

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

.site-nav a {
    display: block;
    text-decoration: none;
    color: white;
}

.site-nav a:hover,
.site-nav a:focus {
    background-color: #07b;
}
/*
.link-picture:hover { das verdeckt das Menü
    transform: scale(98%, 98%);
    filter: grayscale(50%); 
}
*/

.no-js .menubutton {
    display: none;
}

.js .menubutton {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: inherit;
    color: white;
    font: inherit;
    text-align: center;

    padding: 0.5rem 1rem;
    border: 0;
    margin: 0;
}

.js .menubutton::before {
    content: url(../pictures/menuburger.svg);
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

.js .site-nav ul {
    max-height: 0;
    overflow: hidden;
    padding: 0;
}

.js .showmenu+ul {
    max-height: 100rem;
    transition: max-height 03s ease;
    overflow: auto;
}

.js .showmenu.menubutton::before {
    content: url(../pictures/menuclose.svg);

}

@media screen and (min-width: 600px) {
    .menubutton {
        display: none !important;
    }

    .site-nav {
        position: sticky;
        top: 0;
    }

    .site-nav .inside {
        padding: 0 1rem;
    }

    .site-nav ul {
        max-height: none !important;
        flex-flow: row;
        padding: 0;
    }

    .site-nav li {
        flex: 1;
        max-width: 10rem;
        text-align: center;
        margin: auto;
    }
}

@media screen and (max-width: 600px) {
    .site-nav li:first-child {
        display: none;
    }
}

/* 1) Gestaltung der Links im Inthaltsbereich */

.site-content a:hover,
.site-content a:focus {
    color: #ff6633;
}



/* 2) Gestaltung der Infoboxen */

.infoboxen {
    padding: 0 1rem 0 1rem;
    display: grid;
    grid-template-rows: auto;
}

.infobox {
    box-sizing: border-box;
    width: 100%;
    /*  
    border-radius: 1rem;
    background-color: red; /* only to check if pic sizes correct 
    */
}

.link-picture {
    box-shadow: 010px 10px 10px rgb(0, 0, 0, 0.6);
}

.infobox a {
    display: flex;
}