/*
*{
    border: 1px solid red;
}
.projektpage *{
    box-sizing: border-box;
}


/* Projektpage /////////////////////////////////////////////////////////*/
.projektpage main{
    padding: 150px 0 50px;
}

/*imprint*/
.imprint main{
    min-height: calc(100vh - 449px);
}
.imprint #footerline a:first-of-type{
    color: #FAFF00;
}

/*privacy ///////////////////////////////////////////////////////////////////////////////// */
.privacy .whitebg p{
    font-size: 0.9em;
}
.privacy .whitebg p.small{
    font-size: 0.7em;
}
.privacy .whitebg p, .privacy .whitebg h4, .privacy .whitebg h3{
    max-width: 750px;
}
.privacy #footerline a:last-of-type{
    color: #FAFF00;
}

/*errorpage ///////////////////////////////////////////////////////////////////////////////// */

.errorpage main .basis{
    min-height: calc(100vh - 449px);
}
.errorpage main .basis div{
    padding: 0 1.3em;
}
.errorpage h1, .errorpage h2{
    padding-bottom: 0.75em;
}
.errorpage main .basis img{
    max-width:205px;
}






.projektpage .basis{
    position: relative;
    z-index: 5;
}

.projektpage h3{
    display: inline-block;
    max-width: 550px;
    font-size: 1.55em;
    line-height: 1.6em;
    margin-bottom: 25px;
    border-bottom: 10px solid #AAF2D4;
}
.projektpage .intro{
    max-width: 550px;
    margin-bottom: 70px;
}
#projektcontent video{
    max-width: 100%;
}



.caption{
    font-size: .9em;
    margin: 20px 0;
}
.right{
    text-align: right;
}

.row{
    overflow: hidden;
    margin-bottom: 50px;
}
.row .caption{
    margin-top: 0;
    margin-bottom: 0;
}
.half{
    float: left;
    width: 48%;
    margin-right: 4%;
}
.third{
    float: left;
    width: 30.66%;
    margin-right: 4%;
}
.twothird{
    float: left;
    width: 65.33%;
    margin-right: 4%;
}
.quarter{
    float: left;
    width: 22%;
    margin-right: 4%;
}
.twoquarter{
    float: left;
    width: 48%;
    margin-right: 4%;
}
.threequarter{
    float: left;
    width: 74%;
    margin-right: 4%;
}
.half:last-child, .third:last-child, .twothird:last-child, .quarter:last-child, .twoquarter:last-child, .threequarter:last-child{
    margin-right: 0;
}
.half img, .third img, .twothird img, .quarter img, .twoquarter img, .threequarter img{
    width: 100%;
}

@media screen and (max-width:950px){
    .half, .third, .twothird, .quarter, .twoquarter, .threequarter{
        width: 100%;
    }
    .row .caption{
        margin: 20px 0;
    }
}





/*Flexbox*/
#projektcontent .container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 40px;
    row-gap: 20px;
    width: 100%;
}
#projektcontent .item{
    box-sizing: border-box;
    flex-basis: 225px;
    flex-grow: 1;
}
.container img{
    width: 100%;
}
.container img.portrait{
    width: 56.25%;
}
#projektcontent .container .grow2{
    flex-grow: 2;
}
#projektcontent .container .grow3{
    flex-grow: 3;
}
#projektcontent .container .grow4{
    flex-grow: 4;
}



/*portfolio*/
.portfolio #projektcontent #hero{
    display: block;
    width: 80%;
    margin: 0 auto 100px;
}
.portfolio #projektcontent .row{
    margin-top: 100px;
}
@media screen and (max-width:950px){
    .portfolio .third{
        width: 30.66%;
    }
    .portfolio .twothird{
        width: 65.33%;
    }
}
.portfolio .row .caption{
    margin: 0 0;
} 

@media screen and (max-width:650px){    
    .portfolio .third, .portfolio .twothird{
        width: 100%;
    }
    .portfolio .row .caption{
        margin: 20px 0;
    } 
    .portfolio #portfoliocolor{
        margin-bottom: 20px;
    }
}
@media screen and (max-width:450px){   
    .portfolio #projektcontent #hero{
        width: 100%;
    }
}






