/* General Styling */
:root {
    color-scheme: light;
    --hg-light: #fff;
    --primary: #4b0082ff;
    --primay-light: #8a2be2ff;
    --primary-dark: #2b0059ff;
    --text-color: #000;
    --text-color-primray: #fff;
    --font-small: 0.8rem;
    --font-big: 1.2rem;
    --secondary: rgba(240, 129, 38, 0.2);

    --border-width: 0.2rem;
}
@font-face {
    font-family: RobotoMediumLocal;
    src: url('/other/Roboto-Medium.ttf');             /* Super Modern Browsers */
}

@font-face {
    font-family: RobotoLightLocal;
    src: url('/other/Roboto-Light.ttf');
}

* {
    scroll-behavior: smooth;
}

body {
    font-size: 1.2em;
    background-color: var(--hg-light);
    color: var(--text-color);
    font-family: "Roboto Light", RobotoLightLocal, Helvetica, sans-serif;
    line-height: 150%;
}

h2 {
    line-height: normal;
    font-family: Roboto, RobotoMediumLocal, Helvetica, sans-serif;
}

em {
    color: var(--primary);
    font-weight: bold;
    font-style: normal;
}

@media (prefers-color-scheme: light) {
    body {
        /** TODO 
        background-color: #fff;
        color: #000;
        **/
    }
}

.code {
    font-family: 'Courier New', Courier, monospace;
}

body {
    margin: 0;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover,
.menu-top a:hover {
    color: var(--primary);
}

.primary-color a:hover {
    color: #fff;
    text-decoration: underline;
}

hr {
    border: solid 1px var(--primary);
}

.primary,
strong {
    color: var(--primary);
    font-weight: inherit;
}

.active {
    color: var(--primary) !important;
}

ul {
    padding-inline-start: 4rem;
}

/* Use dots as list style elements */
ul.dots li {
    list-style-type: none;
}

ul.dots li:before {
    content: url("images/vektoren/Punkt.svg");
    display: inline-block;
    vertical-align: top;
    max-height: 1rem;
    padding-right: 0.5rem;
    margin-left: -2.5rem;
}

.center {
    margin: auto;
    text-align: center;
}

.text-right {
    text-align: end;
}

.arrow-white:before {
    content: url("images/vektoren/aquarell/Pfeil_aqarell_light.svg");
    display: inline-block;
    padding-right: 0.5rem;
    vertical-align: middle;
}

.arrow:before {
    content: url("images/vektoren/aquarell/Pfeil_aquarell.svg");
    display: inline-block;
    padding-right: 0.5rem;
    vertical-align: top;
    max-height: 1rem;
    margin-top: -0.2rem;
    margin-left: -0.3rem;
}

.arrow-after:after {
    content: url("images/vektoren/aquarell/Pfeil_aquarell.svg");
    display: inline-block;
    padding-right: 0.5rem;
    vertical-align: middle;
}

.dot:before {
    content: url("images/vektoren/Punkt.svg");
    display: inline-block;
    padding-right: 0.5rem;
    vertical-align: top;
    max-height: 1rem;
    margin-top: -0.2rem;
    margin-left: -0.3rem;
}

.dot-red:before {
    content: url("images/vektoren/Punkt-rot.svg");
    display: inline-block;
    padding-right: 0.5rem;
    vertical-align: top;
    max-height: 1rem;
    margin-top: -0.2rem;
    margin-left: -0.3rem;
}

.flex,
.flex-row,
.flex-row-sm,
.flex-row-ws {
    display: flex;
    height: 100%;
}

.flex-row-sm {
    margin-bottom: 1rem
}

.flex {
    flex-direction: column;
}

.flex-row>* {
    flex: 1 1 0;
    width: auto;
}

.flex-row.image>div {
    flex: 0.45;
}


.flex-row>*>img :not(logo-small) {
    width: 100%;
    height: auto;
}

.flex-row>:first-child,
.flex-row-sm>:first-child {
    padding-right: 1rem;
}

.flex-row>:nth-child(2),
.flex-row-sm>:nth-child(2) {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.flex-row>:last-child,
.flex-row-sm>:last-child {
    padding-right: 0;
    padding-left: 1rem;
}

.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

/* hyperlinks in top menu */

.menu-top:hover .hyperlinks {
    visibility: visible;
}

.home .hyperlinks {
    visibility: hidden;
}

.home .visible .hyperlinks {
    visibility: visible;
}

#menu a,
.menu-top a {
    color: var(--text-color);
}

.menu-icon {
    height: 2rem;
}



.statement {
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 2rem;
}

.enumeration>div:not(.comment) {
    width: 90%;
}

.comment {
    font-size: var(--font-small);
    margin-left: 50%;
    margin-top: -0.25rem;
    margin-bottom: 1rem;
    max-width: 30rem;
}

.comment img {
    width: 100%;
}

/* Container and single elements */

.relative {
    position: relative;
}

.container {
    min-height: 40vh;
    padding: 10vh 20vw;
    position: relative
}

.container-half {
    max-width: max(30vw, 30rem);
}

.trainings .container,
.subpage .container {
    min-height: 15vh;
    padding: 10vh 20vw;
    position: relative
}


.container-small {
    padding: 3rem 20vw;
    position: relative
}

.container-small.side {
    width: 50%;
}

.container-small.side.right {
    margin-left: auto;
}

.container>.bottom {
    margin-top: auto;
    margin-bottom: 0;
    align-self: flex-end;
    width: 100%;
}

@media screen and (min-width: 2000px){
    .container, .container-small{
       padding: 3rem 30vw;
    }
    
}

/* Container with visible body background */
.primary-color {
    background-color: var(--primary);
    color: var(--text-color-primray);
    font-family: 'Roboto Medium', RobotoMediumLocal, Roboto, sans-serif;
}

.primary-color .subtopic {
    font-family: "Roboto Light", Helvetica, sans-serif;
    text-align: start;
}

.container#heading,
.container#footer {
    padding-top: 20vh;
}

.container#partner {
    background-image: url("images/background/konmatik-header-helping-hands.webp");
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;

    color: #fff;
}

