* {
    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: 70pt;
}

.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;
}



















/* LOADING PAGE */

#loading-screen {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    background-image: url(../media/img/backgrounds/home.png);
    background-size: cover;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

#main {
    display: none;
}

/* .loading {
    display: grid;
    place-items: center;
    margin: 0;
} */

.loading-img {
    width: 60%;
    padding-bottom: 5px;
    text-align: center;
    gap: 5%;
}

.loading-img img {
    width: 100%;
}


.falling-flowers {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999;
}

/* Sizes */
.small {
    width: 20px;
}

.medium {
    width: 40px;
}

.large {
    width: 60px;
}

/* Color = spin direction */
.o {
    --spin-direction: -1;
}

.p {
    --spin-direction: 1;
}

.flower {
    position: absolute;
    top: -10%;
    opacity: 0.8;
    transform-origin: center;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* FALL ANIMATION */
@keyframes fall {
    10% {
        transform: translateX(0) rotate(10deg);
        top: -15%;
        opacity: 1;
    }

    50% {
        transform: translateX(var(--drift, 30px)) rotate(calc(90deg * var(--spin-direction)));
        opacity: 1;
    }

    100% {
        transform: translateX(calc(var(--drift, 30px) * -1)) rotate(calc(180deg * var(--spin-direction)));
        top: 110%;
        opacity: 1;
    }
}

/* RANDOMIZE EACH FLOWER */
.falling-flowers .flower:nth-child(1) {
    --drift: 20px;
    animation-duration: 12s;
    animation-delay: 0s;
    left: 2%;
}

.falling-flowers .flower:nth-child(2) {
    --drift: 35px;
    animation-duration: 15s;
    animation-delay: 1.5s;
    left: 8%;
}

.falling-flowers .flower:nth-child(3) {
    --drift: 25px;
    animation-duration: 18s;
    animation-delay: 0.5s;
    left: 15%;
}

.falling-flowers .flower:nth-child(4) {
    --drift: 40px;
    animation-duration: 14s;
    animation-delay: 0s;
    left: 22%;
}

.falling-flowers .flower:nth-child(5) {
    --drift: 30px;
    animation-duration: 16s;
    animation-delay: 1.2s;
    left: 28%;
}

.falling-flowers .flower:nth-child(6) {
    --drift: 25px;
    animation-duration: 19s;
    animation-delay: 0.8s;
    left: 35%;
}

.falling-flowers .flower:nth-child(7) {
    --drift: 20px;
    animation-duration: 17s;
    animation-delay: 3s;
    left: 42%;
}

.falling-flowers .flower:nth-child(8) {
    --drift: 38px;
    animation-duration: 12s;
    animation-delay: 2.3s;
    left: 48%;
}

.falling-flowers .flower:nth-child(9) {
    --drift: 28px;
    animation-duration: 15s;
    animation-delay: 1.7s;
    left: 55%;
}

.falling-flowers .flower:nth-child(10) {
    --drift: 35px;
    animation-duration: 18s;
    animation-delay: 0.9s;
    left: 60%;
}

.falling-flowers .flower:nth-child(11) {
    --drift: 22px;
    animation-duration: 13s;
    animation-delay: 1.1s;
    left: 5%;
}

.falling-flowers .flower:nth-child(12) {
    --drift: 36px;
    animation-duration: 16s;
    animation-delay: 2.4s;
    left: 18%;
}

.falling-flowers .flower:nth-child(13) {
    --drift: 30px;
    animation-duration: 20s;
    animation-delay: 0.3s;
    left: 26%;
}

.falling-flowers .flower:nth-child(14) {
    --drift: 25px;
    animation-duration: 14s;
    animation-delay: 1.9s;
    left: 38%;
}

.falling-flowers .flower:nth-child(15) {
    --drift: 40px;
    animation-duration: 17s;
    animation-delay: 0.5s;
    left: 50%;
}

.falling-flowers .flower:nth-child(16) {
    --drift: 28px;
    animation-duration: 18s;
    animation-delay: 2.2s;
    left: 63%;
}

.falling-flowers .flower:nth-child(17) {
    --drift: 32px;
    animation-duration: 15s;
    animation-delay: 1.6s;
    left: 72%;
}

.falling-flowers .flower:nth-child(18) {
    --drift: 35px;
    animation-duration: 19s;
    animation-delay: 0.8s;
    left: 80%;
}

.falling-flowers .flower:nth-child(19) {
    --drift: 24px;
    animation-duration: 21s;
    animation-delay: 2.5s;
    left: 88%;
}

.falling-flowers .flower:nth-child(20) {
    --drift: 38px;
    animation-duration: 16s;
    animation-delay: 1.4s;
    left: 95%;
}



















/* HOME HERO SECTION */

.home-hero {
    /* background-color: #ffead5; */
    background-image: url(../media/img/backgrounds/home.png);
    background-size: cover;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    gap: 2vw;
}

.hero-left {
    width: 70%;
    height: 100%;
    margin-top: 10%;
}

.hero-left img {
    width: 100%;
}

.hero-right {
    width: 30%;
    height: 100%;
    margin-top: 8%;
}

.hero-right img {
    width: 100%;
}

.hero-left h5 {
    background-color: #FDF6E6;
    width: 60%;
    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: 40%;
    margin-top: -5%;
    padding-left: 3%;
    padding-right: 3%;
}



















/* HOME CONTENT */

.home-content {
    width: 100%;
    height: 100%;
    background-image: url(../media/img/backgrounds/yellow-stars.png);
    background-size: cover;
    padding-left: 4vw;
    padding-right: 4vw;
    padding-top: 10vh;
    padding-bottom: 30%;
    display: flex;
    gap: 4vw;
    background-attachment: fixed;
}

.home-content-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 8vh;
}

