/* COLOR PALETTE
-----------------------------------------

Violet Gray: #545      Nav Off

Dark Green: #005A39    Nav Selected

Rogue: #076            Rhino, H1
Purple: #606           H2, Resume Section Eyebrow
Forest: #054           H3
Dark Purple: #303      Name, H4, H5, H6
Eggplant: #414         Main text color
Blood Orange: #D02200  Link color
Colossus: #EDEDEE      Background color
Cable: #D8D7D9         Secondary background color
Light Green: #F0F7F0   Sticky Nav Back and Text Input Back
Lavendar: #DCD         Light Border

Eggplant: #414         Footer background
Colossus: #EDEDEE      Footer text
Lime: #BE5             Footer link
*/

/* Global styles 
-----------------------------------------*/
html {
    box-sizing: border-box;
    font-size: 62.5%; /* 1rem = 10px */
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
}
body {
    background: #EDEDEE;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: 1.6rem;
    /* line-height: 2.0rem; */
    width: 100%;
    overflow-x: hidden;
}

.content-wrapper {
    margin: 0;
    padding: 0;
    /* width: 100vw;
    overflow-x: hidden; */
}

/* @font-face {
    font-family: face;
    src: url();
} */
h1, h2, h3, h4, .category-title {
    font-family: "Protest Riot", sans-serif;
    font-weight: 400;
    margin: 0;
}

h1 {
    /* font-size: 4.4rem;
    line-height: 4.8rem; */
    /* color: #076; */
    background-image: linear-gradient(to bottom, #096, #076);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 4px 1px #6063);
}
h2 {
    color: #606;
}
.category-title {
    /* font-size: 3.6rem;
    line-height: 4rem; */
    /* color: #606; */
    background-image: linear-gradient(to bottom, #A6A, #606);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 3px 1px #6063);
}
h3 {
    /* font-size: 2.8rem;
    line-height: 3.2rem; */
    color: #054;
}
sup {
        font-size: 50%;
    }
h3.tagline {
    text-align: center;
    margin: 40px 0;
}

h4, h5, h6 {
    color: #303;
}

h5, h6, .eyebrow {
    font-family: "Raleway", sans-serif;
    font-weight: 800;
}
.eyebrow {
    color: #858
}

p, li {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    color: #414;
    font-size: 1.6rem;
    line-height: 2.4rem;
}
p {
    line-height: 2.4rem;
}
li {
    margin-bottom: 10px;
}


@media screen and (min-width: 625px) {
    
    h1 {
        font-size: 4.4rem;
        line-height: 4.8rem;
    }
    h2, .category-title {
            font-size: 3.6rem;
            line-height: 4rem;
    }
    h3 {
        font-size: 2.8rem;
        line-height: 3.2rem;
    }
    /* h3 sup {
        font-size: 50%;
    } */
    h4 {
        font-size: 2.4rem;
        line-height: 2.8rem;
    }

    h5 {
        font-size: 2.0rem;
        line-height: 2.4rem;
    }
    h6, .eyebrow {
        font-size: 1.6rem;
        line-height: 2.2rem;
    }
}
@media screen and (max-width: 624px) {
    h1 {
        font-size: 3.6rem;
        line-height: 4.0rem;
    }
    h2, .category-title {
        font-size: 3.0rem;
        line-height: 3.4rem;
    }
    h3 {
        font-size: 2.6rem;
        line-height: 3.0rem;
    }
    h4 {
        font-size: 2.2rem;
        line-height: 2.6rem;
    }

    h5 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }
    h6, .eyebrow {
        font-size: 1.6rem;
        line-height: 2.2rem;
    }
}

/* Header bar
-----------------------------------------*/
header {
    color: #303;
    padding: 0;
    display: grid;
    grid-template-columns: 12rem auto 1fr;
    /* grid-template-columns: 12rem repeat(2, 1fr); */
    /* text-align: right; */
    column-gap: 20px;
    margin: 0;
    /* margin-bottom: 40px; */
}

header .logo {
    width: 12rem;
    height: auto;
    /* fill: #076; */
    margin: 0 20px 10px 0;
}

header a.name-and-title, header a.name-and-title:hover {
    font-weight: normal;
    text-decoration: none;
    color: #303;
}
header .name {
    font-size: 7rem;
    /* display: inline-block;
    vertical-align: middle; */
    margin: 15px 0 0 0;
}
/* header .name-and-title {
    text-align: left;
} */
header h4 {
    font-size: 2.3rem;
    margin: 15px 3px;
    text-align: right;
}
.nav__list {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    /* align-content: baseline; */
    /* background-color: #A3E048; */
    column-gap: 25px;
    list-style: none;
    padding: 0;
    margin: 34px 0 0;
    font-family: Protest Riot, sans-serif;
    font-size: 1.8rem;
}

header nav a {
    color: #545;
    text-decoration: none;
}
header nav a:hover, header nav a:focus {
    color: #005A39;
    text-decoration: none;
    transition: all 0.4s;
}

header nav a.selected {
    color: #005A39;
    text-decoration: underline #760;
}

.nav {
    transition: transform 0.4s ease-in-out;
}

.hamburger {
    display: none;
    
    /* flex-direction: column; */
    /* justify-content: right; */
    /* background-color: #A3E048; */
}

.bar {
    height: 2px;
    width: 27px;
    background-color: #776677;
    margin: 3px 0;
    opacity: 0.6;
    transition: all 0.4s;
}

.nav--open {
    transform: translate(-20px) !important;
    visibility: visible !important;
}

.hamburger--open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger--open .bar:nth-child(2) {
    transform: scaleX(0);
    opacity: 0;
}
.hamburger--open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Hamburger Navigation for small screens 
------------------------------------------*/

@media screen and (max-width: 790px) {
/* @media screen and (min-width: 625px) and (max-width: 790px) { */
    header {
        grid-template-columns: 12rem auto 1fr;
        column-gap: 20px;
        /* overflow-x: clip; */
    }
    header .logo {
        margin: 0 20px 10px 0;
    }
    .nav {
        grid-column: 1 / span 2;
        /* justify-self: auto; */
        /* align-self: center; */
        /* margin: 0 20px 20px 0; */
        /* display: none; */
        position: absolute;
        right: 0;
        top: 80px;
        transform: translateX(100%);
        z-index: 5;
        /* visibility: hidden; */
    }
    .nav__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap:10px;
        background: #DEDEDD;
        padding: 20px 30px;
        margin: 0;
    }
    .hamburger {
        cursor: pointer;
        justify-self: end;
        align-self: baseline;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-right: 0px;
    }
}

