* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

body a {
    text-decoration: none;
}

* {
    cursor: url("../media/img/logo-&-nav/cursor.png") 0 0, auto;
}









/* FONTS */

html {
    font-size: 16px;
}

/* PAGE HEADERS */
h1 {
    font-family: "cc-regeneration-variable", sans-serif;
    font-variation-settings: "ital"0, "wght"400;
    /* font-size: 120pt; */
    font-size: 10rem;
    color: #2C1400;
}

/* TEXT BOX HEADERS */
h2 {
    font-family: "cc-regeneration-variable", sans-serif;
    font-variation-settings: "ital"0, "wght"400;
    /* font-size: 60pt; */
    font-size: 5rem;
    color: #2C1400;
}

/* HOME NAV BOX HEADERS */
h3 {
    font-family: "cc-regeneration-variable", sans-serif;
    font-variation-settings: "ital"0, "wght"400;
    /* font-size: 40pt; */
    font-size: 3.3rem;
    color: #2C1400;
}

/* CARD HEADERS */
h4 {
    font-family: "cc-regeneration-variable", sans-serif;
    font-variation-settings: "ital"0, "wght"400;
    /* font-size: 28pt; */
    font-size: 2.3rem;
    color: #2C1400;
    text-transform: uppercase;
}

/* UNDER HEADER SUB HEADERS */
h5 {
    font-family: "museomoderno", sans-serif;
    font-weight: 500;
    font-style: normal;
    /* font-size: 24pt; */
    font-size: 2rem;
    color: #2C1400;
}

/* BUTTONS */
h6 {
    font-family: "museomoderno", sans-serif;
    font-weight: 500;
    font-style: normal;
    /* font-size: 24pt; */
    font-size: 2rem;
    color: #2C1400;
}

/* BODY TEXT */
p {
    font-family: "museomoderno", sans-serif;
    font-weight: 300;
    font-style: normal;
    /* font-size: 18pt; */
    font-size: 1.5rem;
    color: #2C1400;
}

/* FOOTER LINKS */

ul {
    font-family: "museomoderno", sans-serif;
    font-weight: 500;
    font-style: normal;
    /* font-size: 12pt; */
    font-size: 1rem;
    color: #2C1400;
}




/* COLOURS */

/* body {
    background-color: #FDF6E6;
    background-color: #FFEAD5;
background-color: #EBCAA8;
background-color: #C59E76;
background-color: #F1D4B6;

background-color: #2C1400;
background-color: #371B05;
background-color: #562914;
background-color: #84472A;

background-color: #FFE6BB;
background-color: #FFBF53;

background-color: #FFD5C5;
background-color: #F99872;

background-color: #FFD1E4;
background-color: #FF6CB4;

background-color: #F3DCFF;
background-color: #B175D1;

background-color: #D5F2F8;
background-color: #4AABBE;

background-color: #E9E1A5;
background-color: #A09754;
} */



















/* NAVIGATION */

nav {
    height: 100px;
    width: 100%;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
    background-color: rgba(86, 41, 20, 0);
    /* <-- ADD THIS */
}


.nav-button {
    height: 60px;
    width: 200px;
    background-color: #f1d4b6;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
    position: relative;
    z-index: 10000;
}

.nav-button img {
    height: 100%;
}

.nav-logo {
    height: 60px;
    width: 200px;
    background-color: #f1d4b6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10000;
}

.nav-logo img {
    height: 100%;
}

.nav-button,
.nav-logo {
    border-radius: 20px;
    border-color: #562914;
    border-width: 3px;
    border-style: solid;
    box-shadow: 5px 5px 0px rgba(86, 41, 20, 0.8);
}

.home-page .nav-logo {
    visibility: hidden;
}

.nav-button:hover,
.nav-logo:hover {
    transform: scale(1.05);
}




/* NAVIGATION OPEN */

.nav-open {
    width: 100%;
}

