@font-face {
    font-family: Route;
    font-display: swap;
    src: url(/fonts/route/Route.woff2),
         url(/fonts/route/Route.woff); 
        } 


html {

    scroll-behavior: smooth; 
}
    
body {

  

    background-color: #ECEBE6;
    margin: 0;
    
}
.sfon {
    background-image: url(../img/sf2.svg);
    background-size: 1718px, 3052px;
    background-position: center, top;
    background-repeat: repeat, no-repeat;
    background-attachment: fixed;
}

.grid960 {
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px;
}

h2{
    font-family: 'Offside', cursive;
    font-weight: 100;
    color: #747371;
    font-size: 1.5em;
    border-bottom: 1px solid black;
    max-width: 300px;
    margin-top: 50px;
    margin-bottom: 40px;
}
.h2_white {
    color: white;
    border-bottom: 1px solid #747371;
}
   

h3 {
    font-family: 'Barlow', sans-serif;
    color: #F39200;
    font-weight: 300;
}

h1 {
    font-family: 'Offside', cursive;
    color: #F39200;
    font-size: 15vw;
    max-width: 300px;
    font-weight: 100;
    margin: 50px 0 30px 20px;
    padding: 31px 0 0 21px;
}
p {
        font-family: 'Barlow', sans-serif;
        font-size: 1.1em;
        font-weight: 300;
        line-height: 1.5em;
}

h5 {
    font-family: 'Barlow', sans-serif;
    color: #3b3b3c;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 3px;

}

#kontakt h3 {
    margin-bottom: 3px;
    margin-top: 48px;
}

#kontakt p {
    margin-top: 3px;
}
.admail {
    font-family: 'Barlow', sans-serif;
    font-size: 1em;
    font-weight: 300;
    text-decoration: none;
    color: black;
}
/*############# Navigation ##############*/

nav li:nth-of-type(1)  {
    display: none;
}


nav {
   
   position: fixed;
    top: -4px;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.5s;
    z-index: 9996;
     width: 160px;
}
nav ul {
    padding-left: 13px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
   
   
    background-color: white;
    margin-top: 57px;
    list-style-type: none; 

   
  
}
body > div:nth-of-type(1) {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.72);
    top: 0;
    left: 0;
    z-index: 9995;
  
  
  
}
body.open nav {
     transform: translateX(0);
}

nav li {
    
    padding: 15px 0;
   
    width: 100%;
  
    
    
}
nav li:nth-of-type(2), nav li:nth-of-type(3), nav li:nth-of-type(4), nav li:nth-of-type(5){
  
     border-bottom: 1px solid #AFAFAF;
}


nav li a {
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
    color: black;
    font-weight: 400;
    font-size: 1em;
    padding: 10px 10px;
    
    
  
}

nav li a:hover {
    background-color: #AFAFAF;
}


#menu-controls {
    position: relative;
    width: 44px;
    height: 44px;
  
}

#menu-controls img {
 
    right: 0;
    margin: 11px;
    top: 0;
    position: absolute;
    
    
 
}

header {
    background-color: white;
    height: 48px;
    display: flex;
    align-items:center;
    justify-content: flex-end;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9998;
    left: 0;
    
}
header img {
    width: 25px;
    
    
}


.logo {
  
    padding-right: 12px;
    border-right: solid 1px black;
}

#tast {
    display: none;
}

/*############ START ###########*/
#start {
    position: relative;
}


#start:before {
    content: url(../img/origami.png);
        top: -216px;
    position: absolute;
    left: -524px;
    

}



#start > div > div {
 
    width: 60%;
  transform: rotate(15deg);
  background-color: white;
        margin: 41px 0;
    
    
}


#start div img {
    width: 87%;
    transform: rotate(-15deg);
    border: solid 15px white;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    
}

#start > div {
   width: 100%;
   
    display: flex;
    justify-content: center;
}




/*############ BIN ICH ################*/




#binich > div > div >img {
    position: absolute;
        left: -597px;

} 



