body {
    background-image: url(../images/Portfolio/Website\ Portfolio\ Header.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100%;
    background-position: center 10%;
}

main {
    width: 100%;
    height: calc(50vh - 6.0rem);
    margin-top: 6.0rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -2;
}

main .main-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .main-intro h1 {
    font-size: 9.6rem;
    line-height: 10.6rem;
    text-shadow: 0.4rem 0.4rem 0.2rem rgb(0, 0, 0, 0.5);
    max-width: 120.0rem;
    text-align: center;
}

main .main-intro p {
    font-size: 1.8rem;
    line-height: 3.0rem;
    max-width: 70.0rem;
    text-shadow: 0.3rem 0.3rem 0.2rem rgb(0, 0, 0, 0.5);
    text-align: center;
}

/* DIVIDER SECTION START */
.portfolio-divider {
    width: 100%;
    padding: 2.0rem 0;
    background-color: #1a1a1a;
}
/* DIVIDER SECTION START */


/* PROJECTS SECTION START */
.portfolio-projects {
    width: 100%;
    background-image: url(../images/Background\ 3c\ Light.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}

.portfolio-projects-center {
    width: 130.0rem;
    height: auto;
    background-color: white;
    justify-self: center;
    justify-content: center;
}

.portfolio-projects-center h2 {
    width: 120.0rem;
    color: #111111;
    text-transform: uppercase;
    font-size: 5.0rem;
    text-align: center;
    flex-basis: 100%;
    border-bottom: solid 0.6rem #00ab44;
    padding-top: 5.0rem;
    padding-bottom: 2.0rem;
    justify-self: center;
}

.starting-transparent-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0);
    transition: all ease-in-out 200ms;
}

/* Project Left Template */
.portfolio-projects-center-proj {
    padding: 4.0rem 5.0rem;
    display: flex;
    justify-content: space-between;
    gap: 5.0rem;
    align-items: center;
}

.portfolio-projects-center-proj-textbox {
    max-width: 60.0rem;
    width: 60.0rem;
}

.portfolio-projects-center-proj-textbox h3 {
    color: #111111;
    font-size: 3.0rem;
    line-height: 4.0rem;
}

.portfolio-projects-center-proj-textbox p, .portfolio-projects-center-footnotes {
    color: #111111;
    font-size: 1.8rem;
    line-height: 2.6rem;
}

.portfolio-projects-center-footnotes {
    justify-self: center;
    align-self: center;
    padding-bottom: 4.0rem;
    max-width: 105.0rem;
    text-align: center;
    color: #4b4b4b;
}

/* Project Images */
.portfolio-projects-center-proj-image {
    width: 80.0rem;
    height: 40.0rem;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
    position: relative;
}
/*
.portfolio-projects-center-proj-image:hover .starting-transparent-overlay {
    background-color: rgba(255, 255, 255, 0.35);
}
 */
/* Website */
.portfolio-projects-center-proj-image1 {
    background-image: url(../images/Portfolio/website.jpg);
    background-position: center 50%;
}
/* Yearbook */
.portfolio-projects-center-proj-image2 {
    background-image: url(../images/Portfolio/Yearbook\ Website\ Thumbnail.png);
    background-position: center 10%;
}
/* Compiled */
.portfolio-projects-center-proj-image3 {
    background-image: url(../images/Portfolio/Compiled\ Website\ Thumbnail.png);
    background-position: center 50%;
}
/* Pamphlet */
.portfolio-projects-center-proj-image4 {
    background-image: url(../images/Portfolio/Project\ 0\ Outside\ Final\ on\ Sub.png);
    background-position: center 50%;
}
/* Agenda */
.portfolio-projects-center-proj-image5 {
    background-image: url(../images/Portfolio/webp/PHMAgenda.webp);
    background-position: center 50%;
}
/* Kingsmen Court Logo */
.portfolio-projects-center-proj-image6 {
    background-image: url(../images/Portfolio/KCourt\ Logo.png);
    background-position: center 50%;
}
/* Esports Team Logo */
.portfolio-projects-center-proj-image7 {
    background-image: url(../images/Portfolio/webp/Penn_Esports_Logos_Board.webp);
    background-position: center 90%;
}
/* Classroom Signage */
.portfolio-projects-center-proj-image8 {
    background-image: url(../images/Portfolio/doorsigns.jpg);
    background-position: center 50%;
    background-size: contain;
}
/* Extra Logos */
.portfolio-projects-center-proj-image9 {
    background-image: url(../images/Portfolio/CES\ Logos\ White\ Backround.png);
    background-position: center 50%;
    background-size: contain;
}

