/* COLORS */
:root {
    --youtube-red: #0011fe; 
}

.pfeileWeiß:hover{color:#CCCCCC!important}
.pfeileWeiß {
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1), 
    0px 0px 10px rgba(0, 0, 0, 1), 
    0px 0px 15px rgba(0, 0, 0, 1),
    0px 0px 20px rgba(0, 0, 0, 1),
    0px 0px 30px rgba(0, 0, 0, 1),
    0px 0px 40px rgba(0, 0, 0, 1),
    0px 0px 55px rgba(0, 0, 0, 1),
    0px 0px 75px rgba(0, 0, 0, 1);
}

.pfeileSchwarz{color:#000000}
.pfeileSchwarz:hover{color:#777777!important}

h0 {
    display: block;
    text-align: center;
    color: #FFF;
    size: 20px;
}

p, h5, h2.ueberschrift1, h1.ueberschrift1 {color: #FFFFFF;}
.text > p, .portfolioInnerhalbTextpunkteDiv > p, p.text {color:#EEEEEE;}
.darkBody {background-color: #161515;}
.tileDarkmode {background-color: #353535!important}
.text > h2 {color:#FFFFFF;}
p.text > a, div > ul > li > a, div > ul > li > a:hover, div > ul > li > a:visited {color: #FFFFFF; text-decoration: underline;}
ul > li {color:#FFFFFF!important;}




.textAnimationSpan {
    border-right: .12em solid;
    animation: caret 1s steps(1) infinite;
    padding-left: 0.3vw;
}


/* Page styles */
.wrapper > main, #pg-nav {
    width: 90%;
    margin: 0 auto;
}

div, img, h3 {
    border-radius: 0!important;
}

        
p {margin-bottom: 10px;
}
    
p:last-child {margin: 0;}
                

.einleitung {                               /* ist div grid Einteilung für die Kontakttaden auf der index.html Seite */
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #dda153;
    min-height: 25vw;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 20px 10px;
    border-radius: 20px;
}

.einleitungFlexitem1 {
    width: 55%;
}
.einleitungFlexitem2 {
    width: 45%;
}

.profilbild img {
    width: 100%;
    max-height:640px;
     
}

.mySlidesEinleitung {
    width: 100%;
    border-radius: 20px;
}
.demoStart {
    margin: auto!important;
}

.profilbildContainer {
    width:60%;
    margin: 0 auto;
}

#beschreibung > ul li {                     /* nur die ul li's in Beschreibung wird hiermit gemeint aus index.html */
    color: black;
    font-weight: bold;
    text-align: right;
}




.ueberschrift1 {                            /* große Überschrift */
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.ueberschrift2 {                            /* mittlere Überschrift */
    font-size: 1.5rem;
    font-weight: bold;    
}

.ImpressumÜberschriften {
    font-size: 1.5 rem;
    font-weight: bold;
    text-align: center;
}

.Impressum {
    text-align: center;
}

.impressumText {
    color:#FFF;
}
.tabSchrift {                               /* Schrifteigenschaften für die Schrift in den Tabbed Links */
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    
        
}
#Insta > a, a:hover, a:active,a:visited {
    color: blue;
}
#Yt > a, a:hover, a:active,a:visited {
    color: blue;
}
#Wa > a, a:hover, a:active,a:visited {
    color: blue;
}
#Hs > a, a:hover, a:active,a:visited {
    color: blue;
}

.hyperlink {
    padding: 1.5rem 0;
    text-align: center;
}

.socialLogo {                                       /* betrifft die Bilder in den Tabbed Links von den Social Media Logos */
    width: 10%;
    
    margin-left: 45%;
    
    
    
}








#pg-nav {text-align: center;}

#pg-nav > ul {                          /* für alle Menü Spalten, sonst untereinander */
    display:grid;
    grid-template-areas: ". . .";
    grid-gap: 30px;
    padding: 0;
}

#pg-nav > ul li a, .sub-list li a {
    color: #fafafa;
    font-size: 1,5rem;
}

#pg-nav > ul li, .sub-list li {
    padding: 20px 0;
}

.sub-list {                         /* weitere Liste wenn man über einen Menüpunkt hovert */
    background-color: #d1cfcc;
    display: none;
    position: absolute;
    margin-top: 20px;
    width: 100%;
    z-index: 1000;
}

.dropdown {
    position: relative;
}

.dropdown:hover > .sub-list {
    display: block;

}





/* Hamburger from Tut 9 SEM 1 */
#hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

#hamburger .hamburger-inner, #hamburger .hamburger-inner::after,
#hamburger .hamburger-inner::before {
    background-color: #fafafa;
    border-radius: 4px;
    width: inherit;
    height: 4px;
    position: absolute;
}