#binich > div > div{

    position: relative;
}



#binich > div > div > h2 {
    margin-left: 30px;
}



/*################# LEISTUNGEN ##################*/

#leistung {
        overflow: hidden;
}



#leistung > div:nth-of-type(5) {
  
    padding-bottom: 50px;
}

#leistung img {
    background-color: white;
    width: 100%;
  
}

 #leistung > div > div {
        padding: 15px 20px;
        margin-top: 20px;
        margin-bottom: 20px;
}
    




.ordnung {
    order: 2;
}

#leistung div:nth-child(2) {
    position: relative;
}


#leistung div:nth-of-type(3) {
    position: relative;
}

.tassedeko, .handy {
    display: none;
}

/*################## PORTFOLIO ##############*/

#portfolio {
    background-color: #3B3B3C;
    padding-top:  35px;
}



#portfolio img {
    width: 100%;
    height: 100%;
   
}

#portfolio > div:nth-of-type(2) {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

}




#portfolio > div:nth-of-type(2) figure {
    position: relative;
    max-width: 344px;
    overflow: hidden;
  
    
}



#portfolio > div:nth-of-type(2) figcaption {
    position: absolute;
    width: 100%;
  
    top: 0;
    left: 0;
    
    height: 100%;
   
 
}


#portfolio > div:nth-of-type(2) figcaption:after {
    content:"";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 30px;
    background-color: #afafaf80;

}

#portfolio > div:nth-of-type(2) figure:hover img {
 
    filter: blur(5px);
}



#portfolio figure figcaption a {
    width: 100%;
    height: 97%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: black;
     font-family: 'Barlow', sans-serif;
    font-size: 20px;
    padding-bottom: 3px;
    text-decoration: none;
    
}





/*################### KONTAKT ################*/

#kontakt {
    background-color: white;
    padding: 20px 0;
}


#kontakt > div > div:nth-of-type(2) h2 {
    display: none;
}


#kontakt fieldset {
    border: 0;
    padding: 0;
}


.formdiv {
    display: flex;
    flex-direction: column;
     font-family: 'Barlow', sans-serif;
}


.formdiv label {
    margin: 7px 0 3px 0;
}

#kontakt input {
    height: 40px;
    border: solid 1px #AFAFAF;
    background-color: #ECEBE6;
    
}

#kontakt textarea {
       border: solid 1px #AFAFAF;
    background-color: #ECEBE6;
    height: 200px;
    margin-bottom: 20px;
}

#kontakt button {
     background-color: #AFAFAF;
    border: solid 1px black;
    margin-right: 10px;
    padding: 10px;
   
}

#kontakt button:hover {
     background-color: black;
  color: #ECEBE6;
}

#kontakt > div > div:nth-of-type(2) {
    display: none;
}
/*################ FOOTER #####################*/

footer {
    background-color: #AFAFAF;
    padding: 5px 0;
}
footer dl {
    display: flex;
}
footer dd a {
    color: black;
     font-family: 'Barlow', sans-serif;
    text-decoration: none;
}