/* Header Responsive 
------------------------------------------*/

@media screen and (max-width: 624px) {
    header .logo {
        width: 8rem;
        margin: 0 20px 0px 0;
    }
    header .name {
        font-size: 4.6rem;
        text-align: right   ;
        margin: 5px 0 0 0;
    }
    header h4 {
        font-size: 1.50rem;
        letter-spacing: .2px;
        text-align: right;
        margin: 2px 0px;
    }
    header {
        grid-template-columns: 8rem auto 1fr;
        column-gap: 20px;
        margin-bottom: 10px;
        /* overflow-x: hidden; */
    }
    
    .nav {
        /* grid-column: 1 / span 2; */
        position: absolute;
        /* right: 0; */
        top: 60px;
        /* transform: translateX(100%); */
    }
    /* .nav__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
        background: #DEDEDD;
        padding: 20px 30px;
        margin: 0;
    } */
    /* .hamburger {
        cursor: pointer;
        justify-self: end;
        align-self: baseline;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-right: 0px;
    } */
}

@media screen and (max-width: 390px) {
    header .logo {
        width: 6rem;
        margin: 0 20px 0px 0;
    }
    header .name {
        font-size: 3.5rem;
        text-align: right   ;
        margin: 2px 0 0 0;
    }
    header h4 {
        font-size: 1.5rem;
        letter-spacing: .5px;
        text-align: right;
        margin: -3px 0px;
    }
    header {
        grid-template-columns: 6rem auto 1fr;
        column-gap: 15px;
        margin-bottom: 10px;
    }

}

/* links 
------------------------------------------*/

