.project-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 0 6rem 0;
}


@media only screen and (min-width: 1200px) {
.project-wrapper  {
  max-width: 93rem;  
  }  
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    padding-left: 1rem;
    max-width: 100%;
}
    
    
/* Kompaktes Layout für mobile Geräte */
@media only screen and (max-width: 768px) {
  .project-layout {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 1rem;
    margin: 2em 0;
    }    
}

.project-text {
    margin-bottom: 1rem;
    max-width: 100%;    
}

 .project-text img {
     width: 100%;
     margin-bottom: 1.5rem;
 } 

.project-text blockquote {
    color: #ffcc33;
    background:#3e3f51;
    list-style-type: square;
}

.project-text blockquote h3 {
    padding: 0.5rem 0.5rem 0 0.5rem;
}

.project-text blockquote ul {
    padding: 1rem 1rem 1rem 1.5rem;
    margin-bottom: 2rem;
}

.project-text ul {
    padding-left: 1rem;
    line-height: 1.5em;
}

.project-info {
background-color: #3e3f51;
color: #ffcc33;
}

.project-info dl {
    display: grid; 
    grid-template-columns: auto 1fr; 
    grid-gap: 1rem; 
    margin-top: 2rem;    
    padding: 2rem; 
    border: 1px solid rgb(0, 0, 0);  
}

.project-info dt {
    font-weight: bold;
    }

/* Kompaktes Layout für mobile Geräte */
.project-gallery {
    max-width: 100%;
}

.project-gallery ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: .5rem;
}

.project-gallery li {
    display: inline;
}

.project-gallery img {
    max-width: 100%;
}


/* mehrspaltiges Layout für breitere Bildschirme */ 
@media (min-width: 30em) { 
  
.project-gallery ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    grid-gap: 1rem;
    }

.project-gallery li:first-child {
        grid-column-start: 1;
        grid-column-end: -1;
    }
    
.project-gallery img {
        width: 100%;
    }    
}

.related {
  max-width: 500px;
  margin: 5% auto 3% auto;
}

.related h2{
  padding: 1% 3%;
  font-size: 1rem;
  }

.related ul {
  list-style: none;
  display: grid;
  grid-template-columns: auto auto auto; 
  align-items: center;
  justify-content: center; 
  grid-gap: 0.5rem;
  padding: 2%;
  }

@media (max-width: 480px) {
    .related h2{
     margin-left: 8%;
    }
    .related ul {
      display: grid;
      grid-template-columns: auto auto; 
      margin: 0 10% 0 10%;
    }
  }