#leistungen-sys {
    background-image: url(images/vektoren/floral/Floral_4.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 10%;
}

.background-line-left {
    background-image: url(images/vektoren/Linie-3-vertikal-orange.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 10%;
}

#partner-text {
    margin-top: 20%;
    margin-right: 20%;
}

.menu-middle {
    text-align: center;
    padding: 1rem;
    margin: 3rem 0;
}

.text-bg {
    font-size: var(--font-big);
    font-family: Roboto, Helvetica, sans-serif;
    padding: 0 1rem;
}

.menu a:hover {
    text-decoration: underline;
    color: var(--text-color);
}

#menu.primary a {
    color: var(--primary);
    font-weight: bold;
}

.menu-top {
    padding-top: 1rem;
    text-align: right;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10;
}

.menu-top>div {
    padding: 1rem 0 0 1rem;
}

.menu-top span {
    vertical-align: top;
    padding: 0 1rem;
}

.menu-top button {
    background-color: rgba(0, 0, 0, 0) !important;
    border: none;
}

.menu-top a {
    padding: 0 0.5rem;
}

.background-image {
    position: absolute;
    z-index: -1;
}

#background-image-flower{
    margin-left: -5vh;
    background-image: url(/images/vektoren/acryl/Blumen_4_clean.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
}

.background-image.left {
    left: 10vw;
    bottom: 0;
    height: 100%;
}

.background-image.right {
    right: 0;
    bottom: 0;
    width: 30vw;
    min-width: 30vh;
    max-height: 600px;
}

.background-image.upright {
    right: 0;
    bottom: 0;
    max-width: 22vw;
    max-height: 700px;
}

.subpage .background-image.left {
    width: 30vw;
}

.subpage .background-image.right {
    width: 30vw;
}

.logo {
    position: relative;
    width: max(40vw, 10rem);
    padding-top: 2rem;
    padding-bottom: 4rem;
    z-index: 10;
    /* placement center */
    display: block;
    margin: auto;
}

#heading-center {
    padding-top: 20vh;
}

.logo-small {
    height: 1rem;
}