.nav-open-content {
    width: 60%;
    background-color: #FDF6E6;
    border-radius: 20px;
    border-style: solid;
    border-width: 5px;
    border-color: #562914;
    box-shadow: 10px 10px 0px rgba(86, 41, 20, 1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    right: 60px;
    top: 100px;
    position: absolute;
    z-index: 888;
    gap: 20px;
}

.nav-r-one,
.nav-r-two,
.nav-r-three {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/* ROW ONE */

.nav-home {
    width: 50%;
    background-color: #d5f2f8;
    border-color: #002f36;
    border-style: solid;
    border-width: 3px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: center;
    padding: 30px;
}

.nav-home h3 {
    padding-bottom: 8px;
    color: #002f36;
}

.nav-home:hover {
    transform: scale(1.02);
}

.nav-about {
    width: 50%;
    background-color: #E9E1A5;
    border-color: #4B5320;
    border-style: solid;
    border-width: 3px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: center;
    padding: 30px;
}

.nav-about h3 {
    padding-bottom: 8px;
    color: #4B5320;
}

.nav-about:hover {
    transform: scale(1.02);
}

/* ROW TWO */

.nav-port {
    width: 100%;
    background-color: #ffd1e4;
    border-color: #A90C51;
    border-style: solid;
    border-width: 3px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: center;
    padding: 20px;
}

.nav-port h3 {
    padding-bottom: 24px;
    color: #A90C51;
    font-size: 6rem;
}

.nav-port:hover {
    transform: scale(1.02);
}

/* ROW THREE */


.nav-con {
    width: 35%;
    background-color: #ffd9ca;
    border-color: #AF340B;
    border-style: solid;
    border-width: 3px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: center;
    padding: 10px;
}

.nav-con h3 {
    padding-bottom: 8px;
    color: #AF340B;
}

.nav-con:hover {
    transform: scale(1.02);
}

.nav-bus {
    width: 65%;
    background-color: #f3dcff;
    border-color: #430A60;
    border-style: solid;
    border-width: 3px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: center;
    padding: 10px;
}

.nav-bus h3 {
    padding-bottom: 8px;
    color: #430A60;
}

.nav-bus:hover {
    transform: scale(1.02);
}


/* open/close */

/* NAV CLOSED BY DEFAULT */
.nav-open {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* NAV OPEN WHEN VISIBLE CLASS ADDED */
.nav-open.visible {
    opacity: 1;
    pointer-events: auto;
}

/* BUTTON DEFAULT */
.nav-button {
    transition: background-color 0.3s ease;
    cursor: pointer;
}

/* BUTTON WHEN NAV IS OPEN */
.nav-button.active {
    background-color: #fdf6e6;
}

.nav-button img {
    pointer-events: none;
}











/* GRUNT & GRIND PROJECT PAGE */

/* HERO SECTION */

.gg-hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* padding-top: 30px; */
    background-color: #ffead5;
    overflow: visible;
    max-height: 800px;
    min-height: 300px;
}

.header {
    width: 100%;
}

.img-head {
    width: 100%;
}

.img-head img {
    width: 100%;
}

.hero-text {
    background-color: #FDF6E6;
    width: 30%;
    text-align: center;
    border-radius: 10px;
    border-color: #562914;
    border-width: 3px;
    border-style: solid;
    box-shadow: 5px 5px 0px rgba(86, 41, 20, 0.8);
    margin-left: 60%;
    margin-top: -3%;
    padding-left: 3%;
    padding-right: 3%;
}

.flower-orange {
    width: 5%;
    margin-left: 50px;
    z-index: 90;
}

.flower-orange img {
    width: 100%;
}



















/* GRUNT PAGE CONTENT */

.grunt-content {
    width: 100%;
    background-image: url(../media/img/backgrounds/yellow-stars.png);
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 45%;
    display: flex;
    flex-direction: column;
    gap: 10vh;
    background-attachment: fixed;
}

.row {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 4vw;
    padding-left: 4vw;
    padding-right: 4vw;
}

/* ROW ONE */

.about-card {
    width: 35%;
    height: 100%;
    background-color: #FDF6E6;
    border-radius: 20px;
    border-style: solid;
    border-width: 5px;
    border-color: #562914;
    box-shadow: 10px 10px 0px rgba(86, 41, 20, 0.8);
    padding: 30px;
}

.r-one-right {
    width: 65%;
    height: 80%;
}

.r-one-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border-style: solid;
    border-width: 5px;
    border-color: #562914;
    box-shadow: 10px 10px 0px rgba(86, 41, 20, 0.8);
}

.r-one-decor {
    width: 25%;
    position: absolute;
    right: 5%;
    margin-top: 35%;
    transform: rotate(350deg);
}

.r-one-decor img {
    width: 100%;
}

/* ROW TWO */

.flip-book {
    width: 100%;
    height: 100%;
    padding-top: 4vh;
    padding-left: 4vw;
    padding-right: 4vw;
    overflow: hidden;
}

/* ROW THREE */

.blurb-card {
    width: 100%;
    height: 100%;
    background-color: #FDF6E6;
    border-radius: 20px;
    border-style: solid;
    border-width: 5px;
    border-color: #562914;
    box-shadow: 10px 10px 0px rgba(86, 41, 20, 0.8);
    padding: 30px;
    margin-right: 160px;
    display: flex;
    flex-direction: row;
    padding-bottom: 0;
    /* max-height: 950px;
    min-height: 800px; */
}

.text h6 {
    margin-bottom: 12px;
}

.text p {
    margin-bottom: 40px;
    margin-left: 10px;
}

.r-three-right {
    width: 50%;
    position: absolute;
    right: 0;
    margin-top: 15%;
}

.r-three-right img {
    width: 100%;
}

.r-three-decor {
    width: 15%;
    position: absolute;
    margin-top: -12%;
    margin-left: 2%;
    transition: transform 1.4s ease-in-out;
    transform: rotate(340deg);
}

.r-three-decor img {
    width: 100%;
}

.r-three-decor:hover {
    transform: rotate(359deg) scale(1.2);
}

.digger-padding {
    margin-right: 37%;
}




/* ROW FOUR */

.r-four-left {
    width: 40%;
    height: 35%;
}

.r-four-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border-style: solid;
    border-width: 5px;
    border-color: #562914;
    box-shadow: 10px 10px 0px rgba(86, 41, 20, 0.8);
}

