/* 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;
    --page_bg_color: white;
    --section_bg_color: white;
    --section_shadow_color: lightgrey;
    --small-pic-back-color: #F3C582;
}


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


.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;
}

html {
    /* sanftest scrollen aktivieren */
    scroll-behavior: smooth;
    font-size: 16px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}


html {
    /* sanftest scrollen aktivieren */
    scroll-behavior: smooth;
    font-size: 16px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    scroll-padding-top: 4.5rem;
    /* height of sticky header + 1.5rem */
}

body {
    background-color: var(--page_bg_color);
    margin: 0rem;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header,
main {
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    /* border: green 2px solid; */
}

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

/*
#set-headerpic>img {
    object-fit: scale-down;
    width: 100%;
    max-height: 100%;

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


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



/* -------------------- Begin Menüleiste Gestaltung */

.site-nav {
    position: sticky;
    top: 0;
    background-image: linear-gradient(var(--bars_bg_color_dark), var(--bars_bg_color));
    opacity: 0.7;
    color: white;
    padding: 0.5rem;
    z-index: 10;
    /* Menu on Top */
}

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

.wteed_logo {
    max-height: 3rem;
}

.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 {
    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;
        margin: 0;
        max-width: 60%;
        margin-left: auto;
        margin-right: auto;
    }

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

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

/* -------------------- End Menüleiste Gestaltung */

/* -------------------- Headerbereich mit Einzelbildern */


header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

header h1 {
    margin: 0;
}

.set-headerpic {
    max-width: 1200px;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    grid-template-rows: repeat(9, 1fr);
    place-items: center;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.img-gloriette {
    grid-column: 1 / span 13;
    grid-row: 1 / span 8;
}

/*
@keyframes small-pic-back_fade_in {
    from {
        bottom: -10;
    }
    to {
        bottom: 0;
    }
}
*/

.small-pic-back {
    grid-column: 2 / span 11;
    grid-row: 9 / span 2;
    background-color: var(--small-pic-back-color);
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    bottom: 0;
    border-radius: 10px;
    /*
    animation-name: small-pic-back_fade_in;
    animation-iteration-count: 1;
    animation-duration: 5s;
    */
}

.small-pic-list {
    display: flex;
    flex-direction: row;
    padding: 0;
    height: auto;
    justify-content: space-evenly;
    align-items: center;
    padding: 1rem 1rem 0 1rem;
}


.small-pic-list>* {
    flex: 1;
    min-width: 0;
    min-height: 0;
    border-radius: 30px 30px 50px 50px;
}

.iena_pic {
    grid-column: 1 / span 3;
    grid-row: 1 / span 3;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 0 10px 10px;
}

.img-gloriette>img {
    border-radius: 0 0 20px 20px;
}

@keyframes text_effektivitaet {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.text_headline {
    flex: 1;
    grid-column: 4 / span 10;
    grid-row: 2 / span 1;
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(0.5rem, 2.3vw, 1.8rem);

    animation-name: text_effektivitaet;
    animation-duration: 3s;

}


/* -------------------- End Headerbereich mit Einzelbildern */


.section_row {
    display: flex;
    gap: 5em;
    /*flex-flow: row;*/
    justify-content: space-between;
    flex-direction: row;
    max-height: auto;
    overflow: auto;
    margin: 0.5rem;
    padding: 1rem;
    background-color: var(--section_bg_color);
    border: rgba(0, 0, 0, 0.265) 2px solid;
    border-radius: 1rem;
    box-shadow: 0.3rem 0.3rem var(--section_shadow_color);
}

.section_row,
span {
    align-self: center;
}

.section_row>img {
    object-fit: contain;
    max-height: 300px;
    border-radius: 10px;
}

.video_poster {

    object-fit: contain;
    border-radius: 10px;

}

.section_row>span {
    text-align: center;
}

main p {
    margin-bottom: 0;
}

.section_wohlbefinden {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-template-rows: auto auto auto;
    gap: 5px 5px;
    grid-auto-flow: row;
    justify-items: center;
    grid-template-areas:
        "wohlbefinden_text wohlbefinden_text wohlbefinden_text wohlbefinden_text"
        "wohlbefinden_link_icon wohlbefinden_link_malatonin wohlbefinden_link_cortisol wohlbefinden_link_seratonin";
    width: 80%;
}

.wohlbefinden_text {
    grid-area: wohlbefinden_text;
}

.wohlbefinden_link_icon {
    grid-area: wohlbefinden_link_icon;
}

.wohlbefinden_link_malatonin {
    grid-area: wohlbefinden_link_malatonin;
}

.wohlbefinden_link_cortisol {
    grid-area: wohlbefinden_link_cortisol;
}

.wohlbefinden_link_seratonin {
    grid-area: wohlbefinden_link_seratonin;
}

.www_img {
    min-width: 30px;
}

.no_www_img {
    min-width: 30px;
    max-width: 90px;
    margin-right: 4rem;
}

.versi_wteed_img {
    min-height: 100px;
    margin-bottom: 0;
}

/* -------------------- Begin Navigation im Fußbereich gestalten */

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

/* Navigation im Fußbereich gestalten */

.footer-nav ul {
    display: flex;
    padding: 0;
    list-style: none;
    margin: 0;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.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;
}

.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;
}

/* -------------------- End Fussleiste Gestaltung */

/* --------------------Ein und Ausblenden (Überblenden) der Gloriettebilder */
/* code von https://blog.hubspot.com/website/css-fade-in#image-transition */
@keyframes gloriette_fadein_anim {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.img-gloriette2_div {
    animation-name: gloriette_fadein_anim;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 5s;
}

/* END --------------------Ein und Ausblenden (Überblenden) der Gloriettebilder */

@media screen and (max-width: 1920px) {

    header,
    main,
    .site-nav ul,
    .footer-nav ul {
        max-width: 80%;
    }
}

@media screen and (max-width: 1200px) {

    header,
    main,
    .site-nav ul,
    .footer-nav ul {
        max-width: 95%;
    }

    .section_row {
        gap: 1rem;
    }
}

@media screen and (max-width: 900px) {
    .section_wohlbefinden {
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "wohlbefinden_text wohlbefinden_text "
            "wohlbefinden_link_icon wohlbefinden_link_malatonin"
            "wohlbefinden_link_cortisol wohlbefinden_link_seratonin";
    }
}

@media screen and (max-width: 800px) {
    .section_row {
        flex-direction: column;
    }

    .section_row:nth-child(even) {
        flex-direction: column-reverse;
    }

    .no_www_img {
        margin-right: auto;
        margin-left: auto;
    }
}