a {
    color: #C20;
    font-weight: bold;
}
a:hover {
    color: #c20;
    text-decoration: none;
}
footer a {
    color: #BE5;
}
footer a:hover {
    color: #A3E048;
    text-decoration: none;
}
.btn {
    background: #D5EE19;
    color: #140955;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2rem;
    display: inline-block;
    padding: 7px;
    letter-spacing: 0.1em;
    line-height: 1;
    border-radius: 4px;
}
.site-wrapper {
    margin: 0;
    width: 100%;
    padding: 0;
    /* max-width: 1160px; */
    /* padding: 40px; */
}
.content-wrapper {
    margin: 0 auto;
    max-width: 1240px;
    padding: 40px;
}

@media screen and (min-width: 625px) {
    .content-wrapper {
        padding: 40px;
    }
}
@media screen and (max-width: 624px) {
    .content-wrapper {
        padding: 20px;
    }
}
/* Twilight Gradient Section
-----------------------------------------*/
.twilight-gradient {
    /* justify-content: center; */
    
    /* background: #20192A; */
    width: 100%;
    background: linear-gradient(0deg, rgba(32, 25, 42, 1) 0%, rgba(32, 25, 42, 1) 40%, rgba(68, 17, 68, 1) 65%, rgba(68, 17, 68, 1) 100%);
    padding: 0;
    margin: 0;
}
.twilight-gradient section {
    display: grid;
    
    /* grid-template-columns: repeat(2, 1fr); */
    /* column-gap: 40px; */
    /* margin: 0 40px; */
    padding: 0 40px;
    max-width: 1160px;
    margin: auto;
}

.twilight-gradient .bg {
    background: url(../images/searchlight.png) right top;
    background-size:cover;
    background-repeat: no-repeat;
    margin: -40px 0 0 0;
    /* padding-right: 4rem; */
    /* padding-bottom: 60px; */
    width: 100%;
    height: 340px;
    /* opacity: 0.8; */
}

.full-width-bg .content {
    /* display: flex; */
    /* flex: 1 0 auto; */
    /* flex-direction: row; */
    /* height: auto;
    align-items: center; */
    margin: auto;
    color: #EDEDEE;
}

@media screen and (min-width: 900px) {
    .twilight-gradient section {
    grid-template-columns: 3fr 1.5fr;
    column-gap: 40px;
    }
}
@media screen and (min-width: 625px) and (max-width: 899px) {
    .twilight-gradient section {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    }
}
@media screen and (max-width: 624px) {
    .twilight-gradient section {
        grid-template-rows: 1fr auto;
        padding: 40px 40px 0;
    }
    .twilight-gradient .bg {
        /* display: none; */
        margin: 20px auto 0;
    }
}

.twilight-gradient h2, .twilight-gradient p {
    color: #EDEDEE;
}
.twilight-gradient a {
    color: #BE5;
}


/* HOME
-----------------------------------------*/
.home {
    /* background: url(../images/bg-home-office-studio.jpg) no-repeat; */
    background-size: cover;
    display: flex;
    flex-direction: column;
}
.home .site-wrapper {
    /* background: rgba(255, 255, 255, 0.9); */
    flex: 1 0 auto;
    max-width: 100vw;
    /* overflow-x: clip; */
}
.home .content-wrapper main p {
    max-width: 600px;
    margin: 20px auto;
    /* padding: 0 150px;     */
}
h1 {
    text-align: center;
    /* margin-top: 10px; */
}
.content-bg {
    /* background: rgba(255, 255, 255, 0.9); */
    padding: 0;
}


/* @media screen and (max-width: 650px) {
    .home .content-wrapper {
        padding: 10px;
    }
    .content-bg {
        padding: 20px;
    }
} */


/* Portfolio
-----------------------------------------*/

.portfolio main .intro-text h1, .portfolio main .intro-text h6  {
    text-align: center;
    margin-bottom: 20px;
}

.portfolio .content-wrapper main .intro-text {
    max-width: 600px;
    margin: 0 auto 60px;
    /* padding: 0 150px;     */
}

.portfolio nav#portfolio-icons ul, .portfolio nav#portfolio-labels ul {
    list-style: none;
    display: grid;
    /* filter: grayscale(.3); */
    grid-template-columns: repeat(4, 1fr);
    padding: 0 40px;
    margin: 0;
}


/* Sticky Nav Base
--------------------------------------*/
nav#portfolio-icons {
    position: sticky;
    top: 0px;
    z-index: 3;
    background-color: #F0F7F0;
    padding: 10px 0 0 0;
}