.home-content-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 8vh;
}





/* LEFT */

/* NAV LINK CARDS */
.about-link-card {
    width: 100%;
    background-image: url(../media/img/decorations/about-flowers.png);
    background-size: cover;
    border-color: #430A60;
    padding-left: 30px;
    padding-top: 5px;
    padding-bottom: 15px;
    border-style: solid;
    border-width: 5px;
    border-radius: 20px;
    display: flex;
    box-shadow: 10px 10px 0px rgba(67, 10, 96, 0.8);
    transition: transform 0.3s ease-in-out;
}

.portfolio-link-card {
    width: 100%;
    background-image: url(../media/img/decorations/portfolio-flowers.png);
    background-size: cover;
    border-color: #A90C51;
    padding-left: 30px;
    padding-top: 5px;
    padding-bottom: 15px;
    border-style: solid;
    border-width: 5px;
    border-radius: 20px;
    display: flex;
    box-shadow: 10px 10px 0px rgba(169, 12, 81, 0.8);
    transition: transform 0.3s ease-in-out;
}

.contact-link-card {
    width: 100%;
    background-image: url(../media/img/decorations/contact-flowers.png);
    background-size: cover;
    border-color: #832100;
    padding-left: 30px;
    padding-top: 5px;
    padding-bottom: 15px;
    border-style: solid;
    border-width: 5px;
    border-radius: 20px;
    display: flex;
    box-shadow: 10px 10px 0px rgba(131, 33, 0, 0.8);
    transition: transform 0.3s ease-in-out;
}

.contact-link-card:hover,
.portfolio-link-card:hover,
.about-link-card:hover {
    transform: scale(1.05);
}





/* GRUNT & GRIND CARD HOME */

.gg-link-card {
    width: 100%;
    background-color: #ffd5c5;
    border-color: #832100;
    border-style: solid;
    border-width: 5px;
    border-radius: 20px;
    box-shadow: 10px 10px 0px rgba(131, 33, 0, 0.8);
    transition: transform 0.3s ease-in-out;
}

.gg-link-card:hover {
    transform: scale(1.02);
}

.showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border-color: #832100;
    border-style: solid;
}

.showcase-img {
    padding: 30px;
}

.link-card-header {
    background-color: #F99872;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding-left: 30px;
    padding-top: 2px;
    padding-bottom: 10px;
}





/* BLURB CARD */

.blurb-card {
    width: 100%;
    /* height: 400px; */
    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-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

.blurb-card h3 {
    padding-bottom: 15px;
    padding-top: 15px;
}

.blurb-card h2 {
    padding-bottom: 15px;
}

.blurb-card p {
    padding-left: 10px;
    padding-right: 10px;
}






/* HOME PERSONAL ART CARD */

.pa-link-card {
    width: 100%;
    background-color: #ffd1e4;
    border-color: #A90C51;
    padding-top: 0px;
    border-style: solid;
    border-width: 5px;
    border-radius: 20px;
    box-shadow: 10px 10px 0px rgba(169, 12, 81, 0.8);
    transition: transform 0.3s ease-in-out;
}

.pa-link-card:hover {
    transform: scale(1.02);
}

.pa-link-card-header {
    background-color: #FF6CB4;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding-left: 30px;
    padding-top: 2px;
    padding-bottom: 10px;
}

.pa-showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border-color: #A90C51;
    border-style: solid;
}