#hamburger .hamburger-inner::after, #hamburger .hamburger-inner::before {
    display: block;
    content: "";
}

#hamburger .hamburger-inner::before {top: -10px;}
#hamburger .hamburger-inner::after {bottom: -10px;}


#hamburger.active .hamburger-inner {transform: rotate(45deg);}
#hamburger.active .hamburger-inner::before {
    top: 0;
    opacity: 0;
}
#hamburger.active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
}


.gridUebersicht {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    gap: 1.5vw;
}

.tileUebersicht {
    width: 31%;
    height: fit-content;
    color: #FFF;
    transition: transform 0.2s;
}

.tileUebersicht > a > img {
    width: 100%;
}

.tileUebersicht:hover {
    transform: scale(1.05);
}

.UebersichtUntertitel {
    background-color: rgba(59, 59, 59, 0.438);
}


/* Portfolio */
.portfolio {
    display: grid;
    grid-template-areas: ". . .";
    grid-gap: 30px;
    width: 80%;
    margin: 0 auto;
}

.portfolioAlleProjekte {
    display: grid;
    grid-template-areas: ". . .";
    grid-gap: 30px;   
}

.portfolioKontakt {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 30px;
    margin: 0 auto;
}

.KategorienAlle{
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
}

.portfolioAutoVideografie {
    display: grid;
    grid-template-areas: ".";
    grid-gap: 30px;
}

.portfolioInnerhalb {
    display: grid;
    grid-template-areas: ". .";
    grid-gap: 10px;
}

.portfolioInnerhalbTextpunkte {
    display: grid;
    grid-template-areas: "a b c d";
    grid-gap: 10px;    
}

.portfolioInnerhalbTextpunkte:last-child{
    margin-top: 2vw;
}


.portfolioInnerhalbTextpunkte:nth-child(1) {
    grid-area: a;
}

.portfolioInnerhalbTextpunkte:nth-child(2) {
    width: 3vw;
    grid-area: b;
}
.portfolioInnerhalbTextpunkte:nth-child(3) {
    grid-area: c;
}
.portfolioInnerhalbTextpunkte:nth-child(4) {
    grid-area: d;
}





.portfolioInnerhalbTextpunkteDiv {
    min-width: 2vw;
}

.portfolioInnerhalbTextpunkteDiv:first-child {
    
}

.portfolioInnerhalbTextpunkteDiv:nth-child(2) {
    
}

.portfolioInnerhalbTextpunkteDiv:nth-child(3) {
    
}

.portfolioInnerhalbTextpunkteDiv:nth-child(4) {
    
}

.sliderUntenPassendKeying{
    height: 21.45vw;
    margin-bottom: 3vw;
}
.sliderUntenPassend {
    height: fit-content;
}

.containerPlakat{
    width: 100%;
}

.mySlides {
    width: 38.1vw;
    height: 21.45vw;
    border-top-left-radius: 20px;
}

.mySlides6 {
    transition: display 0.5s;
}

.BildInfo{
    padding-left: 1vw;
    padding-top: 0.5vw;
    max-width: 38.1vw;
}

.flexTags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1vw;
    width: fit-content;
}

.tags {
    border-radius: 0.5vw; 
    padding: 0.5vw; 
    width:fit-content;
}

.w3Section {
    display: none;
}


.w3-display-container:hover .w3Section {
    display: block;
}

.mySlidesPlakat {
    width: 45vw;
    height: 25.31vw;

}

.mySlidesLaunchpad {
    border-bottom-left-radius: 20px;
}

.mySlidesYt{
    min-width: 555px; 
    min-height: 312px;
}

.embed-container169 {
    position: relative; 
    overflow: hidden; 
    width: 38.1vw;
    height: 21.45vw;
    }
    
    .embed-container169 iframe {
        height: 100%;
    }

.embed-container916 {
    position: relative;
    width: 100%;
    height: 100%;
    }
        
    .embed-container916 iframe {
        width: 100%;
        height: 100%;
    }

.embedPlakat{
    width: 45vw;
    height: 25.31vw;
}



.mySlides2Auto {
    width: 100%;
    border-top-left-radius: 20px;
}

.sliderHochformat {
    display: grid;
    grid-template-areas: ". .";
    grid-gap: 1vw;
    width: 100%;

}



