:root {
    --ghostwhite: #F8F8FF;
    --mulledwine: #4B475F;
    --lavendar: #D7D6FF;
    --blackout: #222;
    --standard-text: 1.7rem;
    --software-text: 1.3rem;
    --section-gap: 200px;
    --within-section-gap: 50px;
}

html {
    font-size: 10px;
    color: var(--ghostwhite);
    font-family: "Jost", Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
    height: 100%; 
    overflow:auto;
}

.home {
    height: 100vh;
}
body {
    background-color: var(--blackout);
    position: relative;
    height: 100%;
}

header {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    /*width: 100%;*/
    width: 100vw;
}

nav {
    height: 100px;
    background-color: var(--ghostwhite);
    color: var(--blackout);
    display: flex;
    justify-content: center;
    /*margin-bottom: 5rem;*/
    border-bottom: 2px solid rgba(34,34,34,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

.logo {
    height: 81px;
    width: 69px;
}

a, a:visited, a:link, a:hover, a:focus, a:active {
    color: var(--blackout);
    text-decoration: none;
}

.nav-item, p {
    font-size: var(--standard-text);
    line-height: 1.3;
}

.nav-item, .filter {
    font-weight: 600;
    font-size: var(--standard-text);
    color: var(--blackout);
    text-decoration: none;
    text-transform: uppercase;
    padding: 20px 0;
    /*margin: 0 20px;*/
    display: inline-block;
    position: relative;
}


.nav-item:hover {
  opacity: 1;
}

.nav-item::before {
  transition: 300ms;
  height: 5px;
  content: "";
  position: absolute;
  background-color: var(--blackout);
}

.nav-item::before {
  width: 0;
  bottom: 10px;
}

.nav-item:hover::before {
  width: 100%;
}

.nav-item-container {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

main {
    display: flex;
    justify-content: center;
}

.everything-container {
    width: 90%;
    margin-top: 15rem;
}

.home .everything-container {
    margin-top: 5rem;
    width: auto;
}

.top-content {
    height: calc(100vh - 100px - 121.8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    justify-self: center;
}

.greeting, .pg-title {
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--lavendar);
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.1;
}

.pg-title {
    margin-bottom: 10%;
}

/*
.about-container {
    height: calc(100vh);
    position: absolute;
    top:0;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/

#about-title {
    text-align: center;
}

.email {
    font-style: italic;
}

.greeting span {
    display: block;
}

img {
    width: 100%;
    height: auto;
}

/*
.featured {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100vw;
}
*/

.featured {
    display: grid;
    /*grid-template-columns: 1fr 1fr 1fr 1fr 1fr;*/
    /*position: absolute;*/
    width: 100vw;
    height: calc(100vh - 100px);
}

/*
.featured div {
    aspect-ratio: 1/1;
    border: solid 2px var(--ghostwhite);
}
*/

.featured div {
    /*aspect-ratio: 1/1;*/
    height: 100%;
    padding: 1rem;
    /*border: solid 2px var(--ghostwhite);*/
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
}

#featured1 {
    background: linear-gradient(90deg,rgba(34, 34, 34, 0.5) 0%, rgba(34, 34, 34, 0.5) 50%), url(../images/featured/featured1-long.webp) no-repeat;
    background-size: cover;
    border: none;
}

#featured2 {
    background: linear-gradient(90deg,rgba(34, 34, 34, 0.5) 0%, rgba(34, 34, 34, 0.5) 50%), url(../images/featured/featured2-long.jpg) no-repeat right;
    background-size: cover;
    border: none;
}

#featured3 {
    background: linear-gradient(90deg,rgba(34, 34, 34, 0.5) 0%, rgba(34, 34, 34, 0.5) 50%), url(../images/featured/featured3-long.jpg) no-repeat;
    background-size: cover;
    border: none;
}

#featured4 {
    background: linear-gradient(90deg,rgba(34, 34, 34, 0.5) 0%, rgba(34, 34, 34, 0.5) 50%), url(../images/featured/featured4-long.jpg) no-repeat right;
    background-size: cover;
    border: none;
}

#featured5 {
    background: linear-gradient(90deg,rgba(34, 34, 34, 0.5) 0%, rgba(34, 34, 34, 0.5) 50%), url(../images/featured/featured1-long.webp) no-repeat;
    background-size: cover;
    border: none;
}

