@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;600;800&display=swap');



/*allgemein*/

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

h2 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p{
    line-height: 1.5em
}

img{
    width: 100%;    
}

section:not(.top) {
    padding-top: 3em;
}


.hide-mobile {
    display: none;
}

.link {
    color: #444444;
}



/*header*/



.friends{
    background:url('../images/flakons.176.jpg');
}

.rake {
    background: url('../images/frontal.313.jpg');
}

.ello {
    background:url('../images/ello2.jpg');
}

.mizu {
    background: url('../images/interface.178.jpg');
}

.unexpected {
    background: url('../images/P1010957-2-Edit.jpg');
  
}

.puddle {
    background: url('../images/puddle1.jpg');
}

.hero-bg {
    background-size: cover;
    background-position: center;
    padding-right: 0;
    padding-bottom: 25em;
}





.NameLink {  /*ohne animation*/
    color: #444444;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;

       
}

.menu {
    color: whitesmoke;
    padding: 0px;
    width: 25px;
    margin-right: 0;
}


ul {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 1.5em;
}

nav ul {
    position: fixed;
    width: 60%;
    top: 0;
    right: 0;
    text-align: left;
    background: white;
    height: 100%;
    z-index: 7;
    padding-top: 3em;
}

nav ul li a{
    color: #444444;
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 1em 2em;
}

.exit-btn {
    margin-bottom: 1em;
    margin-top: -1.3em;
    text-align: right;

}

.exit-btn img{
    width: 25px;
    padding: 0 1.5em;

}



/*ab hier gehts los mit projekt*/


.content-container {
    margin: 0 1.5em;

}

.details-container {
    color: #444444;
    
}

.details-container-left h1{
    margin: 0;
    padding-top: 1.8em;
    padding-bottom: 1.8em;
    font-size: 1.5rem;
    font-weight: bold;
    
}

.details-container-left span {
    text-transform: uppercase;
    font-weight: bold;
}

.details-container-left p{
    font-size: 0.9rem;
    padding-right: 2.5em;
}

.details-container ul{
    font-size: 0.9rem;
    list-style-type: none;
    margin: 0;
    padding: 1em 0em;
    text-align: right;
    line-height: 1.5em
   
}

.details-container ul span {
    font-weight: bold;
}


.bildtextgrid {
    margin: 0;


}


.right-col {
    margin: 3em 1.5em;
    color: #444444;
    
}


.textbildgrid {
    margin: 0;
}

/*videosection*/
.videosection {
    margin: 5em 0em;
}


.video {
    width: 100%;
    padding-top: 56.25%;
    padding-bottom: 0;
    position: relative;
    background-color: #444444;

}

iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}




/*imgslideshow*/

.img-slider{
    position: relative;
    display: block;
    width: 100%;
    height: 300px;
}


.img-slider .slide{
    z-index: 1;
    position:absolute;
    width: 100%;
    clip-path: inset(0 100% 0 0);
}

.img-slider .slide.active{
    clip-path: inset(0 0 0 0);
    transition: 2s;
    transition-property: clip-path;

}

.img-slider .slide img{
    z-index: 1;
    width: 100%;
    object-fit: contain;
    height: 300px;
    padding-top: 0;
}

.img-slider .navigation{
    z-index: 2;
    position: absolute;
    display: flex;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}

.img-slider .navigation .btn{
    border: 1px solid #9b9b9b;
    width: 8px;
    height: 8px;
    margin: 6px;
    border-radius: 50%;
    cursor: pointer;

}

.img-slider .navigation .btn.active{
    background: #9b9b9b;
}


.deckelchange {
    display: none;
}

.murmelchange {
    display: none;
}

.to-the-top {
    display: flex;
    justify-content:center;
    padding-bottom: 2em;
    margin-top: 2em;
}



.svg-totop {
    transform: rotate(180deg);
}


footer {
    width: 100%;
    background-color: #444444;
    overflow: hidden;
    display: block;
    padding: 70px 0;
    box-sizing: border-box;

}



.footer-container {
    display: block;
    margin: 0 auto;


}


.footer-container .row{
    display: block;
    text-align: center;
}

.footer-col a{
    font-size: 1em;
    text-decoration: underline;
    color: white;
    padding: 0 10px;
}

.footer-col .right a{
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
}
.footer-col .right{
    padding-bottom: 20px;
}
















/*about*/

.profilepic-parent{
    position: relative;
    display: flex;
    margin: 4em 4em 4em 4em;
}

.profilepic {

    height: 350px;
    width: 100%;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;

}
















