body {
    background-image: url(../images/ResumeTitle.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 120%;
    background-position: left 20%;
}

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: 55.0rem;
    text-shadow: 0.3rem 0.3rem 0.2rem rgb(0, 0, 0, 0.5);
    text-align: center;
}

/* DIVIDER SECTION START */
.resume-divider {
    width: 100%;
    padding: 2.0rem 0;
    background-color: #1a1a1a;
}
/* DIVIDER SECTION START */


/* RESUME SECTION START */
.resume-resume {
    width: 100%;
    background-image: url(../images/Background\ 3c\ Light.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}

.resume-resume-center {
    width: 130.0rem;
    height: 155.8rem;
    padding: 5.0rem;
    background-color: white;
    justify-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.resume-resume-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;
}

.resume-resume-pdf-viewer {
    display: flex;
    width: 100%;
    max-width: 120.0rem;
    height: 145.0rem;
    justify-self: center;
    background-color: #f5f5f5;
}

.resume-resume-pdf-link {
    display: block;
    margin-top: 2.0rem;
    color: #00ab44;
    font-size: 1.8rem;
    line-height: 2.6rem;
    text-decoration: underline;
}

@media only screen and (max-width: 1350px) {
    .resume-resume-center {
        width: 100%;
    }
}

/* ------ MOBILE VERSION ------ */

@media only screen and (max-width: 600px) {
    body {
        overflow-x: hidden;
        background-size: auto 100vh;
        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;
    }

    .resume-divider {
        padding: 1.5rem 0;
    }

    .resume-resume {
        background-attachment: scroll;
    }

    .resume-resume-center {
        width: 100%;
        height: auto;
        padding: 4.0rem 2.0rem;
    }

    .resume-resume-pdf-viewer {
        width: 100%;
        height: 75svh;
        min-height: 48.0rem;
    }

    .resume-resume-pdf-link {
        margin-top: 1.5rem;
        font-size: 1.6rem;
        line-height: 2.5rem;
        text-align: center;
    }
}

/* ------ MOBILE VERSION (800PX AND UNDER) ------ */
@media only screen and (max-width: 800px) {
    body {
        overflow-x: hidden;
        background-size: auto 100vh;
        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;
    }

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

    .resume-resume {
        background-attachment: scroll;
    }

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

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

    .resume-resume-pdf-viewer {
        width: 100%;
        height: 75svh;
        min-height: 48.0rem;
    }

    .resume-resume-pdf-link {
        margin-top: 1.5rem;
        font-size: 1.6rem;
        line-height: 2.5rem;
        text-align: center;
    }
}

/* ------ 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;
    }

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

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

    .resume-resume-pdf-viewer {
        width: 100%;
        max-width: 112.0rem;
        height: auto;
        min-height: 90.0rem;
        max-height: 145.0rem;
        aspect-ratio: 8.5 / 11;
    }
}

/* ------ 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: 90.0rem;
        font-size: 2.4rem;
        line-height: 3.8rem;
    }

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

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

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

    .resume-resume-pdf-viewer {
        width: 160.0rem;
        max-width: 100%;
        height: auto;
        aspect-ratio: 8.5 / 11;
    }

    .resume-resume-pdf-link {
        margin-top: 3.0rem;
        font-size: 2.2rem;
        line-height: 3.4rem;
    }
}