nav#portfolio-labels {
    /* position: sticky;
    top: 7px; */
    background-color: #F0F7F0;
    /* padding-bottom: 7px; */
    z-index: 2;
    /* box-shadow: 0 0px 15px -5px #414; */
}

.portfolio hr {
    margin: 0;
    padding: 0;
    border: none;
    height: 2px;
    background-color:#DCD;
}

.portfolio hr.sticky {
    position: sticky;
    top: 48px;
    z-index: 4;
    /* margin-bottom: 0; */
    /* padding-bottom: 10px; */
}

.portfolio nav#portfolio-icons li {
    line-height: 1.8rem;
}

.portfolio nav#portfolio-labels li {
    line-height: 1.8rem;
}

.portfolio nav#portfolio-labels li a {
    font-size: smaller;
    text-decoration: none;
}
.portfolio nav#portfolio-labels li a:hover {
    text-decoration: underline;
}
/* .portfolio nav#portfolio-labels {
    margin-top: -5px;
    padding-bottom: 10px;
} */
.portfolio nav li {
    text-align: center;
}
.portfolio nav img {
    width: 25px;
    height: 25px;
    text-align: center;
    /* padding: 10px; */
    margin-bottom: 0px;
    /* padding: 0 10px; */
    transition: all 0.4s;
}

/* Sticky Nav Responsive
---------------------------------------*/
@media screen and (min-width: 578px) {
    /* #portfolio-labels {
        position: sticky;
        top: 18px;
    } */
}

@media screen and (max-width: 577px) {
    /* #portfolio-labels {
        position: sticky;
        top: 0px;
    } */
    .portfolio nav#portfolio-icons ul, .portfolio nav#portfolio-labels ul {
        padding: 0 10px;
    }
}

@media screen and (max-width: 390px) {
    #portfolio-labels li {
        font-size: smaller;
        line-height: 1.8rem;
    }
    /* #portfolio-labels {
        position: sticky;
        top: 3px;
    } */
}
/* #portfolio-labels ul {
    
} */
/* nav ul#portfolio-nav, nav ul#portfolio-labels {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 10px 0;
    margin: 0;
} */

/* RESPONSIVE CODE SAMPLE
--------------------------------------------------------------*/

/* @media screen and (min-width: 860px) {
    .project-item {
        display: flow-root;
        margin: 30px 0;
    }
    .project-item img {t
        float: left;
        margin-right: 20px;
    }
}
@media screen and (min-width: 650px) and (max-width: 859px) {
    .project-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
    }
    .project-item img {
        width: 100%;
    }
}
@media screen and (max-width: 500px) {
    .project-item img {
        width: 100%;
        margin-bottom: 10px;
    }
} */


/* Portfolio Sections
----------------------------------------*/


.portfolio .category .eyebrow {
    text-align: center;
}

.portfolio .category .category-title {
    text-align: center;
    /* margin-bottom: 40px; */
}

.portfolio main h5, .portfolio main h4 {
    margin: 40px 0 10px;
}

.portfolio main .video-item h5, .portfolio main .video-item h4 {
    margin: 0 0 10px;
}

.portfolio h4 + hr, .portfolio h5 + hr {
    margin: 0 0 20px;
}

/* Portfolio Sections Responsive
----------------------------------------*/

@media screen and (min-width: 450px) {
    .portfolio .category .category-intro {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        margin: 0;
        padding: 70px 0 40px;
    }

    .portfolio .category .category-intro img {
        width: 75px;
        height: auto;
        justify-self: end;
        margin-right: 20px;
    }
    .portfolio .category .category-intro .category-text {
        /* display: inline; */
        margin: auto 0;
    }
}
@media screen and (max-width: 449px) {
    .portfolio .category .category-intro {
        display:grid;
        grid-template-rows: (2, 1fr);
        margin: 0;
        padding: 70px 0 40px;
    }

    .portfolio .category .category-intro img {
        width: 75px;
        height: auto;
        justify-self: center;
        margin-bottom: 10px;
    }
    .portfolio .category .category-intro .category-text {
        /* display: inline; */
        margin: auto 0;
    }
}

/* Portfolio VIDEO Base
-----------------------------------------*/

