
*{
    box-sizing: border-box;
}
html{
    margin: -7px;
  

}

@font-face {
    font-family: myFont; /* set name */
    src:url(../fonts/soehne-buch.woff2) format('woff') ; /* url of the font */
  }
  @font-face {
    font-family: myFontBold; /* set name */
    src:url(../fonts/soehne-fett.woff2) format('woff') ; /* url of the font */
  }
  @font-face {
    font-family: myFontItalic; /* set name */
    src:url(../fonts/soehne-buch-kursiv.woff2) format('woff') ; /* url of the font */
  }

header{
    
    gap: 20px;
   /*  background-color: rgb(169, 169, 169) ; */
   background-color: white;
    margin-bottom: 120px;
    margin-top: -45px;
    margin-inline: -15px;
    
    font-family: myFontBold;

}

.decoLine{
    max-width: 50px;
    max-height: 50px;
    
    display: inline;
  vertical-align:bottom ;
  transform: translateY(5px);
}



.projectPage{
    
    margin-bottom: 0px ;
}

.logoText{
    
    text-align: left;
    padding-inline: 0;
}

.wrapper{
    /* max-inline-size: 1000px; */
    margin-inline: auto;

}

.spacer{
    
    height: var(--marginBlock);
   
}

.colloumn-layout{
    display: flex;
    
  justify-content:space-between;


    @media (width < 900px) {
        
        
        display: grid;
        gap: 30px;
    }
}

.picGrid{
    display: flex;
    justify-content:flex-end;

    align-items: center;
    flex-wrap: wrap;
}

.picGrid2{
    display: flex;
    justify-content:flex-end;

    align-items:start;
    flex-wrap: wrap;
}

.picGridSmall{
    display:flex;
    justify-content:left;

   
    flex-wrap: nowrap;
    margin-bottom: 40px;
}

.picGridOverview{
    display:flex;
    justify-content:var(--just-content);
    align-items:end;
   
    flex-wrap: nowrap;

    

}



.imgGrid{
  
 max-block-size: 400px;

 padding: 5px;

  
  
}
.imgGrid:hover{
    
    opacity: 80%;
    padding: 10px;
  
   

}



.imgGrid2{
   
    max-block-size: 450px;
    max-inline-size: 400px;
    padding: 5px;
    
    
    
    
    
}
.imgGrid2:hover{
    opacity: 80%;
    padding: 10px;
}

.pngtest{
    width: 400px;
    height: 400px;
   
   
    
    
    

}
.imgGrid3{
    max-block-size: 800px;
    max-inline-size: 400px;
    padding: 5px;
   
    
}
.imgGrid3:hover{
    opacity: 80%;
    padding: 10px;
}

.imgGrid2:hover + .imgDescription{
    opacity: 1;

}
.imgGrid:hover + .imgDescription{
    opacity: 1;

}
.imgGrid3:hover + .imgDescription{
    opacity: 1;

}
.imgGrid0:hover + .imgDescription{
    opacity: 1;

}
.imgGridflex:hover + .imgDescription{
    opacity: 1;

}

.imgGridflex{
    
  



 padding: 5px;

 max-block-size: var(--max-b-size);
 max-inline-size: var(--max-in-size);
  
}
.imgGridflex:hover{
    
    opacity: 80%;
    padding: 10px;
    
   

}


.imgGridO{
  
    max-block-size: 250px;
   padding: 5px;
    
   
     
     
   }
   .imgGridO:hover{
       
       opacity: 80%;
       padding: 10px;
       
      
   
   }

.imgGIF{
    
position: relative;
z-index: -1;

    max-block-size: 500px;
    padding:70px;
     
    background-color: rgb(250, 250, 250);
    margin: -50px;
  max-width: var(--max-in-size);
  

   }
.imgGIF:hover{
       
       opacity: 10%;
      
       
       background-color: red;
   
   }

   .descriptionTextoverview{

        
        color: red;
       
        text-align: var(--txtAlign) ;
       margin-inline-start: var(--marginStart);
        margin-top: -100px;
        font-family: myFont;
        

        font-size: 1rem;
        max-width: 66%;
    
    }



