body, html {
    background-color: #212121;
    color: whitesmoke;
    
    margin: 0;
    padding: 0;
}

*  {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#home a {
    position: fixed;
    top: 0;
    left: 0;
    margin: 20px;
    padding: 10px;
    color: aqua;
    text-decoration: none;
    z-index: 1000;
}

#home a:hover {
    color: lime;
    text-decoration: underline;
    text-decoration-color: aqua;
}

#uitleg {
    position: fixed;
    top: 0;
    right: 0;
    margin: 20px;
    width: 50vw;
    height: auto;
    color: whitesmoke;
    background-color: transparent;
}

#coral {color: coral;}

#reverse a {
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 20px;
    margin-top: 90px;
    padding: 10px;
    color: yellow;
    text-decoration: underline;
    text-decoration-thickness: 0.3px;
    text-decoration-color: aqua;
    text-underline-offset: 7px;
    z-index: 1000;
}

#svgcolor a {
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 20px;
    margin-top: 120px;
    padding: 10px;
    color: yellow;
    text-decoration: underline;
    text-decoration-thickness: 0.3px;
    text-decoration-color: coral;
    text-underline-offset: 7px;
    z-index: 1000;
}

#svgrandom a {
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 20px;
    margin-top: 150px;
    padding: 10px;
    color: yellow;
    text-decoration: underline;
    text-decoration-thickness: 0.3px;
    text-decoration-color: lime;
    text-underline-offset: 7px;
    z-index: 1000;
}


#origineel a {
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 20px;
    margin-top: 60px;
    padding: 10px;
    color: yellow;
    text-decoration: underline;
    text-decoration-thickness: 0.3px;
    text-decoration-color: lime;
    text-underline-offset: 7px;
    z-index: 1000;
}

footer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100vw;
    margin-bottom: 20px;
    text-align: center;
    color: whitesmoke;
    font-family:'Courier New', Courier, monospace
}

.svgcontainer {
    
    
    position: relative;
    
    
    background-color: transparent;
    
    padding-top: 30px;
    
    display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0px;
  row-gap: 20px;
  max-width: 900px;
  
  margin: 0 auto;


}




#svg1 {
    width: 100%;
    height: 200px;
    grid-area: 1/1;
}

#svg2 {
    width: 100%;
    height: 200px;
    grid-area: 1/3;
    

  
}

#svg3 {
    width: 100%;
    height: 200px;
    grid-area: 2/1;
    
  
}

#svg4 {
    width: 100%;
    height: 200px;
    grid-area: 1/2;
  
}

#svg5 {
    width: 100%;
    height: 200px;
    grid-area: 2/2;
  
}

#svg6 {
    width: 100%;
    height: 200px;
    grid-area: 2/3;
}

#text {display: none;}

@media only screen and (max-width: 720px) and (orientation: portrait) {
    .svgcontainer {
        position: relative;
        display: grid;
        grid-template-columns: 1fr; /* Één kolom */
        grid-template-areas:
            "svg1"
            "svg2"
            "svg3"
            "svg4"
            "svg5"
            "svg6";
        grid-gap: 0px; /* Ruimte tussen items */
        row-gap: 0px;
        width: 300px; /* Breedte van de elementen */
        margin: 100px auto 0; /* Centreer de container en voeg top margin toe */
        padding: 20px 0; /* Voeg wat padding toe boven en onder */
        height: calc(100vh - 100px); /* Laat ruimte voor de top margin en padding */
        overflow-y: auto; /* Maak scrollbaar indien nodig */
        background-color: transparent;
        padding-right: 30px;
        transform: translateX(40px);
        overflow-x: hidden;
    }

    #svg1, #svg2, #svg3, #svg4, #svg5 {
        width: 300px;
        height: 220px;
    }

    #svg1 { grid-area: svg1; }
    #svg2 { grid-area: svg3; }
    #svg3 { grid-area: svg4; }
    #svg4 { grid-area: svg2; }
    #svg5 { grid-area: svg5; }
    #svg6 { 
        grid-area: svg6; 
        height: 300px;
    }

    #text {display: none;}

}

@media only screen and (max-width: 900px) and (orientation: landscape) {
    #origineel {display: none;}
    #reverse {display: none;}
    #svgcolor {display: none;}
    #svgrandom {display: none;}
    #uitleg {display: none;}
    #svg1, #svg2, #svg3, #svg4, #svg5, #svg6 {display: none;}
    
    footer {
        text-align: right;
        margin-right: 20px;
    }

    #text {
        display: block;
        padding: 30px;
        border-bottom: 1px double lime;
        color: aqua;
        font-size: 18px;
        font-style:italic;
        margin: 100px 0 auto;
        background-color: transparent;
        text-align: center;

    }

}