/* Buttons
.portfolio-projects-center-buttons-box {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 3rem;
    justify-self: center;
}

.portfolio-projects-center-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4.0rem;
    width: 50rem; 
    padding: 0 1.8rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    line-height: 3.6rem;
    color: #00ab44;
    text-align: center;
    border: 0.2rem, solid, #00ab44;
    transition-duration: 0.3s;
    transition-property: all;
    transition-behavior: ease;
    transition-delay: 0s;
}

.portfolio-projects-center-button:hover:not(.active){
    background-color: #00ab44;
    color: white;
}
*/

@media only screen and (max-width: 1350px) {
    .portfolio-projects-center {
        width: 100%;
    }
}

/* ------ MOBILE VERSION ------ */

@media only screen and (max-width: 600px) {
    body {
        overflow-x: hidden;
        background-size: auto 50vh;
        background-position: center top;
    }

    main {
        min-height: calc(40svh - 10.0rem);
        height: auto;
        padding: 5.0rem 2.0rem;
    }

    main .main-intro {
        width: 100%;
    }

    main .main-intro h1 {
        max-width: 9em;
        font-size: clamp(4.0rem, 13vw, 5.6rem);
        line-height: 1.05;
        text-shadow: 0.3rem 0.3rem 0.2rem rgb(0, 0, 0, 0.5);
    }

    main .main-intro p {
        max-width: 44.0rem;
        margin-top: 2.0rem;
        font-size: 1.6rem;
        line-height: 2.5rem;
    }

    .portfolio-divider {
        padding: 1.5rem 0;
    }

    .portfolio-projects {
        background-attachment: scroll;
    }

    .portfolio-projects-center {
        width: 100%;
        height: auto;
        padding: 4.0rem 2.0rem;
    }

    .portfolio-projects-center-proj {
        padding: 3.0rem 0;
        flex-direction: column;
        gap: 2.0rem;
        align-items: stretch;
    }

    .portfolio-projects-center-proj + .portfolio-projects-center-proj {
        border-top: 0.1rem solid #d8d8d8;
    }

    .portfolio-projects-center-proj-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        order: -1;
    }

    .portfolio-projects-center-proj-textbox {
        width: 100%;
        max-width: none;
    }

    .portfolio-projects-center-proj-textbox h3 {
        font-size: 2.5rem;
        line-height: 3.2rem;
    }

    .portfolio-projects-center-proj-textbox p {
        margin-top: 0.8rem;
        font-size: 1.6rem;
        line-height: 2.5rem;
    }

    .portfolio-projects-center-footnotes {
        max-width: none;
        padding: 3.0rem 0 0;
        font-size: 1.4rem;
        line-height: 2.2rem;
        text-align: left;
    }
}

/* ------ MOBILE VERSION (800PX AND UNDER) ------ */
@media only screen and (max-width: 800px) {
    body {
        overflow-x: hidden;
        background-size: auto 50vh;
        background-position: center top;
    }

    main {
        min-height: calc(40svh - 5.0rem);
        height: auto;
        margin-top: 5.0rem;
        padding: 5.0rem 2.0rem;
    }

    main .main-intro {
        width: 100%;
    }

    main .main-intro h1 {
        max-width: 9em;
        font-size: clamp(4.0rem, 13vw, 5.6rem);
        line-height: 1.05;
        text-shadow: 0.3rem 0.3rem 0.2rem rgb(0, 0, 0, 0.5);
    }

    main .main-intro p {
        max-width: 44.0rem;
        margin-top: 2.0rem;
        font-size: 1.6rem;
        line-height: 2.5rem;
    }

    .portfolio-divider {
        padding: 1.5rem 0;
    }

    .portfolio-projects {
        background-attachment: scroll;
    }

    .portfolio-projects-center {
        width: 100%;
        height: auto;
        padding: 4.0rem 2.0rem;
    }

    .portfolio-projects-center h2 {
        width: 100%;
        padding-top: 0;
        padding-bottom: 1.5rem;
        font-size: 3.4rem;
        line-height: 4.0rem;
        border-bottom-width: 0.4rem;
    }

    .portfolio-projects-center-proj {
        padding: 3.0rem 0;
        flex-direction: column;
        gap: 2.0rem;
        align-items: stretch;
    }

    .portfolio-projects-center-proj + .portfolio-projects-center-proj {
        border-top: 0.1rem solid #d8d8d8;
    }

    .portfolio-projects-center-proj-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        order: -1;
    }

    .portfolio-projects-center-proj-textbox {
        width: 100%;
        max-width: none;
    }

    .portfolio-projects-center-proj-textbox h3 {
        font-size: 2.5rem;
        line-height: 3.2rem;
    }

    .portfolio-projects-center-proj-textbox p {
        margin-top: 0.8rem;
        font-size: 1.6rem;
        line-height: 2.5rem;
    }

    .portfolio-projects-center-footnotes {
        max-width: none;
        padding: 3.0rem 0 0;
        font-size: 1.4rem;
        line-height: 2.2rem;
        text-align: left;
    }
}

