/* styles.css */

/* Globale Stile, die für alle Bildschirmgrößen gelten */

body, html {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Didact Gothic', Arial, sans-serif;
    text-align: center;
    line-height: 26px;
    color: #2F2E2C;
    background-color: #f4f4f4;
}

/* didact-gothic-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Didact Gothic';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/didact-gothic-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.imgParalaxScrolling {
    color: #F7F7F7;
    position: absolute;
    width: 100%;
    bottom: 30px;
    text-shadow: 2px 2px #000;
    background-color: transparent;
}

.header {
    display: flex;
    height: 111px;
/*    background-color: #F2F2F9; */
    background-color: #ededf6;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 4;
    position: fixed;
    box-shadow: 0px 10px 8px #808080;
}

.left-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding-right: 10px;
}

p {
    margin: 0;
}

li {
    display: inline-block;  /* Ermöglicht die Breiteinstellung */
    width: 200px;
    text-align: center;     /* Zentriert den Text innerhalb des li-Elements */
}

li a {
    display: block; /* Der Link nimmt die gesamte Breite des li-Elements ein */
    color: #2F2E2C;
    padding: 5px 18px 5px 18px;
    transition: background 0.5s;
    -webkit-transition: background 0.5s;
    text-decoration: none;
    margin-left: 3px;
    margin-right: 3px;
}

li a:hover {
    background: #DADAED;
}

li a.active {
    border-top: 3px solid #9B9DFD;
    background: #DADAED;
}

#parallax-1 {
    margin-top: 111px;
    background-image: url('../imgs/bild1.jpg');
}

#parallax-2 {
    background-image: url('../imgs/bild2.jpg');
}

#parallax-3 {
    background-image: url('../imgs/bild3.jpg');
}

#parallax-4 {
    background-image: url('../imgs/bild4.jpg');
}

.content-section {
    padding-top: 50px;
    width: 86%;
    text-align: center;
    margin: 0 auto; /* Fügt horizontale Zentrierung hinzu */
    background-color: #f4f4f4;
}

.footerText {
    color: #FFF;
    background-color: #282E34;
    padding: 1px 10px;
    font-size: 14px;
    border-top: 3px solid #808080;
}

.footerText a {
    color: #FFF;
    transition: 0.5s;
    text-decoration: none;
}

.footerText a:hover {
    color: #808080;
}

#debugObjectVisible {
    font-size: 15px;
    color: #333;
    margin-top: 300px;
    margin-left: 10px;
    padding: 5px;
    border: 2px solid #333;
    display: inline-block;
    background-color: #f9f9f9;
    position: fixed;
}

.textPktImpGlobals {
    font-size: 100%;
    line-height: 150%;
    margin-top: 140px;
    overflow: auto;
    padding: 2% 10%;
}

.projektImg {
    padding: 0px;
    margin: 0px;
}

.projektImg img {
    margin: 0px;
    width: 100%;
    height: auto;
}

#projektImgPopUp {
    visibility: hidden;

}

.kontaktPortrait {
    padding-top: 10px;
    position: absolute;
    height: 111px;
    width: 300px;
}


/* 1-KLEIN-1 - Stile für Bildschirme bis 1160 Pixel */
@media (max-width: 900px) {    /* Bei Änderungen der Pixel-Größen auch in syles.css ändern */
    .parallax {
        height: 400px;
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .right-section {
        width: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .adresseInSmall{
        width: 200px;
        height: auto; /* Höhe wird proportional zur Breite eingestellt */
        margin-top: 25px;
    }


    #overlayContainer {
        display: none; /* Overlay zunächst unsichtbar */
        position: fixed; /* Positionierung für überlappende Elemente */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Semitransparente Hintergrundfarbe */
    }

    #overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Zentrieren des Overlays */
        width: 230px; /* Breite des Overlays */
        background-color: #f4f4f4;
        padding: 20px;
        border: 1px solid #ccc;
    }

    .visibleInSmall {
        width: 40px;
        height: auto; /* Höhe wird proportional zur Breite eingestellt */
        padding-right: 10px;
    }

    #overlaySchließen {
        width: 40px;
        margin-bottom: 25px;
        height: auto; /* Höhe wird proportional zur Breite eingestellt */
    }

    .lower-part {
        display: none; /* Blendet den Bereich aus */
    }

    .upper-part {
        font-size: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .textBlockTitle {
        font-size: 22px;
        font-weight: bold;
    }

    .textBlockHeadline {
        font-size: 20px;
        line-height: 20px;
        margin-top: 40px;
        margin-bottom: 25px;
        text-align: justify;
        font-weight: bold;
        padding-top: 5px;
        border-top: 1px solid #2F2E2C;
    }

    .textBlock2Text{
        text-align: justify;
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 11px;
    }

    .textBlock1Text {
        font-size: 16px;
        text-align: justify;
        margin-top: 26px;
        margin-bottom: 26px;
    }

    li a {
        font-size: 16px;
        display: block;
        margin-bottom: 10px;
    }

    .imgParalaxScrolling {
        padding: 6px;
        font-size: 17px;
    }

    .visibleInBig {
        display: none;
    }

    .kontaktText {
        text-align: justify;
        padding-top: 5px;
        margin-bottom: 12px;
        width: 260px;
    }

    .kontaktText1 {
        text-align: justify;
        padding-top: 5px;
        margin-bottom: 12px;
        width: 260px;
        margin-top: 300px;
    }

    .textKontaktGlobals {
        margin-top: 160px;
        margin-bottom: 100px;
        overflow: auto;
        padding-left: calc(50% - 150px);
        width: 300px;
    }
}


