body {
    margin: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: 20% 60% 20%;
  
}
.item {
    
    /* background-color: aqua; */
}
.bio{
   
    box-sizing: border-box;
    overflow-wrap: break-word;
    padding: 0rem;
    font-family: "Roboto Mono", monospace;
    font-size: .8rem;
}
.contact {
    box-sizing: border-box;
    overflow-wrap: break-word;
    padding: 0rem;
    font-family: "Roboto Mono", monospace;
    font-size: .8rem;
}
.porträt img{
    max-width: 50%;
    
}

.datenschutz {
    margin-top: 2rem;
   
}
#magnus-tiede {
    position: fixed;
    top: 0.1rem;
    left: 1rem;
    z-index: 1;
}

#magnus-tiede a {
    display: block;
    font-family: "Roboto Mono", monospace;
    font-size: larger;
    font-weight: bold;
    color: black;
    text-decoration: none;
    line-height: 2;
}

.item1{
   display: block;
   position: fixed;
    padding-left: 1rem;
    padding-top: 4rem;
    font-family: "Roboto Mono", monospace;
    color: black;
    text-decoration: none;
    line-height: 2;

}
.item1 a {
     color: black;
    text-decoration: none;
}
.item1 a:hover {
     color: rgb(255, 255, 255);
    text-decoration: none;
    background-color: black;
}
.item1 a.active{
     color: rgb(255, 255, 255);
    text-decoration: none;
    background-color: black;
}


/* .artwork{
    
    display: flex;
 align-items: flex-start;  
} */
.info {
   /* margin-left: 1rem;
   white-space: nowrap; */
   text-align: right;
   font-family: "Roboto Mono", monospace;
   font-size: .8rem;
   line-height: 1;
   
}
.item2 { 
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8rem;
    overflow: hidden;
    min-width: 0;
}
.item2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;   /* Box schmiegt sich an die Bildbreite an, statt volle Spalte zu füllen */
    gap: 8rem;
    overflow: hidden;
    min-width: 0;
}
 
.wall {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    background-color: rgb(240, 240, 240);
    /* background-image: url("texture/paper22.jpg"); */
    /* background-size: cover;
    background-position: center; */
}
 
.wall img {
    /* Breite wird per JS als fester px-Wert gesetzt (siehe script.js).
       Bewusst KEIN %/vw hier - ein fester px-Wert verhält sich beim
       Browser-Zoom wie Text und wächst mit, statt sich gegenläufig
       mitzuverkleinern. */
    height: auto;
    max-width: 100%;
    display: block;
    cursor: pointer;
}


#lightbox{
    position: fixed;
    z-index: 1000;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    /* background-color: rgba(255,255,255, .80); */
    display: none;
}

#lightbox.active {
    display: flex;
    max-width: 100vw;
    max-height: 100vh;
    justify-content: center;
    align-items: center;
}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
}
/* @media (max-width: 640px) {
    .grid-container {
        grid-template-rows: 20% 80%;
        grid-template-columns: none;
    }
} */


@media (orientation: portrait) {
    .grid-container { 
        grid-template-rows: 1% 99%;
        grid-template-columns: none;
        
    }
    
    #magnus-tiede {
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1;
    
    }
    .contact {
        padding-top: 3rem;
    }
  
    .bio {
        padding-top: 3rem;
    }
    .item1 {
        background-color:  rgb(255, 255, 255);
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: flex-start;
    padding-top: 10rem;
    gap: 2rem;
    text-align: center;
    font-size: 2rem;
    transition: .3s ease;
    }

    .item1.active{
        right: 0;
    }
    nav {
        display: flex;
        position: fixed;
    
        background-color: rgb(255, 255, 255);
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 0.1rem solid rgb(211, 211, 211);

    }
    /* header {
        color: rgb(0, 0, 0);
        
    } */
    .burger {
      height: 2rem;
      width: 2rem;
      margin-left: auto;
      position: relative;
      /* background-color: aqua; */
    }
    .burger span {
        height: 0.1rem;
        width: 100%;
        background-color: rgb(0, 0, 0);
        border-radius: 1rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: .3s ease;
    }
    .burger span:nth-child(1) {
        top: 25%;
    }
     .burger span:nth-child(3) {
        top: 75%;
    }
    .burger.active span:nth-child(1) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .burger.active span:nth-child(2) {
       opacity: 0;
    }
    .burger.active span:nth-child(3) {
        top: 50%;
        transform: translate(-50%, 50%) rotate(-45deg);
    }
}