p + p {
    margin-top: 1rem;
}

.filter-button {
    display: flex;
    gap: 1rem;
    background-color: var(--ghostwhite);
    padding: 1rem;
    border-radius: 5px;
    position: fixed;
    z-index: 1;
    bottom: 2rem;
    right: 5%;
}

.filter-icon {
    width: 2.5rem;
}

.filter-button p {
    color: var(--blackout);
    font-weight: 500;
}

.filter {
    color: var(--blackout);
    font-weight: 400;
    line-height: 1.3;
    padding: 2rem;
    position: absolute;
    background-color: var(--ghostwhite);
    left: 0;
    top: 9rem;
    height: 100vh;
    z-index: 3;
    /*display: none;*/
    transform: translateX(-30rem);
    opacity: 0;
    transition: all 400ms;
}

.open {
    transform: translateX(0);
    opacity: 1;
}

.filter-title {
    border-bottom: 2px solid var(--blackout);
    /*padding-bottom: 0.5rem;*/
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title-h2 {
    font-weight: 500;
    font-size: 1.8rem;   
}

.filter-icons {
    display: flex;
    gap: 1rem;
}

.filter-reset, .filter-back {
    background: url(../images/reset.svg) no-repeat center right;
    background-size: contain;
    margin: 1rem 0 1rem;
    height: 2rem;
    width: 2rem;
}

.filter-back {
    background: url(../images/arrow.svg) no-repeat center right;
    background-size: contain;
}

.filter-title:hover {
    cursor: default;
}

.filter-items {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    /*
    display: flex;
    gap: 0.5rem;
    */
}

.filter-items:hover {
    cursor: pointer;
}

#dim {
    width: 100vh;
    height: 100vh;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    background-color: rgba(34, 34, 34, 0.6);
    /*opacity: 0;*/
    /*display: none;*/
}

/*
.filter-item-name {
    margin-right: 2rem;
}
*/

/*
.number {
    margin-top: 0;
    
}
*/

.selected {
    text-decoration: underline solid 2px;
    text-underline-offset: 5px;
}

.project {
    aspect-ratio: 3/2;
    margin-bottom: 2rem;
    position: relative;
    height: 100%;
}

.project-text {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    padding: 1rem;
}

.projects {
    margin-bottom: 3rem;
}

.project-text {
    background-color: rgba(34,34,34,0.5);
    color: var(--ghostwhite);
}

.title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.web {
    background-color: aqua;
}

.graphic { background-color: mediumpurple;}

.interactive { background-color: orange;}


.secondary-nav {
    background-color: var(--blackout);
    height: auto;
    position: sticky;
    /*top: 100px;*/
    top: 0;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(248, 248, 255, 0.2);
}

.scroll-menu {
    overflow: auto;
    white-space: nowrap;
    font-size: 1.7rem;
    padding: 0.5rem;
}

.scroll-menu a, .scroll-menu p {
    color: var(--ghostwhite);
    display: inline-block;
    padding: 1rem;
    margin-right: 1rem;
}

.everything-container.project-page {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
}

.everything-container.project-page section {
    margin: calc(var(--section-gap)/4) 0;
}

.everything-container.project-page section > p {
    margin-top: calc(var(--within-section-gap)/2);
}

.everything-container.project-page section > picture img {
    margin-top: calc(var(--within-section-gap)/2);
}

/*
.everything-container.project-page section:first-child {
    margin-bottom: 0;
}
*/

main.project-page {
    display: block;
}

#cover {
    /*margin-top: 10rem;*/
    height: calc(100vh - 49px);
    width: 100vw;
    display: flex;
    justify-content: center;
    background-size: cover;
    border-bottom: 1px solid rgba(248, 248, 255, 0.2);
}

.dawnJournals #cover {
    background: 
        linear-gradient(-90deg,rgba(34, 34, 34, 0) -100%, rgba(34, 34, 34, 1) 100%),
        url(../images/dawnJournals/dawnJournals-cover.jpg) no-repeat;
    background-size: cover;
}

.hyperstellar #cover {
    background: 
        linear-gradient(-90deg,rgba(34, 34, 34, 0) -100%, rgba(34, 34, 34, 1) 100%),
        url(../images/hyperstellar/hyperstellar-cover2.webp) no-repeat;
}