.r-four-right {
    width: 60%;
    height: 45%;
}

.r-four-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border-style: solid;
    border-width: 5px;
    border-color: #562914;
    box-shadow: 10px 10px 0px rgba(86, 41, 20, 0.8);
}

.r-four-decor {
    width: 35%;
    position: absolute;
    margin-top: 22%;
    transform: rotate(2deg);
}


.r-four-decor img {
    width: 100%;
}




/* ROW FIVE */


.r-five-left {
    width: 60%;
}

.row-five {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 4vw;
    padding-left: 4vw;
    padding-right: 4vw;
}

.blurb-card {
    width: 100%;
    height: 100%;
    background-color: #FDF6E6;
    border-radius: 20px;
    border-style: solid;
    border-width: 5px;
    border-color: #562914;
    box-shadow: 10px 10px 0px rgba(86, 41, 20, 0.8);
    padding: 30px;
}

.r-five-left img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    border-style: solid;
    border-width: 5px;
    border-color: #562914;
    box-shadow: 10px 10px 0px rgba(86, 41, 20, 0.8);
}

.r-five-right {
    width: 40%;
    height: 100%;
}

.r-five-right img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    border-style: solid;
    border-width: 5px;
    border-color: #562914;
    box-shadow: 10px 10px 0px rgba(86, 41, 20, 0.8);
}

.r-five-decor {
    width: 30%;
    position: absolute;
    margin-top: 25%;
    margin-left: 15%;
    transform: rotate(350deg);
    transition: transform 1.4s ease-in-out;
}

.r-five-decor img {
    width: 100%;
}

.r-five-decor:hover {
    transform: rotate(360deg) scale(1.2);
}

.r-five-right .blurb-card {
    padding-bottom: 0;
}



















/* FOOTER */

footer {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin-top: -600px;
}

.footer-imgs {
    width: 100%;
}

.footer-imgs img {
    width: 120%;
}

.bottom-links ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    color: #fdf6e6;
    background-color: #252B07;
    padding-top: 30px;
    padding-bottom: 20px;
    padding-left: 120px;
    padding-right: 120px;
    margin-top: -10px;
    text-transform: uppercase;
}


















/* TOP BUTTON */

#back-to-top {
    display: none;
    bottom: 75px;
    right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    background-color: #f3dcff;
    border-style: solid;
    border-radius: 10px;
    border-width: 3px;
    border-color: #723194;
    box-shadow: 5px 5px 0px rgba(114, 49, 148, 0.8);
    text-align: center;
    position: fixed;
    z-index: 9999;
    transition: transform 0.2s ease;
    font-family: "museomoderno", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16pt;
    color: #2C1400;
    transition: transform 0.3s ease-in-out;
}

#back-to-top.show {
    display: block;
    opacity: 1;
}

#back-to-top:hover {
    transform: scale(1.05);
}

















/* MEDIA QUERIES 991 */

@media only screen and (max-width: 992px) {

    h1 {
        font-size: 70pt;
    }

    p {
        font-size: 16pt;
    }

    h2 {
        font-size: 40pt;
    }

    h3 {
        font-size: 30pt;
    }

    h4 {
        font-size: 20pt;
    }

    /* NAV */

    nav {
        padding: 2% 3%;
    }

    .nav-button,
    .nav-logo {
        height: 50px;
        width: 150px;
        border-radius: 15px;
    }

    .nav-open-content {
        width: 80%;
        right: 3%;
    }

    /* HERO */

    .hero-text h5 {
        font-size: 18pt;
    }

    /* CONTENT */

    .grunt-content {
        padding-bottom: 65%;
    }

    .row {
        flex-direction: column;
    }

    .about-card {
        width: 100%;
    }

    .r-one-right {
        width: 100%;
    }

    .r-three-right {
        margin-top: -10%;
        right: -2%;
    }

    .r-three-decor {
        right: 2%;
        margin-top: 90%;
        width: 30%;
    }

    .r-four-left {
        width: 100%;
        height: 100%;
    }

    .r-four-right {
        width: 100%;
        height: 55vh;
    }

    .r-four-decor {
        margin-top: 95%;
    }

    .r-five-decor {
        width: 40%;
        margin-left: 20%;
    }

    .digger-padding {
        margin-right: 40%;
    }

    /* FOOTER */

    .footer {
        margin-top: -400px;
    }

    .bottom-links ul {
        display: flex;
        flex-wrap: wrap;
        padding-left: 80px;
        padding-right: 200px;
        gap: 30px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

}


/* MEDIA QUERIES 1920 */

@media only screen and (min-width: 1900px) {

    .hero {
        min-height: 800px;
        max-height: 1000px;
    }

    .r-three-right {
        position: absolute;
        right: 0;
        margin-top: 8%;
    }

    .r-five-decor {
        margin-top: 23%;
    }

    .r-four-decor {
        margin-top: 20%;
        width: 40%;
    }

    .grunt-content {
        padding-bottom: 35%;
    }




}

@media only screen and (max-width: 1440px) {

    .r-five-decor {
        margin-top: 28%;
    }

    .r-three-right {
        margin-top: 30%;
    }

}