/*Weihnachtskarten*/
.scribble{
    margin-top: -110px;
    margin-bottom: -140px;
    margin-left: 5%;
    max-width: 450px;
}   
@media screen and (max-width:950px){ 
    .scribble{
        max-width: 300px;
        margin-bottom: -100px;
        margin-left:0;
    }
}
@media screen and (max-width:550px){ 
    .scribble{
        margin-top: 30px;
        margin-bottom: -25%;
        max-width: 70%;
        margin-left:5%;
    }
}


/*vagabund*/
.vagabund #hero{
    width: 100%;
    border-radius: 20px;
    margin: 0 0 70px;
}
#vagabundtimeline{
    background-image: url(../images/projekt-vagabund/vagabund-timeline-hg.jpg);
    background-size: cover;
    border-radius: 20px;
}
#vagabundhome{
    background-image: url(../images/projekt-vagabund/vagabund-home-hg.jpg);
    background-size: cover;
    border-radius: 20px;
}
.vagabund .width40{
    width: 40%;
    margin: 70px 0 20px;
}

@media screen and (max-width:950px){
    .vagabund #projektcontent .item{
        flex-basis: 850px;
        flex-grow: 1;
    }
}
@media screen and (max-width:650px){
    #vagabundtimeline{
        width: 100%;
    }
    #vagabundhome{
        width: 100%;
    }
    .vagabund .width40{
        width: 100%;
    }
}



/* roter faden */
.faden #projektcontent .container:first-child{
    margin-bottom: 130px;
}













#projektnav{
    margin-top: 170px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
@media screen and (max-width:650px){ 
    #projektnav{
        margin-top: 100px;
    }
}

#projektnav .item{
    flex-basis: 48%;
}
#projektnav h4{
    display: inline;
}
#projektnav svg{
    width: 50px;
    display: inline;
    position: relative;
    top: 3px;
}
#projektnav svg path{
    stroke: #000;
    stroke-width: 1.2px
}
#projektnav a:hover svg path{
    stroke: #AAF2D4;
}
#toprojektgallery{
    text-align: left;
    order: 1;
}
#nextprojekt{
    text-align: right;
    order: 2;
}
#toprojektgallery svg{
    padding-right: 10px;
}
#nextprojekt svg{
    padding-left: 10px;
}
#nextprojekt svg:first-child{
    display: none;
}
#toprojektgallery a:hover svg{
    animation-name: bounceleft;
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}
    @keyframes bounceleft{
        0% {
            -webkit-transform: translateX(0);
            -moz-transform: translateX(0);
            -ms-transform: translateX(0);
            -o-transform: translateX(0);
        transform: translateX(0);    
        }
        100% {
            -webkit-transform: translateX(-10px);
            -moz-transform: translateX(-10px);
            -ms-transform: translateX(-10px);
            -o-transform: translateX(-10px);
        transform: translateX(-10px);    
        }
    }
#nextprojekt a:hover svg{
    animation-name: bounceright;
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}
    @keyframes bounceright{
        0% {
            -webkit-transform: translateX(0);
            -moz-transform: translateX(0);
            -ms-transform: translateX(0);
            -o-transform: translateX(0);
        transform: translateX(0);    
        }
        100% {
            -webkit-transform: translateX(10px);
            -moz-transform: translateX(10px);
            -ms-transform: translateX(10px);
            -o-transform: translateX(10px);
        transform: translateX(10px);    
        }
    }
  
@media screen and (max-width: 650px) {
    #projektnav svg{
        top: 1px;
        width: 35px;
    }
    #projektnav .item{
        flex-basis: 100%;
    }
    #nextprojekt{
        text-align: left;
        order: 1;
    }
    #toprojektgallery{
        margin-top: 10px;
        order: 2;
    }
    #nextprojekt svg:first-child{
        display: inherit;
        padding-left: 0;
        padding-right: 10px;
    }
    #nextprojekt svg:last-child{
        display: none;
    }
    #nextprojekt a:hover svg{
        animation-name: none;
    }
}