.mccdesndept #cover {
    background: 
        linear-gradient(-90deg,rgba(34, 34, 34, 0) -100%, rgba(34, 34, 34, 1) 100%),
        url(../images/desndept/desndept-cover.jpg) no-repeat;
    background-size: cover;
}

.mccartgallery #cover {
    background: 
        linear-gradient(-90deg,rgba(34, 34, 34, 0) -100%, rgba(34, 34, 34, 1) 100%),
        url(../images/artgallery/artgallery-cover.jpg) no-repeat;
    background-size: cover;
}

.hyperstellar .cover-text-container, .mccdesndept .cover-text-container {
    height: 70%;
}

.mccartgallery .cover-text-container {
    height: 80%;
}

.cover-container {
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cover-text-container {
    height: 60%;
    /*width: 90%;*/
    display: flex;
    flex-direction: column;
    justify-content: end;
}

#cover .title {
    font-size: 4rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

#cover .live-link {
    margin-bottom: 1rem;
}

#cover .live-link a {
    /*font-style: italic;*/
    text-decoration: underline solid 1px;
    text-underline-offset: 3px;
    color: var(--ghostwhite);
}

#cover .description {
    width: 70%;
}

#cover .year, .roles span {
    text-transform: uppercase;
}

.software {
    line-height: 50px;
    font-size: 1.3rem
}

.bold {
    font-weight: 500;
}

.center-content {
    width: 90%;
}

#cover, #logo, #user-persona, #site-map, #style-tile, #wireframes, #prototype, #album, #hoodie, #mockups {
    scroll-margin-top: 150px;
}

.project-nav {
    transition: all 0.2s;
}

.nav-hidden {
    transform: translateY(-100px);
}

.nav-there {
    top: 100px;
}

footer {
    background-color: var(--ghostwhite);
    color: var(--blackout);
    padding: 1rem;
    text-align: center;
}

footer p {
    font-size: 1.3rem
}

.next-back div {
    height: 2rem;
    width: 2rem;
}

.next-back {
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.next-back a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
}

.everything-container.project-page section.next-back {
    margin: 1rem 0;
}

.back {
    background: url(../images/arrow-white.svg) no-repeat center;
    background-size: contain;
}

.next {
    background: url(../images/arrow-white2.svg) no-repeat center;
    background-size: contain;
}

.italic { font-style: italic;}

@media screen and (min-width: 600px) {
    /*HOME PAGE*/
    
    .featured div {
        display: flex;
        flex-direction: column;
        /*
        justify-content: center;
        align-items: center;
        */
    }
    
    /*
    .title {
        font-size: 2rem;
        font-weight:500;
        text-transform: uppercase;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .year {
        font-size: 1.4rem;
    }
    */
    
    .filter-button {
        display: none;
    }
    
    .filter {
        all: unset;
        color: var(--ghostwhite);
        font-weight: 400;
        line-height: 1.3;
        
    }
    
    .filter-title {
        border-bottom: 2px solid var(--ghostwhite);
    }
    
    .filter ul {
        display: flex;
        justify-content: space-between;
        font-size: var(--standard-text);
        margin-bottom: 2rem;
    }
    
    .filter-reset {
        background-image: url(../images/reset-white.svg);
    }
    
    .filter-back {
        display: none;
    }
    
    .projects {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        
    }
    
    .project {
        margin-bottom: 0;
    }
    
    .center-content {
        width: 75%;
    }
    
    #cover, #logo, #user-persona, #site-map, #style-tile, #wireframes, #prototype {
        scroll-margin-top: 100px;
    }
    
    .dawnJournals #cover {
        background: linear-gradient(-90deg, rgba(34, 34, 34, 0) -100%, rgba(34, 34, 34, 1) 100%), url(../images/dawnJournals/dawnJournals-cover-lg.webp) no-repeat;
    }
    
    .hyperstellar #cover {
        background: linear-gradient(-90deg, rgba(34, 34, 34, 0) -100%, rgba(34, 34, 34, 1) 100%), url(../images/hyperstellar/hyperstellar-cover2-lg.webp) no-repeat center left;
    }
    
    .mccdesndept #cover {
        background: linear-gradient(-90deg, rgba(34, 34, 34, 0) -100%, rgba(34, 34, 34, 1) 100%), url(../images/desndept/desndept-cover-lg.jpg) no-repeat center right;
    }
    
    .mccartgallery #cover {
        background: linear-gradient(-90deg, rgba(34, 34, 34, 0) -100%, rgba(34, 34, 34, 1) 100%), url(../images/artgallery/artgallery-cover-lg.jpg) no-repeat center right;
    }
    
    #last-logo {
        display: none;
    }
    
    #cover .title {
        font-size: 5rem;
    }
    
    #cover .description, #cover .team {
        max-width: 500px;
    }
    
}