/* Referenzen */
.container-margin {
    min-height: 300px;
    margin: 10vh 20vw;
    position: relative;
    transition: heigth 0.75s ease-in-out;
}

.slide {
    transition: opacity 0.75s ease-in-out;
}

.slide:not(.show) {
     transition: opacity 0.5s ease-in-out;
    opacity: 0;
    height: 0;
}

.slide.show {
    opacity: 1;
}

button.switch {
    position: absolute;
    background-color: rgba(0, 0, 0, 0);
    border: none;
}

button.switch.left {
    margin-left: -10vw;
    top: 40%;
}

button.switch.right {
    right: 0;
    margin-right: -10vw;
    top: 36%;
    transform: rotate(180deg);
}

.icon-inline:before {
    content: url("images/vektoren/Anführungszeichen.svg");
    margin-left: -1rem;
    top: 0;
    left: 0;
}

.icon-inline:after {
    content: url("images/vektoren/Anführungszeichen.svg");
    display: inline-block;
    padding-left: 0.5rem;
    vertical-align: top;
    margin-top: 0rem;
}

.icon {
    max-width: 9rem;
    padding: 0.25rem 0 0;
    margin-bottom: auto;
}

.icon-logo {
    max-width: 2.5rem;
    padding: 0.25rem;
    margin-bottom: 1.5rem;
}

.up {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 10;
}

.up img {
    transform: rotate(-90deg);
}

#landschaften {
    margin-bottom: 10%;
}


/* Custom elements wissen */

#wissen img {
    max-height: 70vh;
    width: auto;
}

#wissen hr {
    border-color: white;
    position: absolute;
    width: 33vw;
    left: 5rem;
    border: 1px solid var(--primary);
}

.stairs {
    position: relative;
}

.stairs div {
    padding-left: 5rem;
    padding-bottom: 1rem;
}

.stairs img {
    position: absolute;
    left: 5rem;
    top: -20%;
    height: 120%;
    rotate: 33deg;

}



/* Footer */
.cookies {
    box-sizing: border-box;
    padding: 0 2rem;
    position: fixed;
    bottom: 0%;
    background-color: #fff;
    width: 100vw;
    border-top: 5px solid#f0f0f0;

    display: flex;
}

.cookies button {
    margin-left: auto;
    margin-right: 0;
    background-color: #fff;
    border: none;
}

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

    /* placemen of images */
    ul.dots li:before {
        margin-left: -1rem;
    }

    .dot:before {
        padding-right: 0.25rem;
    }

    #heading,
    #fundament {
        padding-bottom: 40vh;
    }

    #digitaleTransformation,
    #referenzen {
        padding-bottom: 25vh;
    }

    #background-image-flower{
        height: 20vh;
        background-position: left;
        background-size: contain;
        background-image: url(images/vektoren/acryl/Blumen_4_clean_horizontal.svg);
    }

    .background-image.left {
        left: 10vw;
        bottom: 0;
        height: 100%;

    }

    .background-image.upright {
        max-width: 100vh;
        rotate: -90deg;
        bottom: -10%;
    }

    .background-image.right {
        right: 0;
        bottom: 0;
        width: 90vw;
        min-width: 30vh;
        max-height: 30vh;
    }

    .icon {
        max-width: 6rem;
    }

    /* general */

    .container {
        padding: 10vh 7vw;
    }

    .container-margin {
        margin: 2vh 7vw;
        min-height: 60vw;
    }

    .container-small {
        padding: 2rem 7vw;
        min-height: 4rem;
    }

    .container-small.side {
        width: 70%;
    }

    .flex-row,
    .flex {
        display: block;
        height: auto;
    }

    .flex-row>* {
        width: auto;
        padding-bottom: 2rem;
    }

    .flex-row>:nth-child(2) {
        padding-left: 0;

    }

    /* menu */
    .menu-top {
        display: flex;
        flex-flow: column;
        align-items: end;
    }

    .menu-top #logo {
        order: 1;
        padding-top: 1rem;
    }

    .menu-top #hyperlinks {
        order: 2;
        padding-top: 1rem;
    }

    /*+ slides of referenzen */
    .slide {
        padding-left: 5vw;
        padding-right: 5vw;
    }

}