.pfeile {
color: rgb(255,255,255);
}







.softwareBilderGrid {
    display: grid;
    grid-template-areas: "a1 b1 c1 d1";
    grid-gap: 0vw;
    width: 70%;
    margin-left: 1vw;
    padding-bottom: 10px;
}

.softwareBilderGrid:nth-child(1) {
    grid-area: a1;
}
.softwareBilderGrid:nth-child(2) {
    grid-area: b1;
}
.softwareBilderGrid:nth-child(3) {
    grid-area: c1;
}
.softwareBilderGrid:nth-child(4) {
    grid-area: d1;
}


.softwareBild {
    margin-right: -5vw;
}
.softwareBild > img {
    width: 4vw;
    height: 4vw;
    max-width: 4vw;
    max-height: 4vw;
}

.plakatBildGrid{
    display: grid;
    grid-template-areas: ". . . . .";
    grid-gap: 0.5vw;
    width: 100%;
    margin-left: 1vw;
    padding-bottom: 3vw;
}

.plakatBild{
    
}

.plakatBild > img {
    width: 8vw;
}


#PlA{order:1}
#PlB{order:2}
#PlC{order:3}
#PlD{order:4}
#PlE{order:5}


.HowToArtivive{
    width: 80%; 
    margin-left: 10%; 
    margin-right: 10%;
    margin-top: 3%;
}






.footerGrid {                               /* grid areas für den Footer */
    display: grid;
    grid-template-areas: ". .";
    grid-gap: 60px;
}

.footerLinks {                              /* Texteinstellungen für den linken Bereich vom Footer */
    text-align: left;
    font-size: 0.5 rem;
}
.footerRechts {                             /* Texteinstellungen für den rechten Bereich vom Footer */
    text-align: right;
    font-size: 0.5 rem;
}

.tile {
    background-color: #d1cfcc;
    height: fit-content;
    min-width: 20vw;
    border-radius: 20px;
    transition: transform 0.2s;
}

.tile:hover {
    transform: scale(1.05);
}

.tileAlle{
    min-width: 20vw;
    
}

.tileKontakt {  
    width: 300px;
    height: fit-content;
    min-width: 20vw;
    border-radius: 20px;
    margin:0 auto;
    filter: saturate(0);
    transition: filter 0.3s;
    transition: transform 0.3s;
    
}

.tileKontakt:hover {
    filter: saturate(1);
    transform: scale(1.05);
}



.tileAutoVideografie {
    background-color: #d1cfcc;
    min-height: 15vw;
    min-width: 29vw;
    border-radius: 20px;
}

.tileKategorieAuto {
    background-color: rgb(255, 218, 218);
}
.tileKategorieKurzfilm {
    background-color: rgb(218, 227, 255);
}
.tileKategorieAnimation {
    background-color: rgb(188, 219, 189);
}
.tileKategorieLaunchpad {
    background-color: rgb(254, 255, 205);
}
.tileKategorieDivers {
    background-color: rgb(237, 206, 255);
}

.bildUntertitel {
  z-index: 100;
  width: 100%;
  margin-top: -2.7vw;
  height: 2.7vw;
  position: relative;
  
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}



.bildUntertitelText {
    padding-top: 0.5vw;
    font-size: 1.2vw;
    color: #FFFFFF;
    position: absolute;
    width: 100%;
    text-align: center;
    /*font-family: Arial, Helvetica, sans-serif; */
}

.bildUntertitelTextAlle {
    padding-top: 0.7vw!important;
}



.bildUntertitelAlle{
    margin-top: -2.7vw;
}

.bildUntertitelKontakt {
    margin-top: -1vw;
}


    

.fotoGalerie{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    border-radius: 20px;
    background-color:rgb(230, 230, 230);
    

}
.row3er {
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    margin-left: 2.5%;
    margin-right: 2.5%;
    padding-bottom: 2.5%;
  }
  .row2er {
    display: flex;
    
    width: 95%;
    margin-left: 2.5%;
    margin-right: 2.5%;
    padding-bottom: 2.5%;
  }
  .column3er {
    flex: 33%;
    max-width: 33%;
    padding: 0 0.5vw;
  }
  .column3er img {
    margin-top: 1vw;
    vertical-align: middle;
    width: 100%;
  }
  .column2er {
    flex: 50%;
    max-width: 50%;
    padding: 0 0.5vw;
  }
  .column2er img {
    margin-top: 1vw;
    vertical-align: middle;
    width: 100%;
  }




  .column {
    float: left;
    width: 25%;
  }
  
  /* The Modal (background) */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 3%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;

    max-width: 60%;
    
  }
  
  /* The Close Button */
  .close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #CCCCCC;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Hide the slides by default */
  .modalSlides {
    display: none;
    
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Caption text */
  .caption-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    /*padding: 2px 16px; */
    padding: 1%;
    color: white;
  }
  
  img.demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }
  
  img.hover-shadow {
    transition: 0.3s;
  }
  
  .hover-shadow:hover {
    opacity: 0.7;
    cursor: pointer;
  }