@media screen and (min-width: 800px) {
    
    .home .everything-container {
        width: 90%;
    }
    
    .top-content {
        width: 100%;
    }
    
    .featured {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
    }
    
    .featured div {
        aspect-ratio: 1/1;
    }
    
    .featured .title, .featured .year {
        display: none;
    }
    
    #featured1 {
        background-image: url(../images/featured/featured1-sq.webp);
    }
    
    #featured2 {
        background-image: url(../images/featured/featured2-sq.jpg);
    }
    
    #featured3 {
        background-image: url(../images/featured/featured3-sq.jpg);
    }
    
    #featured4 {
        background-image: url(../images/featured/featured4-sq.jpg);
    }
    
    #featured5 {
        background-image: url(../images/featured/featured1-sq.webp);
    }
    
    .greeting, .pg-title {
        font-size: 8rem;
    }
    
    .about-container {
        max-width: 600px;
    }
    
    .about-container section {
        max-width: 600px;
    }
    
    .dawnJournals #cover {
        background: linear-gradient(-90deg, rgba(34, 34, 34, 0) -20%, rgba(34, 34, 34, 1) 60%), url(../images/dawnJournals/dawnJournals-cover-lg.webp) no-repeat left;
        background-size: cover;
    }
    
    .hyperstellar #cover {
        background: linear-gradient(-90deg, rgba(34, 34, 34, 0) -20%, rgba(34, 34, 34, 1) 60%), url(../images/hyperstellar/hyperstellar-cover2-lg.webp) no-repeat left;
        background-size: cover;
    }
    
    .mccdesndept #cover {
        background: linear-gradient(-90deg, rgba(34, 34, 34, 0) -20%, rgba(34, 34, 34, 1) 60%), url(../images/desndept/desndept-cover-lg.jpg) no-repeat left;
        background-size: cover;
    }
    
    .mccartgallery #cover {
        background: linear-gradient(-90deg, rgba(34, 34, 34, 0) -20%, rgba(34, 34, 34, 1) 60%), url(../images/artgallery/artgallery-cover-lg.jpg) no-repeat left;
        background-size: cover;
    }
    
}

@media screen and (min-width: 900px) {
    .everything-container#projects {
        display: flex;
        justify-content: end;
    }
    
    .projects {
        padding-bottom: 5rem;
        max-width: 500px;
        grid-template-columns: 1fr;
    }
    
    .project-text {
        display: none;
        justify-content: end;
        align-items: start;
    }
    
    .filter {
        position: fixed;
        width: auto;
        top: 15rem;
        right: calc(100vw - 5% - 245px);
    }
    
    .filter ul {
        display: block;
    }
    
    .center-content {
        width: 60%;
    }
    
    .everything-container.project-page section > picture img {
        margin-top: var(--within-section-gap);
    }
}

@media screen and (min-width: 1100px) {
    .projects {
        min-width: 700px;
        /*max-width: 900px;*/
        grid-template-columns: 1fr 1fr;
    }
    
    .center-content {
        width: 800px;
    }
    
    .center-content p {
        width: 500px;
        justify-self: center;
    }
    
    .everything-container.project-page section > p {
        margin-top: var(--within-section-gap);
    }
    
    .everything-container.project-page section {
        margin: calc(var(--section-gap)/2) 0;
    }
    
    #cover .title {
        font-size: 5rem;
    }
    
    #cover .description {
        width: 500px;
    }
    
}

@media screen and (min-width: 1300px) {
    .projects {
        max-width: 900px;
        min-width: 900px;
        /*grid-template-columns: 1fr 1fr 1fr;*/
        grid-template-columns: repeat(3, 1fr);
    }
}






