

.d1 {

    position: absolute;
    margin-top: var(--css_js_dimension_height_header);
   
    
    width: calc(100% - var(--css_min_side_margin)*2);
    max-width: var(--css_max_sidewidth);

    left: 50%;
    transform: translate(-50%);
  
    min-height: calc(100% - var(--css_js_dimension_height_header));
   
}

.d2 { /* This div exist to make the footer stick to the bottom*/
   
    width: 100%;
    
}



.d21 {

    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 30px 30px; 
    grid-template-areas:
      ". . ."; 
    place-items: bottom;
    
    width: 100%; 
    height: 100%;
 

    margin-top: var(--css_margin_maincontainer); 

    margin-bottom: calc(var(--css_js_dimension_height_footer) + var(--css_margin_maincontainer));

    
}

.projekte {


    position: relative;
    overflow: hidden;
   

}


.projekte img {


    width: 100%;
    height: 100%;

    transition: transform 0.3s ease-in-out; 

}

.lightgray_background {

    filter: brightness(98.5%);

}


.beschreibung {
    
    
    width: 90%;
    height: calc(100% - 60px);

    padding-left: 500px;
    padding-right: 500px;

    left: 50%;
    transform: translate(-50%);
  
    position: absolute;
    top: 0px;
 
   
    text-align: left;
   
    font-size: 16px;
    color: rgb(0, 0, 0);
    font-weight: 300;

    opacity: 0;
    transition: opacity 0.2s ease;
;
    background: rgba(0, 0, 0, 0.38);
    background: rgba(255, 255, 255, 0.796);





}

.projecttitle {
    
    
    width: 90%;
    height: 60px;

    padding-left: 500px;
    padding-right: 500px;

    left: 50%;
    transform: translate(-50%);
  
    position: absolute;
    bottom: 0px;

    
    text-align:left;
    align-content: center;
    
   
    font-size: 16px;
    color: rgb(0, 0, 0);
    font-weight: 400;

    opacity: 1;
    transition: opacity 0.2s ease;

    background: rgba(0, 0, 0, 0.38);
    background: rgba(255, 255, 255, 0.796);

}


.projekte:hover .beschreibung{

    opacity: 1;

    /******* bottom: 0px !important;
    bottom: 0px !important;******/

}


@media (max-width: 900px) {


    .d21 {

        grid-template-columns: 1fr 1fr; 
     
        grid-template-areas: 
         ". . "
         ". . "
         ". . "; 
     
    }



}

@media (max-width: 630px) {

    .d21 {

        grid-template-columns: 1fr; 
        
        grid-template-areas: 
        ". "
        ". "
        ". "; 
    
    
    }

}












        