/*startseite*/






  
  .portfolio-item-wrapper {
    position: relative;
    display: flex;
    margin: 4em 4em 4em 4em;
  }
  
  .portfolio-img-background {
    height: 350px;
    width: 100%;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .img-text-wrapper {
    position: absolute;
    top: 0;
    display: flex;
    height: 100%;
    width: 100%;
    
  }
  
  .img-text-wrapper div {
    z-index: 1;
    display: flex;
  }
  
  .img-text-wrapper > div > .subtitle{
    font-weight:800;
    font-size: 20px;
    color: white;
    
  }
  .img-text-wrapper > div > .zahl{
    font-weight: 800;
    font-size: 30px;
    color: white ;
    
  }
  
  .img-text-wrapper div{
    transition: 0.8s;
    display: inline-block;
  }
  
  .img-text-wrapper:hover div{
    transform: translate(0px, -25px);
  }

  .if {
    width: 100%;
    background-color: white;
    overflow: hidden;
    display: block;
    padding: 0 0;
    box-sizing: border-box;
    bottom: 20px;


}


.if-col a{
    font-size: 0.8em;
    text-decoration: underline;
    color: #9b9b9b;
    padding: 0 10px;
}


.if-rig p{
    padding-bottom: 2em;
    padding-top: 1em;
    color: #9b9b9b;
    font-size: 0.8em;
    margin: 0;
}




.imprint{
    margin: 3em 1.5em;
    color: #444444;

}














@media (min-width: 720px) {
    .hero-bg {
        background-position: 60%;
        padding: 2em;
        height: 70vh;
    }
    .details-container-left p{
        width: 90%;
        padding-right: 0px;
      
    }

    .details-container {
        display: flex;
    }
    .details-container ul{
        width: 50%;
        margin-top: 9.3em;
        
    }

    section.bildtextgrid {
        display: grid;
        grid-template-columns: repeat(2,50%);
    }

    section.textbildgrid {
        display: grid;
        grid-template-columns: repeat(2,50%);
    }

    section {
        
        padding-bottom: 5em;

    }

    .right-col {
        margin: 3em 0em;
        color: #444444;
        padding: 0 14%;
        align-self: center;
    }

    .img-slider{
        height: 600px;
    }

    .img-slider .slide img{
        height: 600px;
    }






    

}



























@media (min-width: 1024px) {

    section:not(.top) {
        padding-top: 7em;
    }


    .inhaltprojekt-wrapper {
        margin: 0px 14%;
    }


    header {

        padding: 3em;
        padding-bottom: 1em;
    }


    .show-desktop {
        display: block;
        
    }

    .hide-desktop {
        display:  none;
    }

    .hero-bg {
        background-position: center;
        padding: 0;
        height: 100vh;
    }

    .content-container {
        padding-top: 5em;
        max-width: 1200px;
        margin: 0px auto;    
    }
    

    nav ul {
        position: inherit;
        width: auto;
        background: none;
        height: auto;
        display: flex;
        padding-top: 0;
    }

    nav ul li {
        float: left;
        margin-right: 20px;
        font-size: 1em;
        text-transform: uppercase;
        font-weight: bold;
    }

    nav ul li a {
        color: #444444;
        text-align: left;
        padding: 0;
    }

    .nav-link-wrapper {
        height: 22px;
        border-bottom: 2px solid transparent;
        transition: border-bottom 0.5s;
    }

    .nav-link-wrapper a {
        color: #444444;
        text-decoration: none;
        transition: color 0.5s;
    }

    .nav-link-wrapper:hover {
        border-bottom: 2px solid #444444;
    }

    .nav-link-wrapper a:hover {
        color: #444444;
    }

    .active-nav-link {
        border-bottom:  2px solid #444444;
    }

    .active-nav-link a {
        color: #444444 !important;
    }


    /*nav links*/

.aboutheadlines {
    min-height: 80px;
  }
  
  
  
  .aboutheadlines h1 {
    text-transform:uppercase;
    font-size: 2em;
    font-weight: 800;
    position: absolute;
    margin: 0;
    line-height: 0.9;
    color: #444444;
    transform: translate(calc(var(--index) * (var(--x) * 1%)), calc(var(--index) * (var(--y) * 1%)));
   
  }
  
  
  .aboutheadlines .weiss:hover{
    transition: 0.5s;
    color: whitesmoke;
    -webkit-text-stroke: whitesmoke;
  }


  .to-the-content {
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    bottom: 0px;
    display: flex;
    height: 4rem;
    padding-bottom: 1em;
  }

  .to-the-content:hover {
      transform: translateY(-10px);
      transition: 0.5s;

  }

  img:not(.illustration){
    height: 800px;
    object-fit: cover;
  }




  .img-slider{
    height: 600px;
}

.img-slider .slide img{
    height: 600px;
}

.to-the-top {
    justify-content:flex-end;
    padding-bottom: 5em;
    padding-right: 3em;
}

.to-the-top:hover {
    transform: translateY(10px);
    transition: 0.5s;

}

.footer-container .row{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 0 3em;
}

.footer-col .right{
    padding-bottom: 0;
}













/*startseite*/
.portfolio-item-wrapper {
    position: relative;
    display: flex;
    margin: 1em 1em;
}

.profilepic-parent{
    margin: 0em 0em 0em 0em;
}

.profilepic {

    height: calc(50vh + 2em);
    width: 100%;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;

}

.imprint{
    margin: 1em 11em 1em 11em;
    color: #444444;
}


.about-items-wrapper {
    margin: 1em 11em 1em 11em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
    font-size: 0.7rem;
}

section {
        
    padding-bottom: 0em;

}

.portfolio-img-background {
    height: 25vh;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  

.portfolio-items-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    margin: 0em 10em 0em 10em;

  }






  .img-text-wrapper div {
    z-index: -1;
  }



  .img-text-wrapper > div > .subtitle{
    font-size: 15px;
    color: #444444;
    
  }
  .img-text-wrapper > div > .zahl{
    font-size: 17px;
    color: #444444 ;
    
  }


  .img-text-wrapper:hover div{
    transform: translate(0px, -12px);
  }

  .if {

    position: absolute;

}

.if-rig p{
    padding-bottom: 0em;
    padding-top: 0em;

}



/*friends*/
.deckelchange {
    display: block;
    background: url("/images/flakons.176.jpg") no-repeat;
    background-position: center;
    background-size: cover;
    height: 800px;
    box-sizing:content-box;
    margin-top: 7em;

    padding: 0;

}

.deckelchange:hover{
    background: url("/images/flakons.177.jpg") no-repeat;
    background-position: center;
    background-size: cover;
    height: 800px;
    margin-top: 7em;
    

}

.deckelchange .hover{
    font-weight: bold;
    padding-left: 35em;
    padding-top: 5em;
    color: #444444;
   
}

.murmelchange .hover{
    font-weight: bold;
    padding-left: 1em;
    padding-top: 5em;
    color: #444444;
   
}

.murmelchange {
    display: block;
    background: url("/images/murmelbahngeschlossen.jpg") no-repeat;
    background-position: center;
    background-size: contain;
    height: 800px;
    width: 100%;
    margin-bottom: 5em;
    padding: 0;

}

.murmelchange:hover{
    background: url("/images/murmelbahnoffen.jpg") no-repeat;
    background-position: center;
    background-size:contain;
    width: 100%;
    margin-bottom: 5em;
    

}

.flacongif {
    display: none;
}





  /*ello*/

  .storyboard {
      width: auto;
  }

  .story-text {
      margin-bottom: 12em;
  }

  .interface-img {
      object-position: -300px;
  }


  /*mizu*/

  .revengineering{
      object-position: -200px;
  }




  /*rake*/

  
  
}


@media (min-width: 1300px) {
    .portfolio-item-wrapper {
        margin: 2em 2em;
    }

    .portfolio-items-wrapper {
        margin: 0em 12em 0em 12em;
    }

    .img-text-wrapper > div > .subtitle{
        font-size: 15px;        
      } 

    .img-text-wrapper > div > .zahl{
        font-size: 20px;        
      }
    
    
    .img-text-wrapper:hover div{
        transform: translate(0px, -15px);
      }

    .profilepic {

        height: calc(50vh + 4em);
    }
    
    .imprint{
        margin: 2em 14em 2em 14em;
    }
    
    
    .about-items-wrapper {
        margin: 2em 14em 2em 14em;
        font-size: unset;
    }


}

@media (min-width: 1500px) {
    .portfolio-item-wrapper {
        margin: 3em 3em;
    }

    .portfolio-items-wrapper {
        margin: 0em 12em 0em 12em;
    }

    .img-text-wrapper > div > .subtitle{
        font-size: 15px;        
      } 

      .img-text-wrapper > div > .zahl{
        font-size: 23px;        
      }
    
    
      .img-text-wrapper:hover div{
        transform: translate(0px, -18px);
      }

    .profilepic {

        height: calc(50vh + 6em);
    }
    
    .imprint{
        margin: 3em 15em 3em 15em;
    }
    
    
    .about-items-wrapper {
        margin: 3em 15em 3em 15em;
    }


}

@media (min-width: 1700px) {
    .portfolio-item-wrapper {
        margin: 4em 4em;
    }

    .portfolio-items-wrapper {
        margin: 0em 13em 0em 13em;
    }

    .img-text-wrapper > div > .subtitle{
        font-size: 18px;        
      } 

      .img-text-wrapper > div > .zahl{
        font-size: 26px;        
      }
    
    
      .img-text-wrapper:hover div{
        transform: translate(0px, -22px);
      }

    .profilepic {

        height: calc(50vh + 8em);
    }
    
    .imprint{
        margin: 4em 17em 4em 17em;
    }
    
    
    .about-items-wrapper {
        margin: 4em 17em 4em 17em;
    }


}


@media (min-width: 1900px) {
    .portfolio-item-wrapper {
        margin: 4em 4em;
    }

    .portfolio-items-wrapper {
        margin: 0em 15em 0em 15em;
    }

    .img-text-wrapper > div > .subtitle{
        font-size: 20px;        
      } 

      .img-text-wrapper > div > .zahl{
        font-size: 30px;        
      }
    
    
      .img-text-wrapper:hover div{
        transform: translate(0px, -25px);
      }

      .profilepic {

        height: calc(50vh + 8em);
    }
    
    .imprint{
        margin: 4em 19em 4em 19em;
    }
    
    
    .about-items-wrapper {
        margin: 4em 19em 4em 19em;
    }


}