body {
    background-image: url(../images/HeroBackgroundwithCircuits.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 120%;
    background-position: center;
}

main {
    width: 100%;
    height: calc(100vh - 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: 2.4rem;
    line-height: 3.6rem;
    max-width: 70.0rem;
    text-shadow: 0.3rem 0.3rem 0.2rem rgb(0, 0, 0, 0.5);
    text-align: center;
}

/* main .main-intro a {
    margin-top: 25px;
    font-size: 18px;
    line-height: 30px;
    display: block;
    color: #00ab44;
    border: solid 2px #00ab44;
    padding: 0px 10px;
    width: fit-content;
    transition-duration: 0.35s;
    transition-property: all;
    transition-behavior: ease;
    transition-delay: 0s;
}

main .main-intro a:hover, main .main-intro a:active {
    background-color: #00ab44;
    color: rgb(0, 0, 0, 0);
    border: solid 2px #00ab44
} */

/* ABOUT SECTION START */
.index-about {
    width: 100%;
    padding: 5.0rem 0;
    background-color: #1a1a1a;
}
.index-about h2 {
    width: 120.0rem;
    color: white;
    text-transform: uppercase;
    font-size: 5.0rem;
    text-align: center;
    flex-basis: 100%;
    border-bottom: solid 0.6rem #00ab44;
    padding-bottom: 2.0rem;
    justify-self: center;
}
.index-about-content {
    padding-top: 4.0rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.index-about-content-text p {
    color: white;
    font-size: 1.8rem;
    line-height: 2.6rem;
    max-width: 70.0rem;
    padding-left: 4.0rem;
}
.index-about-content-image {
    width: 40.0rem;
    height: 40.0rem;
    background-image: url(../images/Avery\ PFP.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 13%;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 60.0rem;
}
/* ABOUT SECTION END */


/* HIGHLIGHTS SECTION START */
.index-highlights {
    width: 100%;
    background-image: url(../images/Background\ 3c\ Light.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}

.index-highlights-center {
    width: 130.0rem;
    height: 155.8rem;
    background-color: white;
    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;
}

.index-highlights-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;
}
/* Per Project */
.index-highlights-center-proj {
    padding: 4.0rem 5.0rem;
    display: flex;
    justify-content: space-between;
    gap: 5.0rem;
    align-items: center;
}

.index-highlights-center-proj-textbox {
    width: 60.0rem;
    max-width: 60.0rem;
}

.index-highlights-center-proj-textbox h3 {
    color: #111111;
    font-size: 3.0rem;
    line-height: 4.0rem;
}

.index-highlights-center-proj-textbox p {
    color: #111111;
    font-size: 1.8rem;
    line-height: 2.6rem;
}

.index-highlights-center-proj-image {
    width: 80.0rem;
    height: 40.0rem;
    background-image: url(../images/HeroBackground.png);
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
    position: relative;
}

.index-highlights-center-proj-image1 {
    background-image: url(../images/Portfolio/webp/website.webp);
}

.index-highlights-center-proj-image2 {
    background-image: url(../images/Portfolio/webp/Compiled\ Website\ Thumbnail.webp);
    background-position: center 50%;
}

.index-highlights-center-proj-image3 {
    background-image: url(../images/Portfolio/webp/PHMAgenda.webp);
    background-position: center 50%;
}


.index-highlights-center-proj-image:hover .starting-transparent-overlay {
    background-color: rgba(255, 255, 255, 0.35);
}
/* HIGHLIGHTS SECTION END */


/* CATEGORY SECTION START */
.index-category {
    width: 100%;
    padding: 5.0rem 0;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    row-gap: 5.0rem;
    align-items: center;
}

.index-category h2 {
    width: 120.0rem;
    color: white;
    text-transform: uppercase;
    font-size: 5.0rem;
    text-align: center;
    flex-basis: 100%;
    border-bottom: solid 0.6rem #00ab44;
    padding-bottom: 2.0rem;
}

.index-category-box {
    width: 120.0rem;
    height: 25.0rem;
    background-color: #111111;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all ease-in-out 200ms;
}

.index-category-box:nth-child(2) {
    background-image: url(../images/Portfolio/webp/Website\ Portfolio\ Header.webp);
    background-position: center 40%;
}

.index-category-box:nth-child(3) {
    background-image: url(../images/PhotosCategoryPicture.png);
    background-position: center 50%;
}

.index-category-box:nth-child(4) {
    background-image: url(../images/VirtualPhotosCategoryPicture.png);
    background-position: center 85%;
}

.starting-dark-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgb(0, 0, 0, 0.6);
    transition: all ease-in-out 200ms;
}

.index-category-box:hover .starting-dark-overlay {
    background-color: rgb(0, 0, 0, 0.2);
}

.index-category-box h3 {
    font-size: 4.0rem;
    line-height: 4.4rem;
    text-shadow: 0.3rem 0.3rem 0.2rem rgb(0, 0, 0, 0.2);
    z-index: 100;
}
/* CATEGORY SECTION END */


/* CONTACT SECTION START */
.index-contact {
    width: 100%;
    background-image: url(../images/Background\ 3c\ Light.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}

.index-contact-center {
    width: 130.0rem;
    height: auto;
    background-color: white;
    justify-self: center;
}

.index-contact-center h2 {
    width: 120.0rem;
    color: #111111;
    text-transform: uppercase;
    font-size: 5.0rem;
    text-align: center;
    flex-basis: 100%;
    border-bottom: solid 6px #00ab44;
    padding-top: 5.0rem;
    padding-bottom: 2.0rem;
    justify-self: center;
}

.index-contact-center p {
    color: #111111;
    font-size: 1.8rem;
    line-height: 2.6rem;
    max-width: 120.0rem;
    padding-top: 4.0rem;
    text-align: center;
    justify-self: center;
}

.index-contact-logo {
    display: block;
    width: 30.0rem;
    height: auto;
    margin-bottom: 3.0rem;
    justify-self: center;
}

/* Contact Section Buttons */
.index-contact-buttons-box {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 120.0rem;
    padding-top: 3rem;
    justify-self: center;
}
/* Buttons themselves */
.index-contact-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4.0rem;
    width: 40.0rem; 
    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;
}
/* Hover (Not Active) background color for button */
.index-contact-button:hover:not(.active){
    background-color: #00ab44;
    color: white;
}

@media only screen and (min-width: 801px) {
    .index-contact-center {
        padding: 5.0rem;
    }

    .index-contact-center h2 {
        width: 100%;
        padding-top: 0;
    }

    .index-contact-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: clamp(3.0rem, 5vw, 7.0rem);
        width: 100%;
        padding-top: 4.0rem;
    }

    .index-contact-text p {
        max-width: none;
        padding-top: 0;
    }

    .index-contact-buttons-box {
        width: 100%;
        max-width: none;
        flex-direction: column;
    }

    .index-contact-button {
        width: 100%;
    }

    .index-contact-photo {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
    }

    .index-contact-photo img {
        display: block;
        width: 100%;
        height: clamp(42.0rem, 45vw, 70.0rem);
        object-fit: contain;
    }
}




/* ------ MOBILE VERSION ------ */
@media only screen and (max-width: 800px) {

    body {
        overflow-x: hidden;
        background-size: auto 100vh;
        background-position: center top;
    }

    main {
        min-height: calc(100svh - 5rem);
        height: auto;
        margin-top: 5rem;
        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: 2.4rem;
        line-height: 2.3rem;
    }

    .index-about,
    .index-category {
        padding: 4.0rem 2.0rem;
    }

    .index-about h2,
    .index-highlights-center h2,
    .index-category h2,
    .index-contact-center h2 {
        width: 100%;
        padding-top: 0;
        padding-bottom: 1.5rem;
        font-size: 3.4rem;
        line-height: 4.0rem;
        border-bottom-width: 0.4rem;
    }

    .index-about-content {
        padding-top: 3.0rem;
        flex-direction: column;
        gap: 3.0rem;
    }

    .index-about-content-image {
        width: min(78vw, 32.0rem);
        height: min(78vw, 32.0rem);
        flex: 0 0 auto;
    }

    .index-about-content-text p {
        max-width: 44.0rem;
        padding-left: 0;
        font-size: 1.6rem;
        line-height: 2.5rem;
    }

    .index-highlights,
    .index-contact {
        background-attachment: scroll;
    }

    .index-highlights-center {
        width: 100%;
        height: auto;
        padding: 4.0rem 2.0rem;
    }

    .index-highlights-center-proj {
        padding: 3.0rem 0;
        flex-direction: column;
        gap: 2.0rem;
        align-items: stretch;
    }

    .index-highlights-center-proj + .index-highlights-center-proj {
        border-top: 0.1rem solid #d8d8d8;
    }

    .index-highlights-center-proj-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        order: -1;
    }

    .index-highlights-center-proj-textbox {
        width: 100%;
        max-width: none;
    }

    .index-highlights-center-proj-textbox h3 {
        font-size: 2.5rem;
        line-height: 3.2rem;
    }

    .index-highlights-center-proj-textbox p {
        margin-top: 0.8rem;
        font-size: 1.6rem;
        line-height: 2.5rem;
    }

    .index-category {
        row-gap: 2.5rem;
    }

    .index-category-box {
        width: 100%;
        height: auto;
        min-height: 18.0rem;
    }

    .index-category-box h3 {
        padding: 2.0rem;
        font-size: 3.0rem;
        line-height: 3.6rem;
        text-align: center;
    }

    .index-contact-center {
        width: 100%;
        height: auto;
        padding: 4.0rem 2.0rem;
    }

    .index-contact-center p {
        max-width: 44.0rem;
        padding-top: 3.0rem;
        font-size: 1.6rem;
        line-height: 2.5rem;
    }

    .index-contact-buttons-box {
        width: 100%;
        padding-top: 2.5rem;
        flex-direction: column;
        gap: 1.2rem;
    }

    .index-contact-button {
        width: 100%;
        min-height: 4.8rem;
        border: 0.2rem solid #00ab44;
    }

    .index-contact-photo {
        width: 100%;
        max-width: 44.0rem;
        margin: 3.0rem auto 0;
    }

    .index-contact-photo img {
        display: block;
        width: 100%;
        height: auto;
    }

    .index-contact-logo {
        width: 10.0rem;
        margin: 0 auto 2.5rem;
    }
}

/* ------ 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 {
        width: 100%;
    }

    main .main-intro h1 {
        max-width: 11em;
        font-size: clamp(7.2rem, 8vw, 9.6rem);
        line-height: 1.08;
    }

    .index-about,
    .index-category {
        padding: 5.0rem clamp(3.0rem, 4vw, 5.0rem);
    }

    .index-about h2,
    .index-highlights-center h2,
    .index-category h2,
    .index-contact-center h2 {
        width: 100%;
        max-width: 120.0rem;
    }

    .index-about-content {
        width: 100%;
        max-width: 120.0rem;
        margin: 0 auto;
    }

    .index-about-content-image {
        width: clamp(26.0rem, 30vw, 38.0rem);
        height: clamp(26.0rem, 30vw, 38.0rem);
        flex: 0 0 auto;
    }

    .index-about-content-text {
        min-width: 0;
        flex: 1;
    }

    .index-about-content-text p {
        max-width: none;
        padding-left: clamp(2.5rem, 4vw, 4.0rem);
        font-size: clamp(1.6rem, 1.4vw, 1.8rem);
        line-height: 1.5;
    }

    .index-highlights-center {
        width: 100%;
        height: auto;
        padding: 5.0rem clamp(3.0rem, 4vw, 5.0rem);
    }

    .index-highlights-center h2 {
        padding-top: 0;
    }

    .index-highlights-center-proj {
        padding: 4.0rem 0;
        gap: clamp(2.4rem, 3vw, 5.0rem);
    }

    .index-highlights-center-proj-textbox {
        width: auto;
        max-width: none;
        flex: 0 1 42%;
    }

    .index-highlights-center-proj-textbox h3 {
        font-size: clamp(2.4rem, 2.5vw, 3.0rem);
        line-height: 1.3;
    }

    .index-highlights-center-proj-textbox p {
        font-size: clamp(1.5rem, 1.4vw, 1.8rem);
        line-height: 1.5;
    }

    .index-highlights-center-proj-image {
        width: auto;
        height: auto;
        aspect-ratio: 16 / 9;
        flex: 1 1 58%;
    }

    .index-category-box {
        width: 100%;
        max-width: 120.0rem;
    }

    .index-contact-center {
        width: 100%;
        height: auto;
        padding: 5.0rem clamp(3.0rem, 4vw, 5.0rem);
    }

    .index-contact-center h2 {
        padding-top: 0;
    }

    .index-contact-center p,
    .index-contact-buttons-box {
        width: 100%;
        max-width: 120.0rem;
    }

    .index-contact-buttons-box {
        padding-bottom: 1.0rem;
    }

    .index-contact-button {
        width: 100%;
        min-height: 4.8rem;
        flex: none;
        border: 0.2rem solid #00ab44;
    }
}

/* ------ ULTRA-WIDE VERSION ------ */
@media only screen and (min-width: 2561px) {
    body {
        background-size: cover;
    }

    main {
        height: calc(100vh - 8.0rem);
        margin-top: 8.0rem;
    }

    main .main-intro {
        width: 100%;
    }

    main .main-intro h1 {
        max-width: 160.0rem;
        font-size: clamp(11.0rem, 5vw, 15.0rem);
        line-height: 1.08;
    }

    main .main-intro p {
        margin-top: 2.0rem;
        font-size: 3.2rem;
        line-height: 4.2rem;
    }

    .index-about,
    .index-category {
        padding: 8.0rem 0;
    }

    .index-about h2,
    .index-category h2 {
        width: min(calc(100% - 16.0rem), 180.0rem);
        padding-bottom: 3.0rem;
        font-size: 6.4rem;
        line-height: 7.2rem;
        border-bottom-width: 0.8rem;
    }

    .index-about-content {
        width: min(calc(100% - 16.0rem), 180.0rem);
        margin: 0 auto;
        padding-top: 6.0rem;
    }

    .index-about-content-image {
        width: 50.0rem;
        height: 50.0rem;
        flex: 0 0 auto;
    }

    .index-about-content-text {
        flex: 1;
    }

    .index-about-content-text p {
        max-width: 110.0rem;
        padding-left: 8.0rem;
        font-size: 2.2rem;
        line-height: 3.4rem;
    }

    .index-highlights-center {
        width: min(100%, 190.0rem);
        height: auto;
        padding: 8.0rem 5.0rem;
    }

    .index-highlights-center h2 {
        width: 100%;
        padding-top: 0;
        padding-bottom: 3.0rem;
        font-size: 6.4rem;
        line-height: 7.2rem;
        border-bottom-width: 0.8rem;
    }

    .index-highlights-center-proj {
        padding: 6.0rem 0;
        gap: 8.0rem;
    }

    .index-highlights-center-proj-textbox {
        width: 65.0rem;
        max-width: 65.0rem;
        flex: 0 0 auto;
    }

    .index-highlights-center-proj-textbox h3 {
        font-size: 4.2rem;
        line-height: 5.2rem;
    }

    .index-highlights-center-proj-textbox p {
        font-size: 2.2rem;
        line-height: 3.4rem;
    }

    .index-highlights-center-proj-image {
        width: 105.0rem;
        height: 52.5rem;
        flex: 0 0 auto;
    }

    .index-category {
        row-gap: 7.0rem;
    }

    .index-category-box {
        width: min(calc(100% - 16.0rem), 180.0rem);
        height: 35.0rem;
    }

    .index-category-box h3 {
        font-size: 5.4rem;
        line-height: 6.2rem;
    }

    .index-contact-center {
        width: min(100%, 190.0rem);
        height: auto;
        padding: 8.0rem 5.0rem;
    }

    .index-contact-center h2 {
        width: 100%;
        padding-top: 0;
        padding-bottom: 3.0rem;
        font-size: 6.4rem;
        line-height: 7.2rem;
        border-bottom-width: 0.8rem;
    }

    .index-contact-center p {
        width: 100%;
        max-width: 180.0rem;
        padding-top: 5.0rem;
        font-size: 2.2rem;
        line-height: 3.4rem;
    }

    .index-contact-buttons-box {
        width: 100%;
        max-width: 180.0rem;
        padding-top: 4.0rem;
        gap: 3.0rem;
    }

    .index-contact-button {
        width: 60.0rem;
        height: 6.0rem;
        font-size: 2.4rem;
        line-height: 4.0rem;
        border: 0.3rem solid #00ab44;
    }
}