/* ------ SMALL DESKTOP VERSION ------ */
@media only screen and (min-width: 801px) and (max-width: 1300px) {
    body {
        overflow-x: hidden;
        background-size: cover;
    }

    main {
        padding: 5.0rem clamp(3.0rem, 4vw, 5.0rem);
    }

    main .main-intro h1 {
        font-size: clamp(6.4rem, 8vw, 9.6rem);
        line-height: 1.08;
    }

    .portfolio-projects-center {
        width: 100%;
        height: auto;
        padding: 5.0rem clamp(3.0rem, 4vw, 5.0rem);
    }

    .portfolio-projects-center h2 {
        width: 100%;
        padding-top: 0;
    }

    .portfolio-projects-center-proj {
        padding: 4.0rem 0;
        gap: clamp(2.4rem, 3vw, 5.0rem);
    }

    .portfolio-projects-center-proj-textbox {
        width: auto;
        max-width: none;
        flex: 0 1 42%;
    }

    .portfolio-projects-center-proj-textbox h3 {
        font-size: clamp(2.4rem, 2.5vw, 3.0rem);
        line-height: 1.3;
    }

    .portfolio-projects-center-proj-textbox p {
        font-size: clamp(1.5rem, 1.4vw, 1.8rem);
        line-height: 1.5;
    }

    .portfolio-projects-center-proj-image {
        width: auto;
        height: auto;
        aspect-ratio: 16 / 9;
        flex: 1 1 58%;
    }

    .portfolio-projects-center-footnotes {
        width: 100%;
        max-width: 100.0rem;
    }
}

/* ------ ULTRA-WIDE VERSION ------ */
@media only screen and (min-width: 2561px) {
    body {
        background-size: cover;
    }

    main {
        height: calc(50vh - 8.0rem);
        margin-top: 8.0rem;
    }

    main .main-intro h1 {
        max-width: 160.0rem;
        font-size: clamp(11.0rem, 5vw, 15.0rem);
        line-height: 1.08;
    }

    main .main-intro p {
        max-width: 100.0rem;
        font-size: 2.4rem;
        line-height: 3.8rem;
    }

    .portfolio-divider {
        padding: 3.0rem 0;
    }

    .portfolio-projects-center {
        width: min(100%, 190.0rem);
        height: auto;
        padding: 8.0rem 5.0rem;
    }

    .portfolio-projects-center h2 {
        width: 100%;
        padding-top: 0;
        padding-bottom: 3.0rem;
        font-size: 6.4rem;
        line-height: 7.2rem;
        border-bottom-width: 0.8rem;
    }

    .portfolio-projects-center-proj {
        padding: 6.0rem 0;
        gap: 8.0rem;
    }

    .portfolio-projects-center-proj-textbox {
        width: 65.0rem;
        max-width: 65.0rem;
        flex: 0 0 auto;
    }

    .portfolio-projects-center-proj-textbox h3 {
        font-size: 4.2rem;
        line-height: 5.2rem;
    }

    .portfolio-projects-center-proj-textbox p {
        font-size: 2.2rem;
        line-height: 3.4rem;
    }

    .portfolio-projects-center-proj-image {
        width: 105.0rem;
        height: 52.5rem;
        flex: 0 0 auto;
    }

    .portfolio-projects-center-footnotes {
        max-width: 140.0rem;
        padding-bottom: 6.0rem;
        font-size: 2.0rem;
        line-height: 3.2rem;
    }
}