.video-screen-horizontal {
    height: auto;
    aspect-ratio: 16 / 9;
    /* margin: auto 0; */
}

.video-screen-vertical {
    height: auto;
    aspect-ratio: 9 / 16;
    /* margin: auto 0; */
    /* justify-self: center; */
    /* align-self: center; */
}

.video-screen-square {
    height: auto;
    aspect-ratio: 1 / 1;
    /* margin: auto 0; */
}

.iframe-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Horizontally center */
    align-items: center;    /* Vertically center */
    height: 100%;           /* Ensure wrapper takes full height of cell */
    width: 100%; 
    background-color: #076;
}
.video-item {
    justify-items: center;
}

.column-grid-3 figure, .column-grid-2 figure {
    margin: 0 0 20px;
}

/* Portfolio VIDEO Responsive
-----------------------------------------*/

@media screen and (min-width: 860px) {
    
    .video-screen-horizontal {
        width: 45vw;
        max-width: 560px;
        justify-self: center;
    }

    .video-screen-vertical {
        width: 45vw;
        max-width: 315px;
    }

    .video-screen-square {
        width: 45vw;
        max-width: 500px;
        justify-self: center;
    }

    .video-item {
        display: flex;
        grid-template-columns: 1fr, 1fr;
        column-gap: 40px;
        margin-bottom: 80px;
    }

    .video-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .video-item .description {
        margin: auto 40px;
        /* padding-top: 20px; */
    }
}

@media screen and (min-width: 625px) and (max-width: 859px) {
    
    .video-screen-horizontal {
        width: 45vw;
        max-width: 360px;
    }

    .video-screen-vertical {
        width: 40vw;
        max-width: 200px;
        margin: 0 auto 15px;
    }

    .video-screen-square {
        width: 45vw;
        max-width: 500px;
    }

    #video-editing .project-list {
        display: grid;
        grid-template-columns: repeat(2, auto);
        column-gap: 20px;
    }

    /* #video-editing .project-list .video-screen {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        padding-bottom: 1.5rem;
    } */
    #video-editing .project-list .description {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }
}
@media screen and (max-width: 624px) {

    #video-editing .project-list {
        width: 100%;
        margin-bottom: 10px;
    }

    .video-screen-horizontal {
        width: 100%;
        /* max-width: 360px; */
    }

    .video-screen-vertical {
        width: 100%;
        /* max-width: 200px; */
        /* margin: 0 auto 15px; */
    }

    .video-screen-square {
        width: 100%;
        /* max-width: 500px; */
    }

    /* #video-editing .video-screen {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        padding-bottom: 1.5rem;
    } */
    #video-editing .project-list .video-item .description {
        display: flow-root;
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }
}

/* Parallelogram Frame
----------------------------------------*/

.parallelogram-container {
    /* Establish a new stacking context for the pseudo-element to be placed behind. */
    display: inline-block;
    position: relative;
    /* Add padding to prevent the background from overlapping the text. */
    padding: 1.0rem 1.5rem;
    /* overflow: hidden; Recommended to prevent the skewed background from showing outside the container. */
    margin: 40px 0 20px 10px;
}

.parallelogram-container::before {
    content: ''; /* Required for psuedo-elements. */
    position: absolute; /* Position relative to the container. */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #DFD;
    transform: skew(-15deg);
    z-index: -1;
    border: 2px solid #303;
}
.parallelogram-shadow::before {
    content: ''; /* Required for psuedo-elements. */
    position: absolute; /* Position relative to the container. */
    top: 3px;
    left: 3px;
    right: -3px;
    bottom: -3px;
    background-color: #303;
    transform: skew(-15deg);
    z-index: -4;
    border: 2px solid #303;
}

.parallelogram-container h4 {
    /* display: inline-block; */
    position: relative;
    z-index: 1;
    /* text-transform: uppercase; */
    /* color: #000; */
}
    
/* Portfolio PRINT
----------------------------------------*/

/* .portfolio .column-grid-1 {
    margin: 20px 0 40px;
    display: grid;
    grid-template-columns: 1fr 75vw 1fr;
    grid-gap: 40px;
} */

.portfolio .column-grid-3 {
    margin: 20px 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    grid-gap: 20px;
}

/* .portfolio .column-grid-3 img {
    width: 29vw;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0px 4px 1px #6061);
} */

