@font-face {
    src: url(../../../fonts/frank/FrankfurterChrD/FrankfurterChrD.ttf);
    font-family: frank;
}
body, html {
    height: 100%;
    width: 100%;
}

.modal {
    justify-items: center;
    align-items: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    /* border: 2px solid lime; */
    bottom: 0em;
    background-color: #000000f7;
    display: none;
}
.modal-image {
    display: block;
    max-width: 99vw;
    max-height: 99vh;
    margin: 0 auto;
}

@media screen and (min-width:320px) {
    /* NAVIGATION LINKS */
    .left {
        
    }
    .right {
        justify-self: right;
    }
    .nav-text { 
        font-family: frank;
        font-size: 25pt;
        display: block;
        filter: drop-shadow(-2px 2px 1px #a3ff00);
        color: #008217;
        width: fit-content;
    }
    .nav-grid {
        position: fixed;
        bottom: 3.5em;
        width: 100vw;
        height: 0;
        display: grid;
        grid-template-rows: 100%;
        grid-template-columns: 1fr 1fr;
    }
    .nav {
        width: 100%;
        align-self: end;
        text-decoration: none;
        filter: drop-shadow(0 0px 3px lime);
    }
    .art-link {
        margin-left: 1em;
    }
    .home-link {
        text-align: right;
        margin-left: -1em;
    }
    /* NAV END */

    /* Template Styles  */
    header {
        height: 10%;
        font-family: frank;
        font-size: 2em;
        text-align: center;
    }
    .scroller-container {
        /* position: fixed; */
        height: 50vh;
        width: 100%;
        overflow-x: scroll;
        overflow-y: hidden;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: min-content;
        grid-gap: 0.5em;
        align-items: center;
        margin-left: 0.2em;
        /* border: 1px solid chartreuse; */
    }
    .text-container {
        height: 40vh;
        width: 85vw;
        overflow-y: scroll;
    }
    .project-text {
        font-size: 10pt;
        font-family: helvetica;
        margin: 0;
    }    
    .project-text.title {
        margin: 1em 0;
        font-size: 12pt;
        width: fit-content;
        text-align: left;
        font-weight: 900;
        font-style: italic;
        text-decoration: underline;
        height: 1.5em;           
    }
    .project-text.title:hover {
        background-color:red;
        color: white;
    }
    .project-link {
        text-decoration: none;
        filter: none;
        color: blue;
        filter: drop-shadow(0 0 0 black);
    }
    .project-text.link:hover {
        background-color: blue;
        color: white;
    }
    .project-link:visited {
        color:blue;
    }
    .text-spacer {
        height: 50%;
    }   
    .project-img {
        height: 30vh;
        /* width: 85vw; */
        /* align-self: center; */
        /* margin-top: 5vh; */
    }
    .captioned-image-wrapper {
        display: grid; 
        /* height: 100vh; */
        height: fit-content;
    }
    .work-text {
        background-color: black;
        color: white;
    }
    .credit-text{
        background-color: lime;
        font-style: italic;
    }
    
    iframe {
        height: 44vh;
        width: 34vh;
        background-color: black;
        margin: 0 1em;
    }
    .horizontal-video {
        width: 135vw;
        height: 44vh;
        background-color: black;
    }
    .dead-img {
        width: 10em;
        height: 10em;
        /* border: 2px solid blue; */
    }
}
@media screen and (min-width:568px) { 
    .scroller-container {
        margin: 0;
        grid-auto-columns: min-content;
    }
    .text-container {
        width: 44vw;
    }
    .project-img {
        width: unset;
        height: 44vh;
    }
    iframe  {
        width: 23vw;
    }
    .horizontal-video {
        width: 44vw;
    }
}

@media screen and (min-width:700px) { 
    .nav-grid {
        bottom: 6.5em;
    }
    .nav-text {
        font-size: 42pt;
    }
    .scroller-container {
        margin-left: 1em;
    }
    .project-text {
        font-size: 15pt;
    }
    .project-text.title {
        font-size: 16pt;
    }
    .scroller-container {
        /* grid-gap: 2em; */
    }
    iframe {
        width: 35vh;
    }
    .text-container {
        width: 27em;
    }
}

@media screen and (min-width:900px) { 
    .nav-text {
        font-size: 57pt;
    }
}

@media screen and (min-width:1100px) { 
    .nav-text {
        font-size: 70pt;
    }
}