@media (min-width: 800px) {
                    header {
                        top: 0;
                        left: 0;
                        height: 100%;
                        background-color: white;   
                        width: 167px;
                        z-index: 9995;
                }   
                header img, header div {
                    display: none;
                }
                
            .grid960 {
                    padding-left: 180px;
                }
                
                    
            
            nav li:nth-of-type(1) {
                    display: block;
                }
            

                nav {
                    transform: none;
                    top: 0;
                    left: 0;
                    height: 100%;
                  
                    width: fit-content;
                    -moz- width: fit-content;
                    -webkit- width: fit-content;
                
                }
                
                nav ul {
                    
               margin-top: 0;
                padding-left: 5px;
                padding-right:5px;
            
                }

                nav li a img {
                    width: 30px;
                
                }
            


                #binich > div > div > img {
                    z-index: 9995;
                    
                }
                
                #leistung > div {

                padding: 0 20px 0 187px;
            
                }

                #portfolio > div:nth-of-type(2) figure  {
                    max-width: 256px;
                    margin: 50px 0;
                }
                .stif2:before {
                    content: url(../img/stifte2.png);
                    position: absolute;
                    top: 0;
                    right: -742px;
                    
                    transform: rotate(7deg);
                }
                
                nav li:nth-of-type(1) {
                    
                    border-bottom: 1px solid #afafaf;
                }

                .tassedeko {
                    position: absolute;
                    width: 799px;
                    left: -876px;
                    top: 0;
                    height: 500px;
                    display: block;
            
                }
                .tassedeko img {
                    
                    left: 0;
                    top: 0;
                }

                .handy {
                    position: absolute;
                    right: -735px;
                    bottom: -906px;
                    width: 697px;
                    height: 1500px;
                    display: block;
                }
                
            

                .handy img, .tassedeko img {
                    position: absolute;
                    background-color: transparent !important;
                    box-shadow: none !important;

                    left: 0;
                    top: 0;
                }
                .handy img {
                    transform: rotate(0deg);
                    transform-origin: 27% 76%;
                }

 
}

@media (min-width: 550px) {
   

  
    .starts {
        background-image: url(../img/sf2.svg);
    background-size: 1718px, 3052px;
    background-position: center, top;
    background-repeat: repeat, no-repeat;
    background-attachment: fixed;
    
    }


    #tast {
        display: block;
        position: absolute;
   
   
        width: 100%;
        height: 1069px;
   
        top: -59px;
        left: 0;
        overflow: hidden;
        
    }
   
    #tast img {
        
     
       position: absolute;
       left: 46%;
       top: -655px;
       width: 1572px;
       transform-origin: 15% 90%;
       transform: rotate(0deg);
   
       
   
   }

  
  
/* ############ mq Inhalte ################*/
    #start > div {
        justify-content: flex-start;
    }
    h1 {
        
            font-size: 66px;
            margin-top: 58px;
            margin-left: 0;
        
    }
    
    #start > div > div {
    width: 30%;
    
    margin: 41px 20px;
    }
    #binich > div > div  p {
        width: 70%;
    }

/*############## MQ LEISTNGEN ##################*/
    
    .leibreit {
        display: flex;
        position: relative;
        
    }
    
  
    #leistung > div >img {
        max-width: 50%;
    }
    #leistung > div {
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
    
   
    }
    #leistung {
        position: relative;
    }
   
    
    #portfolio > div:nth-of-type(2) figure {

        margin: 5%;
        
    }
    #leistung > div > div {

        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    
   /* .breite50 {
        width: 50%;
    } */
 
   

   
/*    ################ mq KONTAKT ##############*/

    #kontakt {
        background-color: transparent;
        
        padding: 0;
        
    } 
    
    #kontakt > div {
        display: flex;
     
    }
   
    
   
    #kontakt > div > div:nth-of-type(2) {
      
        margin-bottom: 50px;
        margin-top: 39px;
        background-color: white;
        width: 40%;
        overflow: hidden;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
       padding-top: 6px;
    }
    
    #kontakt > div > div:nth-of-type(2) img {
        margin: 0 10px 20px 3px;
        height: 337px;

    }
    #kontakt > div > div:nth-of-type(1) {
        width: 50%;
        background-color: white;
        padding: 0 40px 20px 40px;
       
        z-index: 8999;
        
    }


    #kontakt > div > div:nth-of-type(2) h2 {
    display: block;
    }
    
   
    
    #kontakt > div > div:nth-of-type(1) > div > div {
        position: absolute;
        bottom: -194px;
    }
    
  
    #kontakt > div > div:nth-of-type(1) div p span {
       
            background-color: #2f2f2f;
    padding: 0 3px;
    color: white;
        }

}

/* ---------------- */
@media (min-width: 600px) {
        #portfolio > div:nth-of-type(2) figure {
            max-width: 40%;
            
        }
}