.portfolioBilder {                          /* div grid Einteilung für die lazy.html Bilder */
    display: grid;
    grid-template-areas: "a b"
                         "c b"
                         "d b"
                         "d e"
                         "d f"
                         "g h";
    grid-gap: 50px;
}


.bild1 {                                    /* Bennenung der Bilder passend zu den Buchstaben, damit sie durch .portfolioBilder der Reihenfolge angepasst werden können */
    grid-area: a;
    
    
}
.bild2 {
    grid-area: b;
    
    
}
.bild3 {
    grid-area: c;
    
    
}
.bild4 {
    grid-area: d;
    ;
    
}
.bild5 {
    grid-area: e;
    
    ;
}
.bild6 {
    grid-area: f;
}
.bild7 {
    grid-area: g;
}
.bild8 {
    grid-area: h;
}









.text {padding: 15px 15px 0 15px;}

.hendrikTextUnten{
    padding-bottom: 1vw;
}

.textBeteiligung {
    padding: 15px 15px 0 15px;
}

.pic img {
    width: 100%;
    height: auto;
    z-index: -100;
}

.picKontakt img {
    width: 100%;
    height: 100%;
    z-index: -100;
    padding: 2vw;
    margin: 0 auto;
}

.pic {
    position: relative;
}

/* responsive Video */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
    margin-top: 20px;
}

.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container + .video-container {margin-top: 60px;}         /* wenn es ein zweites Video gibt */


/* Video controls */
.video-controls {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    bottom: 0;
    left: 0;
    transition: all 0.2s ease;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    padding: 10px 20px;
    color: #fafafa;
}

.video-controls.hidden {
    opacity: 0;
    pointer-events: none;
}

.play {
    color: #fafafa;
    cursor: pointer;
    position: relative;
    font-size: 20px;
    padding: 3px;
    border: none;                           /* ist ein Button, soll aber keine Ränder anzeigen */
    outline: none;
    background-color: transparent;
}

.play > span {
    font-size: 14px;
    display: block;
    margin-top: 3px;
    margin-bottom: 4px;
}

.video-progress {
    position: relative;
    height: 8.4px;
    width: 80%;
}

.progress-bar {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 2px;
    width: 100%;
    height: 8.4px;
    pointer-events: none;
    position: absolute;
    top: 0;

}

        .progress-bar::-webkit-progress-bar {
            background-color: #474545;
            border-radius: 2px;
        }

        .progress-bar::-webkit-progress-value {
            background: var(--youtube-red);
            border-radius: 2px;
        }

        .progress-bar::-moz-progress-bar {
            background: var(--youtube-red);
            border: 1px solid var(--youtube-red);
        }

.seek {
    position: absolute;
    top: 0;
    width: 100%;
    cursor: pointer;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 8.4px;
    background: transparent;
}        

        .seek:focus {
            outline: none;
        }

        .seek::-webkit-slider-runnable-track {
            width: 100%;
            cursor: pointer;
            border-radius: 1.3px;
            -webkit-appearance: none;
            transition: all 0.4s ease;
        }

        .seek::-webkit-slider-thumb {
            height: 16px;
            width: 16px;
            border-radius: 16px;
            background: var(--youtube-red);
            cursor: pointer;
            -webkit-appearance: none;
            margin-left: -1px;
        }

        .seek:focus::-webkit-slider-runnable-track {
            background: transparent;
        }


            .seek::-moz-range-track {
                width: 100%;
                height: 8.4px;
                cursor: pointer;
                border: 1px solid transparent;
                background: transparent;
                border-radius: 1.3px;
            }

            .seek::-moz-range-thumb {
                height: 14px;
                width: 14px;
                border-radius: 50px;
                border: 1px solid var(--youtube-red);
                background: var(--youtube-red);
                cursor: pointer;
                margin-top: 5px;
            }


            .seek:focus::-moz-range-track {
                outline: none;
            }

            .seek:hover+.seek-tooltip {
                display: block;
            }

    .seek-tooltip {
        display: none;
        position: absolute;
        top: -60px;
        margin-left: -20px;
        font-size: 12px;
        padding: 3px;
        content: attr(data-title);
        font-weight: bold;
        background-color: rgba(0,0,0,0.6);
        z-index: 10;
    }        





    #mapdiv {height: 50vw;}




  /* hier beginnt die Tabelle Links */  