.pa-showcase-img {
    padding: 30px;
}





/* RIGHT */

/* SHARK CARD HOME */

.shark-link-card {
    width: 100%;
    background-color: #E9E1A5;
    border-color: #4B5320;
    padding-top: 0px;
    border-style: solid;
    border-width: 5px;
    border-radius: 20px;
    box-shadow: 10px 10px 0px rgba(75, 83, 32, 0.8);
    transition: transform 0.3s ease-in-out;
}

.shark-link-card:hover {
    transform: scale(1.02);
}

.shark-link-card-header {
    background-color: #A09754;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding-left: 30px;
    padding-top: 2px;
    padding-bottom: 10px;
}

.shark-showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border-color: #4B5320;
    border-style: solid;
}

.shark-showcase-img {
    padding: 30px;
}





/* HORNS & HALO CARD HOME*/

.hh-link-card {
    width: 100%;
    background-color: #FFE6BB;
    border-color: #84472A;
    padding-top: 0px;
    border-style: solid;
    border-width: 5px;
    border-radius: 20px;
    box-shadow: 10px 10px 0px rgba(132, 71, 44, 0.8);
    transition: transform 0.3s ease-in-out;
}

.hh-link-card:hover {
    transform: scale(1.02);
}

.hh-link-card-header {
    background-color: #FFBF53;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding-left: 30px;
    padding-top: 2px;
    padding-bottom: 10px;
}

.hh-showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border-color: #84472A;
    border-style: solid;
}

.hh-showcase-img {
    padding: 30px;
}





/* Flowers */

.flower-decor {
    margin-top: 100px;
    margin-left: 100px;
    width: 20%;
}

.flower-decor img {
    width: 100%;
}

.flower-decor-right {
    margin-left: 400px;
    width: 30%;
}

.flower-decor-right img {
    width: 100%;
}





/* HOME FOOTER */

.home-footer {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin-top: -40%;
}

.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;
}

.footer-imgs {
    width: 100%;
}

.footer-imgs img {
    width: 100%;
}



















/* 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 only screen and (max-width: 1440px) {

    .item {
        width: 90px;
    }
}






/* 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%;
    }

    /* INDEX */

    .loader {
        height: 30px;
        border-radius: 5px;
    }

    .loading-img h5 {
        font-size: 20pt;
    }

    @keyframes loading {
        from {
            transform: translate(-40px);
        }

        to {
            transform: translate(300px);
        }
    }

    .item {
        width: 60px;
    }

    /* HOME */

    /* HERO */

    .home-hero {
        gap: 4vw;
    }

    .hero-left h5 {
        font-size: 18pt;
    }

    .hero-left {
        margin-top: 15vh;
    }

    .hero-right {
        margin-top: 10%;
    }



    /* CONTENT */

    .about-link-card,
    .portfolio-link-card,
    .contact-link-card {
        height: 16vh;
    }

    .about-link-card h3,
    .portfolio-link-card h3,
    .contact-link-card h3 {
        font-size: 28pt;
    }

    p {
        font-size: 16pt;
    }

    h2 {
        font-size: 40pt;
    }

    h3 {
        font-size: 30pt;
    }

    h4 {
        font-size: 20pt;
    }

    .blurb-card {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
    }

    .link-card-header,
    .pa-link-card-header,
    .shark-link-card-header,
    .hh-link-card-header {
        padding-left: 20px;
    }

    .pa-showcase-img,
    .showcase-img,
    .shark-showcase-img,
    .hh-showcase-img {
        padding: 20px;
    }

    .flower-decor {
        margin-left: 50px;
    }

    .flower-decor-right {
        margin-left: 250px;
    }

    /* FOOTER */

    .home-footer {
        margin-top: -40%;
    }

    .bottom-links ul {
        display: flex;
        flex-wrap: wrap;
        padding-left: 80px;
        padding-right: 200px;
        gap: 30px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

}