@import url("https://use.typekit.net/pgv6rbf.css");

* {
    box-sizing: border-box;
    font-family: "agenda", sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: #999;
    font-weight: 500;
}

a:hover {
    color: #111;
}

.awards {
    width: 126px;
}

.awards a {
    text-decoration: none;
}

.awards img {
    display: block;
    margin-bottom: 5px;
    margin-left: 15vw;
    height: 30px;
}

#backHome {
    display: inline-block;
}

b {
    font-weight: 700;
}

.button {
    display: block;
    background-color: #111111;
    border-radius: 100px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin: 10px auto;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    width: 100px;
}

.button:hover {
    background-color: #333333;
    color: white;
}

.content-horizontal * {
    display: block;
    margin: 30px auto;
    max-width: 70vw;
    max-height: 97vh;
}

/* this selects the div 
.content-horizontal-captioned-before {
    display: block;
    margin: 10px auto 30px;
    max-width: 70vw;
    max-height: 97vh;
} */

/* this selects the content inside the div */
.content-horizontal-captioned-before * {
    display: block;
    margin: 10px auto 30px;
    max-width: 70vw;
    max-height: 97vh;
}

.content-horizontal-captioned-before p {
    margin: 1em auto;
    text-align: center;
}

.content-vertical * {
    display: block;
    margin: 30px auto;
    max-height: 97vh;
    max-width: 97vw;
}

.content-vertical-captioned {
    display: block;
    margin: 30px auto;
    max-width: 70vw;
}

.content-vertical-captioned p {
    margin: 1em auto;
    text-align: center;
}

.content-vertical-captioned img, .content-vertical-captioned video, .content-vertical-captioned picture {
    display: block;
    margin: 0 auto;
    max-height: 85vh;
    max-width: 70vw;
}

.content-vertical-captioned p {
    max-width: 50vw;
}

footer {
    display: grid;
    justify-content: center;
    justify-items: center;
    margin: 10px auto 30px;
    max-width: 70vw;
}

@media only screen and (max-width: 915px) {
    footer .footer {
        display: none;
    }
}

h1 {
    font-weight: 900;
    font-size: 24px;
    margin: 0px auto calc(5em/6);
    max-width: 70vw;
}

h2 {
    font-weight: 700;
    font-size: 24px;
    margin: 0px auto calc(5em/6);
    max-width: 70vw;
}

h3 {
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto;
    max-width: 70vw;
}

#h-pencil {
    height: 50px;
    margin-top: 25px;
    margin-bottom: 10px;
}

hr {
    border: .5px solid #999;
    margin: 1em auto;
    max-width: 50vw;
}

li {
    color: #999;
    font-weight: 300;
    list-style-position: inside;
    margin: 0 auto;
    max-width: 70vw;
    padding-left: 15px;
}

footer li, footer a {
    color: #999;
    display: inline-block;
    margin: 3px 0px;
    padding: 0px;
    text-decoration: none;
}

.inline-list > li:not(:last-child)::after {
    content: "\00b7";
    font-weight: 700;
    margin: 3px 7px;
}

.inline-list > li.nobullet:after {
    content: none;
    font-weight: 700;
    margin: 3px 7px;
}

/* mobile navbar */
nav {
    display: grid;
    grid-gap: 1em 0;
    grid-template: 2em repeat(7,1fr) / 1fr 5fr 1fr;
    grid-template-areas: "menu logo ."
                         ". work ."
                         ". about ."
                         ". twitter ."
                         ". ig ."
                         ". linkedin ."
                         ". etsy .";
    align-content: center;
    align-items: center;
    justify-content: space-between;
    justify-items: center;
    height: 2em;
    max-width: 80vw;
    margin: 8vh auto -4vh;
}

.navItem {
    color: #999;
    display: none;
    text-decoration: none;
}

.navItem:visited {
}

.navItem:hover {
    color: #111;
}

.navLogo {
    color: #111;
    font-weight: 900;
    font-size: 24px;
    grid-area: logo;
    margin: 0 5vw;
    text-decoration: none;
}

.hoverLogo:hover .navLogo::after {
    content: ": Video Editor";
}

.navMenu {
    color: #999;
    grid-area: menu;
    text-decoration: none;
}

.navWork {
    grid-area: work;
}

.navAbout {
    grid-area: about;
}

.navTwitter {
    grid-area: twitter;
}

.navInstagram {
    grid-area: ig;
}

.navLinkedin {
    grid-area: linkedin;
}

.navEtsy {
    grid-area: etsy;
}

.navJob {
    display: none;
}

/* desktop navbar - will inherit from mobile anything not explicitly changed */
@media only screen and (min-width: 830px) {
    nav {
        grid-gap: 0 1em;
        grid-template: 1fr 1em / 2.51875em 2.93625em 3.6em 1fr 4fr 1fr 1.655em repeat(4, 1.35em);
        grid-template-areas:
            "work . . logo logo logo . . . . linkedin"
            ". . . job job job . . . . .";
        justify-content: center;
        height: 2em;
        margin: 25px auto;
    }
    
    .navJob {
        color: #999;
        display: block;
        font-weight: 700;
        font-size: 12px;
        grid-area: job;
        margin: 0 5vw;
        text-decoration: none;
        text-transform: uppercase;
    }
    
    .navJob:hover {
        color: #999;
    }
    
    .navItem {
        display: block;
    }

    .navMenu {
        display: none;
    }
}

p {
    color: #999;
    font-weight: 300;
    font-size: 16px;
    margin: 1em auto;
    max-width: 70vw;
}

#profPic {
    max-width: 45vw;
}

.projectTiles {
    display: grid;
    grid-template: repeat(7, 17.75vw) / repeat(2,28.66vw);
    gap: 2vw;
    max-width: 90vw;
    margin: 0 auto;
    justify-content: center;
}

.projectTiles img {
    max-width: 100%;
}

@keyframes project-overlay {
    from {opacity: 1;}
    to {opacity: .8;}
}

.project:hover {
    animation-name: project-overlay;
    animation-duration: .5s;
    animation-fill-mode: forwards;
}

.love-list {
    margin: 1em auto;
    max-width: 45vw;
}

.love-footnotes {
    margin: 0.5em auto;
    max-width: 45vw;
}

sup {
    font-size: 12px;
    font-weight: 500;
}