.portfolio .flyers img:nth-child(3n) {
    justify-self: end;
}

.portfolio .flyers img:nth-child(3n-1) {
    justify-self: center;
}

.portfolio .column-grid-3 img.two-column {
    width: 60vw;
    height: auto;
    max-width: 750px;
    /* grid-row: 1 / span 2; */
    grid-column: span 2;

}

.portfolio .column-grid-2 img.two-column {
    width: 88vw;
    height: auto;
    max-width: 750px;
    grid-column: span 2;
}

.portfolio .column-grid-3 .two-row {
    /* max-width: 500px; */
    grid-row: span 2;
    /* grid-column: 1 / span 2; */
}

.portfolio .column-grid-3 img.shrink-vertical {
    max-height: 360px;
    width: auto;
}

.portfolio .column-grid-1 {
    margin: 20px 0 40px;
    display: grid;
    grid-template-columns: 1fr 70vw 1fr;
    grid-gap: 40px;
    justify-items: center;
}


    /* Portfolio PRINT Responsive
----------------------------------------*/

@media screen and (min-width: 850px) {

    .portfolio .column-grid-1 img {
        width: 70vw;
        max-width: 860px;
    }

    .portfolio .column-grid-2 {
        margin: 20px 0 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: dense;
        grid-gap: 20px;
    }

    .portfolio .column-grid-2 img {
        width: 43vw;
        max-width: 560px;
        height: auto;
        filter: drop-shadow(0px 4px 1px #6061);
        justify-self: center;
    }

    .portfolio .column-grid-3 {
        margin: 20px 0 40px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-flow: dense;
        grid-gap: 20px;
    }

    .portfolio .column-grid-3 img {
        width: 29vw;
        max-width: 350px;
        height: auto;
        filter: drop-shadow(0px 4px 1px #6061);
    }

    .portfolio .flyers img:nth-child(3n) {
        justify-self: end;
    }

    .portfolio .flyers img:nth-child(3n-1) {
        justify-self: center;
    }

    .portfolio .column-grid-3 img.two-column, .portfolio .column-grid-3 figure.two-column {
        width: 60vw;
        height: auto;
        max-width: 750px;
        /* grid-row: 1 / span 2; */
        grid-column: span 2;

    }

    .portfolio .column-grid-3 .two-row, .portfolio .column-grid-2 .two-row {
        /* max-width: 500px; */
        /* grid-row: span 2; */
        grid-row: span 2;
    }

    .portfolio .column-grid-3 .three-row, .portfolio .column-grid-2 .three-row {
        /* max-width: 500px; */
        /* grid-row: span 2; */
        grid-row: span 3;
    }

    .portfolio .column-grid-3 img.shrink-vertical {
        max-height: 360px;
        width: auto;
    }
}

@media screen and (min-width: 625px) and (max-width: 849px) {
    
    .portfolio .column-grid-1 img {
        width: 70vw;
    }
    
    .portfolio .column-grid-2 {
        margin: 20px 0 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: dense;
        grid-gap: 20px;
    }

    .portfolio .column-grid-2 img, .portfolio .column-grid-3 img {
        width: 43vw;
        max-width: 365px;
        height: auto;
        filter: drop-shadow(0px 4px 1px #6061);
        justify-self: center;
    }

    .portfolio .column-grid-3 {
        margin: 20px 0 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: dense;
        grid-gap: 20px;
    }

    /* .portfolio .column-grid-3 img {
        width: 45vw;
        max-width: 277px;
        height: auto;
        filter: drop-shadow(0px 4px 1px #6061);
        justify-self: center;
    } */

    .portfolio .flyers img:nth-child(3n) {
        justify-self: center;
    }

    .portfolio .flyers img:nth-child(3n-1) {
        justify-self: center;
    }

    .portfolio .column-grid-3 img.two-column, .portfolio .column-grid-3 figure.two-column {
        width: 88vw;
        height: auto;
        max-width: 750px;
        /* grid-row: 1 / span 2; */
        grid-column: span 1;
    }

    .portfolio .column-grid-3 .two-row, .portfolio .column-grid-2 .two-row {
        /* max-width: 500px; */
        grid-row: span 2;
        /* grid-column: 1 / span 2; */
    }

    .portfolio .column-grid-3 .three-row, .portfolio .column-grid-2 .three-row {
        /* max-width: 500px; */
        grid-row: span 3;
        /* grid-column: 1 / span 2; */
    }

    .portfolio .column-grid-3 img.two-column, .portfolio .column-grid-2 img.two-column, .portfolio .column-grid-3 figure.two-column {
        grid-column: span 2;
    }
    .portfolio .column-grid-3 img.shrink-vertical {
        max-height: 360px;
        width: auto;
    }
}

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

    .portfolio .column-grid-1 img {
        width: 85vw;
        height: auto;
        padding: 0;
        margin: 0;
    }

    .portfolio .column-grid-1 {
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        grid-auto-flow: row;
        grid-gap: 40px;
        text-align: center;
    }
    .portfolio .column-grid-3, .portfolio .column-grid-2, .portfolio .column-grid-1 {
        margin: 0;
        display: block;
        text-align: center;
        /* grid-template-columns: 1fr;
        grid-auto-rows: auto;
        grid-auto-flow: row;
        grid-gap: 40px; */
    }

    .portfolio .column-grid-3 img, .portfolio .column-grid-2 img, .portfolio img.two-column, .portfolio figure.two-column {
        display: inline-block;
        width: 100%;
        max-width: 100%;
        height: auto;

        padding: 20px 0;
        justify-self: center;
        filter: drop-shadow(0px 4px 1px #6061);
        margin: 0px 0;
    }

    .portfolio img.two-row, .portfolio img.three-row {
        max-height: 80vh;
        width: auto;
    }

    .portfolio .web-item img.two-row, .portfolio .web-item img.three-row {
        width: 100%;
        max-height: none;
        /* height: auto; */
    }

    .portfolio .flyers img:nth-child(3n) {
        justify-self: center;
    }

    .portfolio .flyers img:nth-child(3n-1) {
        justify-self: center;
    }

    /* .portfolio img.two-column { */
        /* width: 60vw;
        height: auto;
        max-width: 750px; */
        /* grid-row: 1 / span 2; */
        /* grid-column: span 1; */

    /* } */

    /* .portfolio .column-grid-3 .two-row {
        max-width: 500px;
        grid-row: span 2;
        grid-column: 1 / span 2;
    } */

    .portfolio .column-grid-3 img.shrink-vertical {
        max-height: 360px;
        width: auto;
    }
    
}

/* .video-item iframe {
    width: 45%;
    aspect-ratio: 16 / 9;
} */
/* .video-item .description {
    margin: auto 10px;
    padding-top: 0;
} */

/* .project-item {
    margin: 30px 0;
}
.project-item img {
    width: 300px;
} */
/* @media screen and (min-width: 860px) {
    .project-item {
        display: flow-root;
        margin: 30px 0;
    }
    .project-item img {
        float: left;
        margin-right: 20px;
    }
} */
/* @media screen and (min-width: 650px) and (max-width: 859px) {
    .project-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
    }
    .project-item img {
        width: 100%;
    }
} */
/* @media screen and (max-width: 500px) {
    .project-item img {
        width: 100%;
        margin-bottom: 10px;
    }
} */


/* RESUME
-----------------------------------------*/
/* .resume header::before {
    background: url(../images/bg-home-office-studio.jpg) center;
    background-size: cover;
    content: "";
    display: block;
    height: 375px;
} */
.resume .eyebrow {
    color: #606;
    margin-bottom: 0px;
}
.resume main strong {
    color: #054;
}
.resume section {
    margin-top: 20px;
    margin-bottom: 40px;
}

.resume hr {
    margin: 0 0 20px;
    padding: 0;
    border: none;
    height: 2px;
    background-color:#DCD;
}
.resume section p {
    margin: 0 0 20px;
}

.resume section .location-and-title {
    margin: 20px 0;
}
.resume section .location-and-title p {
    margin: 0;
}
.resume section ul {
    margin-bottom: 40px;
}


.download-link {
    position: fixed;
    top: 5px;
    left: 5px;
    font-size: 1.5rem;
}

/* Resume Responsive
-----------------------------------------*/

@media screen and (min-width: 625px) {
    .resume section > p, .resume section > ul {
        margin-left: 40px;
        margin-right: 40px; 
    }
    .resume section#summary > p:last-child {
        margin-left: 80px;
        margin-right: 80px;
    }
}
@media screen and (max-width: 624px) {
    .resume section > p, .resume section > ul {
        margin-left: 0;
        margin-right: 0; 
    }
    .resume section#summary > p:last-child {
        margin-left: 20px;
        margin-right: 20px;
    }
}
/* @media screen and (max-width: 1200px) {
    .download-link {
        position: absolute;
    }
}
@media screen and (max-width: 500px) {
    .resume header::before {
        height: 200px;
    }
    h1 {
        font-size: 5rem;
    }
    h2 {
        font-size: 2.6rem;
    }

} */
/* Profile
-----------------------------------------*/


/* Work Experience
-----------------------------------------*/
.work-item {
    margin: 30px 0;
}
.work-details {
    margin: 0;
}

/* @media screen and (min-width: 860px) {
    .work-item {
        display: grid;
        grid-template-columns: 300px 1fr;
        column-gap: 20px;
    }
    .work-summary p:first-child {
        margin-top: 0;
    }
} */
    
/* Education
-----------------------------------------*/
.education-item {
    margin: 30px 0;
}
.education-item p {
    margin: 0;
}

/* CONTACT
-----------------------------------------*/
.contact {
    background-size: cover;
    display: flex;
    flex-direction: column;
}
.contact .site-wrapper {
    flex: 1 0 auto;
    max-width: 100vw;
}
.contact .content-wrapper main {
    max-width: 600px;
    padding: 0 40px;
    margin: 0px auto;
}

.contact #contact-form {
    /* display:grid;
    grid-template-rows: 40px, 40px, 40px, 40px, 50px, 20px; */
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
    /* background-color: #BE5; */
}

