body {
    font-family: Arial, sans-serif;
    font-size: 16pt;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.sidebar {
    position: fixed;
    top: 7vh;
    left: 5vw;
    z-index: 100;
    color: #000;
    width: 20vw;
    padding-top: 1em;
}

.sidebar header {
}

.sidebar h1 {
    font-weight: normal;
    font-size: 16pt;
    margin: 1em 0 2em 0;
}

.sidebar nav {
    padding: 0;
}

.sidebar nav a {
    text-decoration: none;
    color: inherit;
    display: block;
    line-height: 1.03;
}

.main-nav {
    margin-top: 2em;
}

.category-nav {
    margin-top: 1em;
}

.legal-policy {
    position: fixed;
    bottom: 1em;
    left: 2vw;
    font-size: 0.5em;
    text-transform: uppercase;
    /* Force update */
}

main {
    margin-left: 30vw;
    position: relative;
    z-index: 1;
    padding-top: calc(7vh + 2em);
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.gallery-container img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-container a {
    position: absolute;
    display: block;
    width: 761px;
}


.gallery-container a:nth-child(1) { top: 60%; left: 5%; z-index: 1; }
.gallery-container a:nth-child(2) { top: 55%; left: 20%; z-index: 2; }
.gallery-container a:nth-child(3) { top: 50%; left: 7.5%; z-index: 3; }
.gallery-container a:nth-child(4) { top: 45%; left: 5%; z-index: 4; }
.gallery-container a:nth-child(5) { top: 65%; left: 25%; z-index: 5; }
.gallery-container a:nth-child(6) { top: 35%; left: 8%; z-index: 6; }
.gallery-container a:nth-child(7) { top: 30%; left: 12.5%; z-index: 7; }
.gallery-container a:nth-child(8) { top: 25%; left: 17.5%; z-index: 8; }

.mobile-work-links {
    display: none;
}

.mobile-work-links a {
    margin-bottom: 1em;
    font-style: italic;
    font-size: 0.81em;
}
 
@media (max-width: 768px) {
    .mobile-work-links {
        display: none;
        margin-top: 9em;
        max-height: 50vh;
        overflow-y: auto;
    }

    body {
        font-size: 10.24pt;
    }

    .legal-policy {
        position: relative;
        text-align: left;
        margin-top: 2em;
        padding-bottom: 2em;
        padding-left: 2vw;
        width: auto;
    }
    .sidebar {
        position: sticky;
        width: 100%;
        top: 0;
        left: 0;
        padding: 1em 5vw;
        box-sizing: border-box;
        z-index: 200;
    }

    .sidebar.menu-open {
        width: fit-content;
        padding: 1em;
    }

    .sidebar h1 {
        margin-top: 4em;
        margin-bottom: 3em;
        font-size: 1em;
    }

    .category-nav {
        margin-bottom: 3em;
    }

    main {
        margin-left: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .gallery-container {
        padding-top: 5em;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        height: 100vh;
    }

.gallery-container img {
        width: 398px;
    }

.gallery-container a:nth-child(4) img,
    .gallery-container a:nth-child(6) img {
        width: 517px;
    }

.gallery-container a.no-resize img {
        width: 332px;
    }

  .gallery-container a:nth-child(1) { top: 93%; left: 22%; }
  .gallery-container a:nth-child(2) { top: 81%; left: 30%; }
  .gallery-container a:nth-child(3) { top: 69%; left: 23%; }
  .gallery-container a:nth-child(4) { top: 57%; left: 20%; }
  .gallery-container a:nth-child(5) { top: 65%; left: 35%; }
  .gallery-container a:nth-child(6) { top: 33%; left: 23%; }
  .gallery-container a:nth-child(7) { top: 21%; left: 26%; }
  .gallery-container a:nth-child(8) { top: 9%; left: 39%; }
}