.overviewTitle{
    
    display: inline;
   
    max-inline-size: 300px;
    color: rgb(0, 0, 0);
    padding: 5px;
    text-align: start;
    margin-inline-start: var(--marginStart);
    margin-inline-end:var(--marginEnd) ;
    font-size: 1.5rem;
    z-index: 2;
   
   
}

.descriptionText{
    background-color: rgb(236, 236, 236);
    display: inline-block;
    box-sizing: border-box;
    max-inline-size: 300px;
    color: rgb(0, 0, 0);
    padding: 0px;
    text-align: justify;
    margin: 5px;
    font-size: 1rem;
    font-family: myFont;
}
.descriptionText:hover{
   
    
  
    color: red;
   

  
}




body {
    /* background-color: rgb(149, 149, 149);*/
    background-color: white;
    font-family: myFont;
    line-height: 1.6;
     
    padding: 0px;

   /*cursor: url('../images/c1.svg'), auto;*/
   cursor: url('../images/courser-cross.png'), auto;
   
   
   
}   
.backgroundPIC{
   
    text-align: center;
  
  
    margin-inline: 200px;
    padding-block: 100px;


}
.backgroundPIC:hover{
    background-image: url('../images/DJI_0478.JPG');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.backgroundPIC h3{
    color: wheat;
}

h1 {
    font-size: 2.5rem;
    color: red;
    margin-block: -20px;
    text-align: start; 
    font-family: myFontBold;
}

h2 {
    font-size: 2rem;
    color: magenta;
    text-align: center;
    margin-block: 0px;   
    font-family: myFont;  
}

h3 {
    font-size: 1rem;
    color: magenta;
    text-align: center;  
    margin-block: 0px; 
    font-family: myFont;
}

p {
    font-size: 1rem;
    text-align: end; 
    margin-block: 0px;
    font-family: myFont;
   
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    margin-block: 0px;
    padding: 40px;
}
img{
    margin-block: 0px;
   
   max-inline-size: 100%;
    display: block;
   
}

.smallPic{
    block-size: 100px;
    text-align: center;
}


ol{
    padding-inline: 20px;
    margin-block: 0px;
    border-color: black;
    border-style: solid;
    border-width: 10px;
    margin-inline: 170px;
    margin-block: 0px;
 
}

.accent{
    background-color: red;
}


.whiteBG{
    background-color: white;
    text-align: center;
    border: 2px white solid;
    
    padding: 20px;
}
a{
    font-family: myFont;
    color: black;
    cursor: url('../images/course-circle.png'), auto;
    
    
}


a:hover,
a:focus-visible{
    color: red;
}




@keyframes spin{
    0%{

    }
    50%{
        scale: 1.2;
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
        scale: 1;
    }
}

.primaryNav ul{
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
    
    display: flex;
    gap: 50px;

}
.primaryNav a{
    color: black;
    font-weight: bold;
    font-family: myFontBold;
    text-decoration: none;
    font-size: 5rem;
    
  
}

.primaryNav a:hover,
.primaryNav a:focus-visible
{
    color: red;
    font-weight: bold;
    font-family: myFontBold;
    text-decoration: none;
}
    
.pageBox a{
    text-decoration: none;
    font-size: 1.7rem;
    
   

   
}


.pageBox a::before{
    content: 'x';
    color: rgba(0, 0, 0, 0);
    text-decoration: none;
    font-family: myFontItalic;
    padding: 100px;
    
    background-image: var(--bg-img);
    
    background-position: center center;
    
    background-size:cover;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    margin-inline: 300px;
    opacity:0 ;

/*
    mask-image: var(--clipMask);
    mask-mode:alpha;
    mask-size: cover;
    mask-position: center center;
    -webkit-mask-image: var(--clipMask);
    -webkit-mask-mode:alpha; 
    -webkit-mask-size: cover;
    -webkit-mask-position: center center; 
*/

   


   /* animation: maskAnimation s infinite alternate-reverse ;*/
}






/*
@keyframes maskAnimation {
    0% {
        clip-path: polygon(9% 13%, 35% 78%, 13% 95%, 67% 98%, 96% 70%, 69% 35%, 78% 12%, 40% 35%);
    }
    25% {
        clip-path: polygon(9% 23%, 9% 39%, 29% 57%, 45% 91%, 94% 85%, 99% 67%, 55% 12%, 40% 22%);
    }
    50%{
        clip-path: polygon(9% 37%, 31% 60%, 31% 90%, 60% 57%, 91% 49%, 81% 17%, 36% 11%, 37% 39%);
    }
    75%{
        clip-path: polygon(13% 11%, 16% 30%, 43% 49%, 23% 83%, 59% 82%, 82% 67%, 62% 56%, 64% 35%);
    }
    100%{
        clip-path: polygon(68% 8%, 86% 30%, 87% 73%, 66% 91%, 36% 92%, 14% 100%, 14% 64%, 42% 54%);
    }
} */

.pageBox a:hover::before{
    opacity: 1;
}

.pageBox ul{
    text-align: center;
    list-style: none;
    

}
.pageBox li{
    margin-block: 40px;
    margin-inline: 120px;

}

.pageBox a:hover + .projectPreview{
    color:red;
    

    
}

.imgDescription{
    font-family: myFont;
    
    color: red;
    font-size: 0.8rem;
    position: absolute;
  z-index: 1;
  text-align: start;
 writing-mode: vertical-lr;
 
  opacity: 0;
  height: 400px;
  
  
  
  transform: rotate(180deg);
  margin-inline-start: -400px;
}

.projectPreview{
    font-family: myFont;
    font-style: normal;
    font-size: 1rem;
    color: rgb(146, 146, 146);
    text-align: center;
    
    
}

.CVhoverLink h2 {
    text-decoration: underline;
    text-align: end;

    color: black;
    font-family: myFont;
    font-size: 1rem;
   font-weight: normal;
    margin: 0;
}

.CVhoverLink h3{
    font-size: 0.8rem;
    text-align: end;
    
    
    color: black;
    font-family: myFont;
   font-weight: normal;
    margin: 0;
}


.overviewHoverLink{
    transition: 0.1s;
    background-color: white;
    padding: 10px;
    margin-inline-start: 0px;
    margin-inline-end:0px;
    margin-inline-start: var(--marginStart);
    margin-inline-end:var(--marginEnd) ;
    
    
 
}
.overviewHoverLink:hover{
    text-decoration: none;
    background-color: rgb(236, 236, 236);
  
    transition: 0.1s;
    transition-timing-function: ease-in-out;
    margin-inline: 0px;
}

.overviewHoverLink:hover .ovPopup{
    
    transition: 0.1s;
   
    max-height: 400px;
  
    

    
    
}


.overviewHoverLink:hover .overviewTitle{
    color: red;
    

}

.CVhoverLink{
    transition: 0.1s;
    background-color: white;
    margin-block: 20px;
    padding: 5px;
}

.CVhoverLink ul{
    margin: 0;
    padding: 0;
}

.CVhoverLink:hover{
    text-decoration: none;
    background-color: rgb(236, 236, 236);
    transition: 0.1s;

}
.CVhoverLink:hover .CVpopup{
    
    transition: 0.1s;
   
    max-height: 400px;
    padding-right: 5%;
    
  margin-right: 0;
    text-align: end;
    text-decoration: none;
    
}


.CVhoverLink:hover h3 {
    color: red;
    
    text-decoration: none;
    

}
.CVhoverLink:hover h2 {
    color: red;
    
    text-decoration: none;
    

}



.CVhoverLink:hover .CVpopupList{
    text-decoration: none;
}

.CVpopupList{
    font-family: myFontItalic;
    
    list-style: none;
    
    font-size: 0.8rem;
    color: red;
    text-decoration: underline;

}


.ovPopup{
    max-height: 0;
    transition: 0.1s;
   
  
   overflow: hidden;
  
}

.CVpopup{
    
    max-height: 0;
    transition: 0.1s;
   
  
   overflow: hidden;
  text-align: end;
    
}


.CVpopup:hover{
    
    max-height: 400px;
    
    padding-right: 5%;
    margin-right: 0;
    
    text-align: end;
    text-decoration: none;
  
} 


.footnote{
background-color: rgb(236, 236, 236);
color: red;
justify-content: space-between;
display: flex;
margin-top: 100px;
}
.footnoteLink{
   color:red;
    font-family: myFont;
    font-size: 1rem;
    text-decoration: none;

}
.footnoteLink:hover{
color: black;
text-decoration: underline;
}