#contact-form .form-row > * {
    /* align-self: center; */
    width: 100%;
    margin: 5px 0 20px;
}

#contact-form .form-row label {
    color: #414;
}
/* #contact-form label:has(+ input:required)::after { */
/* show asterisk only for labels immediately followed by a required control */
#contact-form label:has(+ input[required])::after,
#contact-form label:has(+ textarea[required])::after,
#contact-form label:has(+ select[required])::after {
    content: " *" !important;
    color: red;
    font-weight: bold;
}
span.required {
    color: red;
}
/* *:required {
  background-color: gold !important;
} */

/* ensure labels that are NOT followed by a required control don't get the asterisk */
#contact-form label:not(:has(+ input[required])):not(:has(+ textarea[required])):not(:has(+ select[required]))::after {
    content: none !important;
}

#contact-form .form-row input, #contact-form .form-row textarea {
    padding: 5px;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #F0F7F0;
    
    border: 2px #DCD inset;
}
#contact-form button[type="submit"] {
    padding: 10px 20px;
    background-color: #D02200;
    color: #EDEDEE;
    font-family: "Raleway", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 25px;
    border: 2px outset #F52;
}
#contact-form button[type="submit"]:hover {
    background-color: #E00;
    color: #FFF;
    font-weight: 700;
}
#contact-form .form-buttons {
    text-align: center;
}

/* Contact Responsive
-----------------------------------------*/
@media screen and (max-width: 625px) {
    .contact .content-wrapper main {
        padding: 0;
    }
}

/* THANK YOU
-----------------------------------------*/

.centered {
    text-align: center;
}

/* FOOTER
-----------------------------------------*/
footer {
    background: #414;
    color: #EDEDEE;
    font-size: 1.4rem;
}

footer p {
    color: #EDEDEE
}

.socials {
    list-style: none;
    padding-top: 10px;
    padding-left: 0;

}
.socials li {
    display: inline-block;
}
.socials img {
    width: 25px;
    height: 25px;
}
.socials img:hover {
    opacity: 0.8;
}

@media screen and (min-width: 860px) {
    footer {
        display: flex;
        justify-content: space-between;
        padding: 0 40px;
    }
    footer p {
        padding: 7px 0 0;
    }
    .socials li {
        margin-left: 10px;
    }
}
@media screen and (max-width: 859px) {
    footer {
        text-align: center;
        padding: 10px;
    }
    footer p {
        margin-bottom: 0;
    }
    .socials li {
        margin: 0 5px;
    }
    .socials {
        margin-top: 0px;
    }
}