.tab {
    overflow: hidden;
    border: 1px solid #CCC;
    background-color: #F1F1F1;
}

    .tab button {
        background-color: inherit;      /* inherit heißt, es übernimmt die Farbe von davor */
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
    }

        .tab button:hover {background-color: #DDD;}
        .tab button.active {background-color: #CCC;}

.tabcontent {
    display: none;
    min-height: 6vw;
    padding: 6px 12px;
    border: 1px solid #CCC;
    border-top: none;
}      

    .tabcontent.active {display: block;}



    .divmap {
        
        align-content: center;
        width: 70%;
        margin-left: 15%;
        
        
    }    

    .map {
        max-height: 40rem;
    }

#kontaktDaten > ul li {
    text-align: center;
    color: #000;
    font-size: 1.2vw;
    font-weight: 700;
    
    padding-top: 2rem;
}    


.CounterDiv {
    display: grid;
    width: 20%; 
    margin: 0 auto; 
    height: 40vw;
    align-items: center;
    grid-template-areas: ". . . . .";
    grid-auto-columns: 8vw 20vw 15vw 10vw 15vw;
    justify-content: center;
}

.CounterBild {
    width: 80%;
}

.CounterText {
    margin: 0;
    font-family: Pixeled;
    font-size: 18px;
}
.specialItem {
    color: gold;
}

.CounterButton {
    font-size: 25px;
    width: 80%;
    height: 70%;
    margin: auto;
}

.Counterbutton > p {
    margin-left: -10px;
}

.CounterZahl {
    color: #FFF;
    margin: 0 auto;
    font-family: Pixeled;
}


/* Pixel Buttons für das Azteken Spiel, Quelle: https://codepen.io/YoannM/pen/yyExEO */
/* Pixeled Font: https://www.dafont.com/pixeled.font */

@font-face {
    font-family: Pixeled;
    src: url('../docs/Pixeled.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.pixelfont {
    font-family: Pixeled, Tahoma, serif!important;
    font-size: 30px;
}
.pixel, .pixel2 {
    
    color: white;
    height: auto;
    
    font-family: 'VT323';
    
    position: relative;
    display: inline-block;
    vertical-align: top;
    text-transform: uppercase;
    
    cursor: pointer;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  .pixel:active, .pixel2:active {
    top: 2px;
  }
  
  .pixel {
    line-height: 0;
    
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -o-crisp-edges; /* Opera */
    image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
    
    border-style: solid;
    border-width: 20px;
    /*
    -moz-border-image: url(https://i.imgur.com/sREM8Yn.png) 20 stretch;
    -webkit-border-image: url(https://i.imgur.com/sREM8Yn.png) 20 stretch;
    -o-border-image: url(https://i.imgur.com/sREM8Yn.png) 20 stretch;
    border-image: url(https://i.imgur.com/sREM8Yn.png) 20 stretch;
    */
    -moz-border-image: url(https://i.imgur.com/C1kDX16.png) 20 stretch;
    -webkit-border-image: url(https://i.imgur.com/C1kDX16.png) 20 stretch;
    -o-border-image: url(https://i.imgur.com/C1kDX16.png) 20 stretch;
    border-image: url(https://i.imgur.com/C1kDX16.png) 20 stretch;

    
  }
  
  .pixel p {
    color: #000;
    vertical-align: top;
    position: relative;
    width: auto;
    text-align: center;
    margin: -20px -20px;
    line-height: 20px;
    padding: 10px 20px;
    
      background: #FFFFFF;
      background:
          linear-gradient(135deg, transparent 10px, #FFFFFF 0) top left,
          linear-gradient(225deg, transparent 10px, #FFFFFF 0) top right,
          linear-gradient(315deg, transparent 10px, #FFFFFF 0) bottom right,
          linear-gradient(45deg,  transparent 10px, #FFFFFF 0) bottom left;
      background-size: 50% 50%;
      background-repeat: no-repeat;
      background-image:
          radial-gradient(circle at 0 0, rgba(204,0,0,0) 14px, #FFFFFF 15px),
          radial-gradient(circle at 100% 0, rgba(204,0,0,0) 14px, #FFFFFF 15px),
          radial-gradient(circle at 100% 100%, rgba(204,0,0,0) 14px, #FFFFFF 15px),
          radial-gradient(circle at 0 100%, rgba(204,0,0,0) 14px, #FFFFFF 15px);
  }
  
  .pixel2 {
    position: relative;
    display: block;
    margin: 10px;
    font-family: 'VT323';
    text-transform: uppercase;
    
    font-size: 25px;
    color: white;
  }
  
  .pixel2::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: -10px;
    right: -10px;
    background: black;
    z-index: -1;
  }
  
  .pixel2::after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: -6px;
    right: -6px;
    background: black;
    z-index: -1;
  }
  
  .pixel2 {
    padding: 10px 10px;
    position: relative;
    background: black;
    width: auto;
    z-index: 2;
  }













/* Tablet */
@media(max-width: 1280px) { /* Changed from 1075px to prevent overflow of portfolio grid */
    /* SHARED STYLES */
    .wrapper > main, #pg-nav {width: calc(100% - 60px);}

    /* HEADER */
    #pg-nav > ul {
        display:grid;
        grid-template-areas: ". . .";         /* für Tablet geringere grid gap */
        grid-gap: 5px;
        
    }

    /* MAIN */
    .portfolio {
        grid-template-areas: ". .";
        grid-gap: 30px;
    }

    .einleitung {
        width: 90%;
    }

    .profilbildContainer {
        width: 80%;
    }

    .KategorienAlle{
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .portfolioKontakt{
        grid-template-areas: ". . .";
    }

    .portfolioInnerhalb {
        grid-template-areas: ".";
    }

    .portfolioInnerhalb:last-child{
        margin-bottom: 3%;
    }

    
    .portfolioInnerhalbTextpunkte {
        grid-template-areas:    "a b"
                                "c d";
        grid-gap: 30px;
    }

    .portfolioInnerhalbTextpunkteDiv:nth-child(1), .portfolioInnerhalbTextpunkteDiv:nth-child(3){
        text-align: right;
    }

    .portfolioInnerhalbTextpunkteDiv:nth-child(2), .portfolioInnerhalbTextpunkteDiv:nth-child(4) {
        text-align: left;
    }



    .tileUebersicht {
        width: 48%;
    }

    .zeitrahmenPlakat{
        margin-bottom: 2vw;
    }

    .tileAutoVideografie {
        width: 77.5vw;
        margin-left: 9%;
        margin-right: 9%;
    }


    .fotoGalerie{
        width: 95%;
    margin-left: 2.5%;
    margin-right: 2.5%;
    }

    .softwareBilderGrid{
        
        width: 50%;
        margin-left: 25%;
        margin-right: 25%;
        margin-top: 2vw;
    }

    #a {
        order: 2;
    }
    #b{
        order: 3;
    }
    #c {
        order: 1;
    }
    #d {
        order: 4;
    }

   
    
    



    .softwareBild > img {
        min-width: 6vw;
        max-width: 10vw;
        min-height: 6vw;
        max-height: 10vw;
    }

    .plakatBildGrid{
        grid-gap: 0px;
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        
    }

    .plakatBild{
        width: 100%;
    }


    .plakatBild > img {
        width: 13vw;
    }

    


    .sliderUntenPassendKeying{
        height: 43.8vw;
        margin-bottom: 3vw;
    }

    

    .w3Section {
        display: block;
    }

    .mySlides {
        border-top-right-radius: 20px;
        width: 77.5vw;
        height: 43.8vw;
    }

    .BildInfo{
        max-width: 77.5vw;
    }

    .mySlidesLaunchpad {
        border-bottom-left-radius: 0;
    }

    .mySlides2Auto{
        height: 50vw;
    }

    .embed-container169 { 
        width: 77.5vw;
        height: 43.8vw;
    }

    .embed-container169 iframe {
        width: 100%;
    }

    .embed-container916 {
        width: 100%;
        
    }
    .embed-container916 iframe {
        width: 28.1vw;
        height: 50vw;
        
    }
    .embed-container916 blockquote {
        width: 40vw;
        height: 50vw;
        
    }
    .sliderUndScreenshot {
        height: 50vw;
    }
    
    .sliderHochformat {
        display: grid;
        grid-template-areas: ". .";
        grid-gap: 1vw;
        width: 70%;
        margin-left: 15%;
        margin-right: 15%;
    }

    .mySlides2Screenshot {
        position: relative;
        
        width: 100%;
        height: 100%;

    }
    .mySlidesYt {
        width: 100%;
        height: 100%;
    }

    .w3-left, .w3-right, .w3-badge {cursor:pointer}
    .w3-badge { /* ist überflüssig, wird von w3school überschrieben */
        height:13px;
        width:13px;
        padding:0;    
    }                   
    
    

    .portfolioBilder {
        
        grid-gap: 20px;
    }

    

    .bildUntertitel {
        margin-top: -4.4vw;
        height: 4.4vw;
      }

      .bildUntertitelText{
          padding-top: 0.9vw;
          font-size: 1.7vw;
      }

      .bildUntertitelTextAlle {
        padding-top: 1vw!important;
        font-size: 2vw;
    }

      .picKontakt img {
        z-index: -100;
        padding: 2vw;
        padding-bottom: 5vw;
        margin: 0 auto;
    }


    .einleitung {
        min-height: 45vw;
    }


    #kontaktDaten > ul li {

        
        font-size: 1.8vw;
        
        
    }    
    #mapdiv {height: 65vw;}

    
}


/*Handy*/
@media(max-width: 850px) {

    /* HEADER */
    .wrapper > header {padding: 20px;}
    #hamburger {display: flex;}             /* nur beim handy wird ein hamburger angezeigt, sonst nicht */
    #pg-nav {width: auto;}                  /*also immer mittig */
    #pg-nav.active > ul {display: block;}
    #pg-nav > ul {
        display:grid;
        grid-template-areas: ".";           /* beim Handy nur 1 Menü pro Zeile */
        grid-gap: 30px;
        display: none;
        
    }

    .sub-list {position: relative;}

    
    /* MAIN */
    .wrapper > main {width: calc(100% - 40px);}

    .einleitung {
        flex-direction: column-reverse;
    }

    .einleitungFlexitem1 {
        width: 100%;
    }
    .einleitungFlexitem2 {
        width: 100%;
        margin-bottom: 3vw;
    }
    .profilbildContainer {
        width: 60%;
        
    }

    .profilbild img {
        width: 100%;
        height:auto;
        
    }

    .portfolio {
        grid-template-areas: ".";
        grid-gap: 20px;
    }

    .portfolioAlleProjekte{
        grid-template-areas: ". .";
    }
    .portfolioKontakt{
        width: 100%;
        margin: 0 auto;
        height: fit-content;
    }
    .tileKontakt {  
        min-width: 40%;
        border-radius: 20px;
        height: fit-content;
    }

    .picKontakt img {
        
        z-index: -100;
        padding: 2vw;
        padding-bottom: 8vw;
    }

    .UebersichtUntertitel {
        margin-top: -7.1vw!important;
    }

    .bildUntertitelKontakt {
        
        
    }

    .bildUntertitelTextKontakt {
        font-size: 2.5vw;
    }

    .portfolioBilder {                                  /* wenn Bilder von der lazy.html Seite im Handy Format, dann andere Anordnung */
        grid-template-areas: "a"
                             "b"
                             "c"
                             "d"
                             "e"
                             "f"
                             "g"
                             "h";
        grid-gap: 20px;
    }

    .tileAutoVideografie {
        min-height: 15vw;
        width: 92.4vw;
        margin-left: 1%;
        margin-right: 1%;
    }

    

    .fotoGalerie{
        width: 98%;
        margin-left: 1%;
        margin-right: 1%;
    }


    .softwareBilderGrid {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .softwareBild > img {
        width: 10vw;
        height: 10vw;
    }

    .plakatBildGrid{
        grid-gap: 0.6vw;
        width: 90%;
        margin-left: 0%;
        margin-right: 0%; 
    }

    .plakatBild > img {
        width: 18vw;
    }



    .sliderUntenPassendKeying{
        height: 51.98vw;
        margin-bottom: 3vw;
    }

    .mySlides {
        width: 92.4vw;
        height: 51.98vw;
    }

    .BildInfo{
        max-width: 92.4vw;
    }

    .tags {
        border-radius: 1vw; 
        padding: 1vw; 
    }

    .mySlides2Auto{
        height: 70vw;
    }

    .embed-container169 {
        
        width: 92.4vw;
        height: 51.98vw;
        align-content: center;
        
    }

    .sliderUndScreenshot {
        height: 70vw;
        
    }

    .sliderHochformat {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
    .embed-container916 iframe {
        height: 70vw;
        width: 39.37vw;
        
    }






    

    .bildUntertitel {
        margin-top: -6.9vw;
        height: 6.9vw;
      }

      .bildUntertitelText {
          padding-top: 1.5vw;
          font-size: 3vw;
      }

    .bildUntertitelAlle {
        margin-top: -5vw;
        height: 5vw;
    }  

    .bildUntertitelTextAlle {
        padding-top: 1vw!important;
        font-size: 1.3rem;
    }

    .einleitung {min-height: 100vw;}
    

    #kontaktDaten > ul li {
        font-size: 3vw;  
    } 
    #mapdiv {height: 100vw;}

    .tabcontent {min-height: 20vw;}
    .socialLogo {min-width: 20%;
                margin-left: 40%;}

}


/* For demonstration purposes only */
.wrapper > header h1, .wrapper > main h1, .wrapper > footer h1 {text-align: center;}
.wrapper > header {margin-bottom: 30px;}
.wrapper > footer {margin-top: 30px; padding: 20px;}


.wrapper > header, .wrapper > footer {
    background-color: #333;
    color: #fafafa;
}

#pg-nav > ul li:hover {
    background-color: #dda153;
    color: #333;
}

#pg-nav > ul li a:hover {
    color: #333;
}

@media(max-width: 700px) {
    .embed-container169{
        width: 90vw;
        height: 50.62vw;
        
    }

    .embed-containerPlakat{
        margin-left: -2vw;
    }

    .tileAutoVideografie{
        width: 90vw;
        margin-left: 1.5%;
        margin-right: 0.5%;
    }

    .tileKategorieDivers{
        width: 90vw;
        margin-left: 1%;
        margin-right: 0;
    }

    .mySlides {
        width: 90vw;
        height: 50.62vw;
    }

    .BildInfo{
        max-width: 90vw;
        margin-left: 2vw;
    }

    .bildUntertitel{
        margin-top: -9vw;
        height: 9vw;
    }

    .UebersichtUntertitel{
        margin-top: -9vw!important;
    }

    .UebersichtUntertitelText {
        font-size: 2.7vw!important;
    }

    .bildUntertitelText {
        padding-top: 2vw;
        font-size: 4vw;
    }

    .bildUntertitelAlle {
        margin-top: -7vw;
        height: 7vw;
    }  

    .bildUntertitelTextAlle {
        padding-top: 2vw!important;
        font-size: 1rem;
    }

    .plakatBildGrid{
        grid-gap: 0px;
        width: 90vw;
        margin-left: 1vw;
        margin-right: 1vw; 
    }

    .plakatBild > img {
        width: 16.4vw;
    }

    .portfolioKontakt{
        
    }

    .tileKontakt {  
        min-width: 60%;
        border-radius: 20px;
        height: fit-content;
    }

    .bildUntertitelTextKontakt {
        margin-top: 1vw;
        font-size: 3.2vw;
    }

    .picKontakt img {
        z-index: -100;
        padding: 2vw;
        padding-bottom: 10vw;
    }


    .CounterDiv {
        width: 90%;
        height: 80vw;
        grid-auto-columns: 10vw 30vw 15vw 10vw 15vw;
    }

    .CounterText {
        font-size: 10px;
    }

    .CounterButton {
        font-size: 19px;
        display: inline-table;
    }

    .pixelfont {
        font-size: 20px;
    }
}

@media(max-width: 630px) {
    .bildUntertitelTextAlle {
        padding-top: 1.5vw;
        font-size: 0.8rem;
    }
}


@media(min-width:1500px) {
    .softwareBild > img {
        width: 3vw;
        height: 3vw;
        max-width: 3vw;
        max-height: 3vw;
    }

    .sliderUndScreenshot {
        height: 35vw;
        width: 19.69vw;
        
    }

    .embed-container916 {
        height: 35vw;
        width: 19.69vw;
    }

    .bildUntertitel {
        height: 2vw;
        margin-top: -2vw;
    }
    .bildUntertitelText {
        padding-top: 0.3vw;
    }

    .bildUntertitelAlle{
        margin-top: -2vw;
    }
    .bildUntertitelTextAlle{
        padding-top: 0.3vw!important;
    }

    .embedPlakat {
        min-width: 50vw;
        min-height: 28.125vw;
    }
    .containerPlakat{
        min-width: 50vw;
        min-height: 28.125vw;   
    }
    .mySlidesPlakat {
        min-width: 50vw;
        min-height: 28.125vw;
    }


   

   

    

    

    

}



