body{
    box-sizing: border-box;
    max-width: 100%;

    background-color: #E5E5F7;
    background-image:  radial-gradient(circle, #444CF7 0.8px, transparent 0.8px), radial-gradient(circle, #444CF7 0.8px, transparent 0.8px) ;
    background-size: 5px 20px, 20px 5px;
    background-position: -2.5px -10px, -10px -2.5px;
    margin: 0;
    overflow-x: hidden;
}

h1 {
    box-shadow: 4px 4px 8px #888888;
    width: 100%;
    height: 100px;
    background-color: #AAC;
    margin: -8px -8px -16px -8px;
    padding: 8px;
    text-align: center;
    line-height: 100px;
    font-size: 24px;

    text-shadow:
    1px 1px 2px black,
    0 0 1em blue,
    0 0 0.2em blue;
    color: white;

    /* patterns by https://www.magicpattern.design/tools/css-backgrounds */
    background-color: #cce;
    opacity: 0.8;
    background-image:  linear-gradient(30deg, #444CF7 12%, transparent 12.5%, transparent 87%, #444CF7 87.5%, #444CF7), linear-gradient(150deg, #444CF7 12%, transparent 12.5%, transparent 87%, #444CF7 87.5%, #444CF7), linear-gradient(30deg, #444CF7 12%, transparent 12.5%, transparent 87%, #444CF7 87.5%, #444CF7), linear-gradient(150deg, #444CF7 12%, transparent 12.5%, transparent 87%, #444CF7 87.5%, #444CF7), linear-gradient(60deg, #444CF777 25%, transparent 25.5%, transparent 75%, #444CF777 75%, #444CF777), linear-gradient(60deg, #444CF777 25%, transparent 25.5%, transparent 75%, #444CF777 75%, #444CF777);
    background-size: 20px 35px;
    background-position: 0 0, 0 0, 10px 18px, 10px 18px, 0 0, 10px 18px;
}

nav, h2, h3, h4, h5, h6 {
    box-shadow: -4px 4px 8px #888888;
    background-color: #CCE;
    content: attr(title);
    display: block;
    margin: 1em -8px;
    padding: 4px;
    min-height: 1em;
    font-weight: bold;
    text-align: center;
    width: 100%;
    position: sticky;
    top: 0px;
    border-top: 2px solid #A8C;

    a {
        padding: 6px;
        border-color: #AAC;
        text-decoration: none;
        color: #000;
    }

    span {
        padding: 6px;
        border-color: #AAC;
        text-decoration: none;
        color: #000;
        box-shadow: 2px 2px 4px #888888;
        background-color: #DDF;
    }
}

h3 {
    top: 2em;
}

h4 {
    top: 4em;
}

article{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;

    img{
        max-height: 360px;
        flex-basis: 600px;
        object-fit: contain;
        border: 4px solid white;
        background-color: white;
        max-width: 100%;
    }

    img:focus {
        max-height: initial;
        flex-basis: 100% !important;
        height: 100vh;
        z-index: 1;
        border: 0;
    }
}

.blackborder article img{
    border: 4px solid black;
    background-color: black;
}

#exif{
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2;

    font-size: 1.5em;

    text-shadow:
    1px 1px 2px black,
    0 0 1em black,
    0 0 0.2em black;
    color: white;

    margin-left: 1em;

    dt {
        font-weight: bold;
    }
}
#exif:not(:hover){
    opacity: 0.3;
}
