body {
    font-size: 16pt;
    font-family: 'PP Neue Machina Inktrap';
    font-weight: lighter;
    overflow-x: hidden;
    text-transform: lowercase;
    margin: 0;
}

footer {  
    display: grid;
    grid-template-columns: 0.329fr 0.329fr 0.329fr;
    width: 98vw;
    margin-top: 4vh;
    margin-left: 2vw;
}

li {
    list-style-type: none;
}

nav { text-align: center; margin-bottom: -5vh; margin-top: 1vh;}

small {
    font-size: 25pt;
}

/* div #s and ids */ /* div #s and ids */ /* div #s and ids */ /* div #s and ids */
/* div #s and ids */ /* div #s and ids */ /* div #s and ids */ /* div #s and ids */
/* div #s and ids */ /* div #s and ids */ /* div #s and ids */ /* div #s and ids */

#h-intro {
    margin-top: 6vh;
    margin-left: 2vw;
    margin-right: 10vw;
}

#s-c {
    text-align: center;
}

#s-r {
    text-align: right;
}

::selection {
    background: black;
}

/* div elements and classes */ /* div elements and classes */
/* div elements and classes */ /* div elements and classes */
/* div elements and classes */ /* div elements and classes */

.categories {
    display: none;
    text-align: center;
    background: whitesmoke;
    width: 100vw; height: 100vh;
    margin: 0;
    margin-top: 7.5vh;
    margin-bottom: 2vh;
    transition: all 1s;
}

.c-li {
    border: solid 1px black;
    font-size: 125pt;
    z-index: 1;
    line-height: 25vh;
}

.c-li:hover {
    background: black;
    color: whitesmoke;
    font-weight: lighter;
    transition: all 0.6s;
    cursor: pointer;
}

.c-but:hover {
    background: black;
    color: whitesmoke;
    transition: all 1.2s;
}

.c-but {
    position: fixed;
    top: 0;
    left: 96.5vw;
    background: none;
    font-family: 'PP Neue Machina Inktrap';
    padding: 1vh 1vw;
    z-index: 3;
    font-size: 30pt;
    border: none;
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100vw;
    margin: auto;
    height: 95vh;
}
  
.gallery-arrow {
    background-color: transparent;
    color: black;
    border: none;
    font-size: 2.5em;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
.gallery-arrow:hover {
    transform: scale(1.2);
  }

.filter { display: none; }

.fi-options {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
}

.fi-li:hover {
    text-decoration: overline 6px black;
    transition: all 0.8s;
}

.fi-fig {
    text-align: justified;
    text-align-last: left;
}

.fi-h2, .fi-small{
    text-align: center;
}

.fi-h2 {
    font-size: 32pt;
}

.fi-small {
    font-size: 12pt;
}

.filterbox {
    height:fit-content;
    display: grid;
    grid-auto-rows: 50vh;
    grid-row-gap: 2vh;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 2vh;
}

.fi-img, .fi-img2, .fi-img3 {
    max-width: 50vw; max-height: 50vh;
    background: black;
    z-index: 1;
}

.f-entry:hover, .h-button:hover {
    text-decoration: overline 6px solid;
    transition: all 1.2s;
}

.home {
    display: none;
    grid-template-columns: 0.329fr 0.329fr 0.329fr;
    width: 100vw;
    height: 95vh;
}

.h-button {
    background: none;
    font-family: 'PP Neue Machina Inktrap';
    border: none;
    font-size: 20pt;
    margin-top: 2vh;
    margin-left: -0.5vw;
}
  
img {
    position: sticky;
    z-index: -1;
    display: block;
    margin: 0 auto;
    max-width: 80vw;
    max-height: 100vh;
  }

.project { display: none; }
.p-left {
    margin: 0;
    top: 2vh;
    width: 25vw;
    position: sticky;
    -webkit-position: sticky;
    margin-left: 2vw;
    margin-right: 4vw;
    text-align: left;
    border-right: 1px solid black;
    padding-right: 2vw;
}

.p-right { width: 75vw; }

.p-img { max-width: 100%; max-height: 100%; }

/* media query mobile devices */ /* media query mobile devices */
/* media query mobile devices */ /* media query mobile devices */

@media screen and (max-width: 770px) {
    footer {

    }
}

@media screen and (max-width: 770px) and (orientation: portrait) {

    body {
        overflow-x: hidden;
    }

    .categories {
        font-size: 30pt;
    }

    .c-li {
        font-size: 20pt;
        border-left: none; border-right: none;
    }

    .c-but {
        left: 90vw;
        width: 10vw;
    }

    .filterbox {
        grid-template-columns: 1fr;
        grid-auto-rows: 40vh;
    }

    .gallery-container {
        display: grid;
    }

    .gallery-arrow {
        font-size: 40pt;
        width: 100vw;
        border: solid black 1px;
        border-left: none; border-right: none;
    }

    .h-entry {
        font-size: 12pt;
    }

    .h-button {
        margin-top: 2vh;
        font-size: 18pt;
    }

    .fi-options {
        margin-left: -7.5vw;
        grid-gap: 1vh;
        margin-top: 8vh;
        grid-template-columns: 1fr;
    }

    .fi-img {
        max-width: 100%; max-height: 100%;
    }

    footer {  
        display: grid;
        grid-template-columns: 0.329fr 0.329fr 0.329fr;
        width: 98vw;
        height: 2vh;
    }

    .f-entry {
        font-size: 16pt;
        margin: 2vw;
    }

    .project {
        grid-template-columns: 1fr;
        border-bottom: 1px solid black;
    }

    .p-img {
        max-width: 100%; max-height: 100%;
    }

    .p-left {
        margin: 0;
        top: 0vh;
        margin-top: 2vh;
        width: 94vw;
        background: white;
        text-transform: lowercase;
        position: sticky;
        -webkit-position: sticky;
        margin-left: 2vw; margin-right: 2vw;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid black;
    }
    
    .p-right { width: 75vw; }
}

/* animation and @fontface imports */ /* animation and @fontface imports */
/* animation and @fontface imports */ /* animation and @fontface imports */

  @keyframes fade-in{
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@font-face {
    font-family: 'PP Neue Machina Inktrap';
    src: url('fonts/PPNeueMachina-InktrapRegular.woff2') format('woff2'),
        url('fonts/PPNeueMachina-InktrapRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Machina Inktrap';
    src: url('fonts/PPNeueMachina-InktrapRegular.woff2') format('woff2'),
        url('fonts/PPNeueMachina-InktrapRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