/* 2-MITTEL-2 - Stile für Bildschirme zwischen 1161 und 1350 Pixel */
@media (min-width: 901px) and (max-width: 1350px) {    /* Bei Änderungen der Pixel-Größen auch in syles.css ändern */
    .parallax {
        height: 600px;
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .right-section {
        width: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #overlayContainer, #overlay {
        display: none; /* Overlay zunächst unsichtbar */
    }

    .upper-part, .lower-part {
        font-size: 15px;
    }

    .upper-part, .lower-part {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50%;
    }

    .textBlockTitle {
        font-size: 25px;
        font-weight: bold;
    }

     .textBlockHeadline {
        font-size: 22px;
        line-height: 22px;
        margin-top: 45px;
        margin-bottom: 25px;
        text-align: justify;
        font-weight: bold;
        padding-top: 5px;
        border-top: 1px solid #2F2E2C;
    }

    .textBlock2Text{
        text-align: justify;
        font-size: 18px;
        line-height: 23px;
        margin-bottom: 13px;
    }

   .textBlock1Text {
        font-size: 18px;
        text-align: justify;
        margin-top: 28px;
        margin-bottom: 28px;
    }

    li a {
        font-size: 18px;
    }

    .imgParalaxScrolling {
        padding: 8px;
        font-size: 19px;
    }

    .visibleInSmall {
            display: none;
    }
    
    .projektImgGlobals {
        display: flex;
    }

    .slideimages1a, .slideimages1b, .slideimages1c,
    .slideimages2a, .slideimages2b, .slideimages2c,
    .slideimages3a, .slideimages3b, .slideimages3c,
    .slideimages4a, .slideimages4b, .slideimages4c {
        margin-top: 0px;
        margin-left: 10px;
        width: calc(100%/3 - 13px);
    }
       
    .kontaktText, .kontaktText1 {
        text-align: justify;
        padding-top: 5px;
        margin-bottom: 12px;
        margin-left: 340px;
        width: 260px;
    }

    .textKontaktGlobals {
        margin-top: 160px;
        margin-bottom: 500px;
        overflow: auto;
        padding-left: calc(50% - 300px);
        width: 600px;
    }
}


/* 3-GROSS-3 - Stile für Bildschirme größer als 1351 Pixel */
@media (min-width: 1351px) {    /* Bei Änderungen der Pixel-Größen auch in syles.css ändern */
    .parallax {
        height: 700px;
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .right-section {
        width: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #overlayContainer, #overlay {
        display: none; /* Overlay zunächst unsichtbar */
    }
    
    .upper-part, .lower-part {
        font-size: 18px;
    }

    .upper-part, .lower-part {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50%;
    }

    .textBlockTitle {
        font-size: 28px;
        font-weight: bold;
    }

    .textBlockHeadline {
        font-size: 24px;
        line-height: 24px;
        margin-top: 50px;
        margin-bottom: 25px;
        text-align: justify;
        font-weight: bold;
        padding-top: 5px;
        border-top: 1px solid #2F2E2C;
    }
    
    .textBlock2Text{
        text-align: justify;
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 15px;
    }

    .textBlock1Text {
        font-size: 20px;
        text-align: justify;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    li a {
        font-size: 20px;
    }

    .imgParalaxScrolling {
        padding: 10px;
        font-size: 21px;
    }

    .visibleInSmall {
        display: none;
    }

    .projektImgGlobals {
        display: flex;
    }

    .slideimages1a, .slideimages1b, .slideimages1c,
    .slideimages2a, .slideimages2b, .slideimages2c,
    .slideimages3a, .slideimages3b, .slideimages3c,
    .slideimages4a, .slideimages4b, .slideimages4c {
        margin-top: 0px;
        margin-left: 10px;
        width: calc(100%/3 - 13px);
    }
       
    .kontaktText, .kontaktText1 {
        text-align: justify;
        padding-top: 5px;
        margin-bottom: 12px;
        margin-left: 340px;
        width: 260px;
    }

    .textKontaktGlobals {
        margin-top: 160px;
        margin-bottom: 500px;
        overflow: auto;
        padding-left: calc(50% - 300px);
        width: 600px;
    }
}
