/*********************************************

Styling so my page looks beautiful

**********************************************/

/* Libre Baskerville */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* Sora */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100;200;300;400;500;600;700;800&display=swap');

/* Kantumruy Pro */
@import url('https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

/* Albert Sans */
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img,
video {
    pointer-events: none;
}

:root {
    /* Fonts */
    --body-font: 'Albert Sans', sans-serif;
    /* --body-font: 'Kantumruy Pro', sans-serif; */
    --body-font: 'Sora', sans-serif;
    --heading-font: 'Libre Baskerville', serif;
    --title-font: 'Libre Baskerville', serif;
    /* colors */
    --hero-green: #E9F7DE;
    --hero-green: #D8EFC4;
    --canvas-green: #EBFFDA;
    --light-green: #E9F7DE;
    --light-beige: #FFFFF3;
    --light-grey: #F4EFEA;
    --beige: #FFF3E4;
    --polaroid-color: #EBFFDA;
    --old-polaroid-color: #F3EEE8;
    --lime-green: #D8EFC4;
    --mid-green: #638D28;
    --dark-green: #506635;
    --dark-grey: #757575;


    /* unused colors */
    --some-kind-of-beige: #FFFFF3;
    --summer-green: #C9EFA9;
    --light-blue: #DAFFFE;
    --very-light-blue: #EAFFFF;
    --very-light-green: #F0FFE3;
    --turquoise: #5B9F9D;
    --sand-brown: #C09F5B;

    --pointer: url('../assets/images/index/cursor-pointer.webp'), pointer;
}


body {
    font-family: var(--body-font);

    /* Set a custom cursor */
    cursor: url('../assets/images/index/cursor.webp'), auto;
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-family: var(--heading-font);
    font-style: italic;
    font-weight: 400;
}

p {
    font-weight: 400;
    font-family: var(--body-font);
}

button {
    font-family: var(--body-font);
}

/* Empty spaces */
.empty-space-smol {
    height: 50px;
}

.empty-space-big {
    height: 250px;
}

/* Horizontal line */
hr {
    border: solid 1px black;
}


/* Cannot select this item */
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Set custom hover cursor on hover */
a:hover {
    cursor: var(--pointer);
}

/**********************
CRINKLED PAPER
***********************/
figure#crinkled-paper {
    /* background: red; */
    position: fixed;
    pointer-events: none;
    z-index: 102;

    width: 100%;
    height: 100vh;
}

#crinkled-paper img {
    width: 100%;
    height: 100%;
}

/**********************
LOADER
***********************/

.loader {
    /* border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite; */


    display: flex;

    height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: center;
    /* margin: auto; */
    text-align: center;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;

    background: var(--old-polaroid-color);
    color: var(--mid-green);

    padding: 20px;
}

.loader p {
    font-family: var(--heading-font);
    font-size: 2.05em;

    max-width: 500px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*********************************************
1/6 smartphones, iPhone, portrait 480x320 phones
**********************************************/
@media (min-width: 0px) and (orientation:landscape) {
    #hero #canvas-placeholder {
        max-width: 1300px;
        height: 250px;
        /* height: 50vh; */
    }
}

@media (min-width: 0px) and (orientation:portrait) {
    #hero #canvas-placeholder {

        /* max-width: 1300px; */
        /* height: 570px; */
        height: 50vh;

    }
}

@media (min-width: 0px) {

    /* Hide content that is WIP */
    .hide {
        display: none;
    }

    /* Empty spaces */
    .empty-space-smol {
        /* height: 50px; */
    }

    .empty-space-big {
        height: 100px;
    }

    /* Top nav: logo + nav menu */
    #top-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30px 30px;

        position: fixed;
        top: 0px;
        width: 100%;

        z-index: 100;

        /* transition: all 1s; */
    }

    #top-nav #logo {
        /* background: green; */
        width: 50px;
        height: 20px;

    }

    /* #top-nav #logo:hover {
        background: green;
    } */

    #top-nav #logo img {
        width: 90%;
    }

    #top-nav #nav-menu {
        display: none;
    }




    /* Empty space at top */
    #top-empty-space {
        height: 50px;
    }

    #index-top-empty-space {
        display: none;
    }

    /* Content wrapper */
    .content-wrapper {
        max-width: 1100px;

        /* background: orange; */
        margin: auto;
        padding: 80px 30px;
    }

    .hero-content-wrapper {
        max-width: 1300px;

        /* background: orange; */
        margin: auto;
        padding: 120px 40px 50px 40px;
    }

    /* Down arrow */
    #down-arrow {
        position: absolute;
        bottom: 0px;
        right: 0px;
        margin: 30px;
        z-index: 2;

        animation: move-up-and-down 1s linear infinite;
    }

    @keyframes move-up-and-down {

        0%,
        100% {
            bottom: 0;
        }

        50% {
            bottom: 20px;
        }
    }

    /* Sections title (e.g. Works, Testimonials) */
    .section-title {
        text-align: center;
        margin-bottom: 100px;

        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
    }

    .section-title h1 {
        font-size: 3em;
        line-height: 1em;
        /* font-style: normal;
        text-transform: uppercase;
        letter-spacing: 0.2em;

        border: 2px solid black;
        padding: 5px 50px; */

        z-index: 2;
    }

    .work-type h2 {
        font-size: 1.5em;
        text-align: center;
        margin: 0px 30px;
        margin-bottom: 50px;
    }

    .section-title img {
        max-width: 600px;
        width: 100%;
    }

    /* Hero */

    #hero-group {
        background: var(--hero-green);
    }

    #hero {
        /* margin-bottom: 50px; */
        /* background: yellow; */
    }

    #hero #pixi-canvas {
        margin-bottom: 30px;
        position: relative;

        /* visibility: hidden; */

        /* animation-name: blur-effect;
        animation-duration: 10s;
        animation-iteration-count: 1; */
    }

    #hero #canvas-placeholder {
        /* background: url(../assets/images/index/hero-banner.png);
        background-repeat: no-repeat; */
        /* background-size: cover; */

        background: var(--canvas-green);
        /* background: #E6F6D8; */
        /* background: #C9E8AE; */


        overflow: hidden;

        position: relative;

    }

    /* #canvas-placeholder img is for testing purposes, won't be used for final */
    #hero #canvas-placeholder img,
    canvas {
        /* width: 100%; */
        height: 100% !important;
        width: auto !important;
        /* background-size: cover; */

        /* center content in polaroid */
        transform: translate(-50%, -50%);
        position: absolute;
        top: 50%;
        left: 50%;

        pointer-events: none;
    }

    #hero-lets-collab {
        position: absolute;
        z-index: 2;
        width: 100px;

        right: 20px;
        /* top: -40px; */
        bottom: -40px;

        animation: button-spin 4s linear infinite;
        animation: button-spin 4s linear single ease;
    }

    #hero-lets-collab img {
        width: 100%;
    }

    @-webkit-keyframes button-spin {
        0% {
            -webkit-transform: rotate(0deg);
        }

        25% {
            -webkit-transform: rotate(40deg);
        }

        75% {
            -webkit-transform: rotate(-40deg);
        }


        100% {
            -webkit-transform: rotate(0deg);
        }
    }


    #hero-text {
        animation-name: blur-effect;
        animation-duration: 5s;
        animation-iteration-count: 1;
    }

    /* used for hero-text */
    @keyframes blur-effect {
        0% {
            color: transparent;
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        }

        50% {
            color: transparent;
            text-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
        }

        100% {
            color: transparent;
            text-shadow: 0 0 0px rgba(0, 0, 0, 1);
        }
    }


    #hero-text h1 {
        /* max-width: 1000px; */
        /* background: lightskyblue; */

        font-size: 3.05em;
        text-align: center;
        margin-bottom: 0.7em;
        /* text-align: center; */

        font-family: var(--title-font);
        font-style: normal;
        font-weight: 500;
    }


    #hero-text #my-description {
        max-width: 400px;
        line-height: 1.3em;
        /* width: 100%; */
        /* background: lightblue; */
    }

    #hero-text #my-description p {
        margin-bottom: 20px;
        margin-top: 10px;
    }

    #my-description a {
        text-decoration: none;
        color: var(--mid-green);

        transition: all 0.1s;
    }

    #hero-text a:hover {
        font-weight: bold;
    }

    /* Empty space UNUSED */

    .empty-space {
        height: 80vh;
    }

    /* Works section */

    .polaroid {
        width: 300px;
        height: 380px;

        background: var(--light-grey);

        justify-self: center;
        transition: all 1s;

        position: relative;

        /* box-shadow: 5px 5px 10px 1px black; */
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    }

    .polaroid:hover {
        transform: skew(5deg, 1deg) translate(20px, 0px);
        cursor: var(--pointer);
        /* box-shadow: -10px 10px 15px 0px rgba(192, 159, 91, 0.5); */
        box-shadow: -10px 10px 15px 0px rgba(0, 0, 0, 0.2);
    }

    .polaroid:hover>a .work-title {
        transition: all 0.5s;
        /* font-size: 2.2em; */
    }

    .polaroid a {
        text-decoration: none;
        color: black;
    }

    .polaroid .work-text {
        padding: 0 20px;
    }

    .polaroid .work-desc {
        font-size: 0.8em;
        text-align: center;
        text-transform: uppercase;

        color: #424242;
    }

    #works-group {
        background: white;
    }


    #works-section {
        padding: 80px 30px;

        /* background: lightseagreen; */


        /* disactivated while testimonials-group is hidden: */
        /* margin-bottom: 180px; */
    }

    #works-title {
        margin-bottom: 0px;
    }

    #works-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 50px 20px;

        /* margin: 0 20px; */
    }

    .work-figure {
        /* margin-bottom: 20px; */
        overflow: hidden;
        /* background: purple; */

        margin: 15px;

        width: 270px;
        height: 280px;
        /* max-height: none; */

        /* for the work-shadow */
        position: relative;
    }

    .work-figure:hover {
        cursor: var(--pointer);
        /* background: green; */
    }

    .polaroid:hover>a .work-figure img,
    .polaroid:hover>a .work-figure video {
        /* border-radius: 200px; */
        /* transform: translateX(-5%) translateY(-5%);
    width: 110%; */
        width: 110%;
        height: 110%;

        /* -webkit-filter: grayscale(0%); */
        /* Safari 6.0 - 9.0 */
        /* filter: grayscale(0%); */
    }

    /* Polaroid inner shadow */
    .work-shadow {
        width: 100%;
        height: 100%;
        /* background: green; */
        position: absolute;
        top: 0px;
        left: 0px;

        z-index: 1;

        /* inner shadow */
        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    }

    /* Tape over polaroid */
    .tape {
        width: 160px;
        height: 50px;
        position: absolute;
        top: -15px;
        left: 70px;
        z-index: 2;
        background: rgba(255, 255, 255, 0.3);
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        transform: rotate(3deg);
    }

    .work-figure img,
    .work-figure video {
        width: 100%;
        height: 100%;
        /* width: auto; */
        object-fit: cover;

        /* center content in polaroid */
        transform: translate(-50%, -50%);
        position: absolute;
        top: 50%;
        left: 50%;

        /* black and white images */
        /* -webkit-filter: grayscale(100%); */
        /* Safari 6.0 - 9.0 */
        /* filter: grayscale(100%); */
        /* filter: brightness(0.4); */



        transition: all 0.3s;
    }

    .contains-video video {
        display: none;
    }

    .work-title {
        text-align: center;
        font-size: 1.6em;
        margin-top: 15px;
        margin-bottom: 5px;
    }

    /* Works nav */
    #works-nav {
        margin: auto;
        margin-bottom: 50px;
        /* max-width: 800px; */
        line-height: 1.3em;
        text-align: center;
        font-weight: bold;
        font-size: 1.2em;
        /* background: red; */

        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }

    .works-categories {
        display: flex;
        /* justify-content: space-between; */
        justify-content: center;
        flex-flow: row wrap;
    }

    .works-categories button {
        /* display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center; */

        /* margin-right: 20px; */
        /* width: 50px; */
        background: none;

        text-decoration: none;
        color: black;
        /* min-width: 100px; */
        margin: 5px;

        text-transform: uppercase;
        border-radius: 30px;
        border: 1px solid black;
        padding: 10px 20px;
        padding-top: 12px;

        transition: all 0.3s;
    }

    .works-categories button:hover,
    .works-categories .currently-selected {
        background: black;
        /* font-size: 1.2em;
        font-weight: 600; */
        color: white;
        cursor: var(--pointer);
        border: 1px solid black;
    }

    .works-categories button:hover>.social-media-icon {
        /* width: 110px; */

    }


    .works-categories button p {
        font-weight: 200;
        font-size: 1em;
        letter-spacing: 0.2px;
        font-weight: 600;
    }

    .works-categories button img {
        width: 100%;
    }

    /* Meet you section */
    #meet-you-group {
        display: none;
        background: var(--light-grey);
    }

    #meet-you-section {
        /* background: lightgoldenrodyellow; */
        /* height: 80vh; */
    }


    /* Testimonials section */
    #testimonials-group {
        /* display: none; */
        background: var(--beige);
        background: var(--light-grey);
    }

    #testimonials-section {
        /* background: lightgoldenrodyellow; */
        /* height: 80vh; */
    }

    #letters-group {
        display: flex;
        flex-flow: row wrap;
        gap: 20px;
        justify-content: center;
        /* align-items: flex-start; */
    }


    .letter {
        border-radius: 5px;
        padding: 50px;
        width: 350px;
        /* width: 500px; */
        max-width: 90%;
        /* min-height: 500px; */

        /* box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2); */
        overflow: hidden;

        margin-bottom: 20px;

        /* transform: rotate(-2deg); */
        position: relative;

        filter: drop-shadow(5px 0px 10px rgba(0, 0, 0, 0.1));
    }

    .letter-texture {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        z-index: -1;

    }

    .letter-header {
        margin-bottom: 15px;

        display: flex;
        flex-flow: row;
        justify-content: center;
        align-items: center;
        text-align: center;

        padding-bottom: 10px;
        border-bottom: 1px solid black;
    }

    .letter-header .message-from {
        margin-bottom: 5px;
    }

    .letter-header .stamp img {
        width: 60px;
        height: 60px;
        margin-bottom: 7px;
        margin-right: 15px;
    }

    .letter-header h3 {
        font-size: 0.8em;
        font-family: var(--heading-font);
        font-style: italic;
        font-weight: normal;
        /* margin-bottom: 5px; */
    }

    .letter-header p {
        font-size: 0.9em;
        font-family: var(--heading-font);
    }

    .message p {
        font-size: 0.9em;
        /* font-size: 1.2em; */
        /* font-family: var(--heading-font); */
        line-height: 1.5em;
    }

    /* Let's Collab section */
    #lets-collab-group {
        background: var(--light-green);
    }

    /* specific to services page */
    #lets-collab-group-services {
        background: var(--light-grey);
    }

    #lets-collab-section {
        /* background: green; */
        /* margin-bottom: 300px; */
    }

    #lets-collab-title {
        /* margin-bottom: 50px; */
        margin-bottom: 30px;
    }


    .lets-collab-description {
        margin: auto;
        /* max-width: 500px; */
        line-height: 1.3em;
        text-align: center;
        /* background: red; */


    }

    .lets-collab-description p {
        margin-bottom: 40px;
    }

    .lets-collab-description button {
        padding: 32px 64px;
        cursor: var(--pointer);
        border-radius: 64px;
        border: 1px solid black;
        /* border: none; */
        font-size: 1.2em;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        background: none;
        /* height: 100px; */
        /* width: 100px; */


        transition: all 0.3s;

        /* box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3); */

        /* background: rgba(255, 255, 255, 0.5); */
        /* background: black; */

        color: white;
        color: black;
        text-decoration: none;
    }



    .lets-collab-description button:hover {
        /* background: rgb(31, 31, 31); */
        /* font-size: 1.5em; */

        /* font-weight: 600; */

        padding: 32px 80px;

        background: white;
        /* color: var(--dark-green); */
        /* color: white; */
    }

    .lets-collab-description a {
        text-decoration: none;

    }

    #all-design-button {
        margin-top: 80px;
    }


    /* Button section for small links */
    /* Button */
    .button-section {
        margin: auto;
        max-width: 600px;

        text-align: center;
        /* background: red; */
    }

    .button-section p {
        margin: 0 25px;
        margin-bottom: 20px;

    }

    .button-section button {
        /* padding: 20px 35px; */
        padding-bottom: 4px;
        margin: 0px 8px;
        cursor: var(--pointer);
        /* border-radius: 100px;
        border: none; */
        font-size: 1.2em;
        font-weight: 600;
        line-height: 1.5em;
        /* text-transform: uppercase; */
        background: none;

        transition: all 0.3s;
        border: none;

        /* background: rgba(255, 255, 255, 0.5); */
        /* background: black; */

        color: black;
        text-decoration: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }



    .button-section button:hover {
        /* background: rgb(31, 31, 31); */
        /* font-size: 1.5em; */

        /* font-weight: 600; */
        /* background: var(--dark-green);
        padding: 20px 50px; */
        /* letter-spacing: 0.05em; */
        color: var(--dark-green);
    }

    .button-section a {
        text-decoration: none;

    }



    /* Footer */
    footer {
        /* background: white; */
        background: var(--lime-green);
        /* height: 80vh;
        position: relative; */
    }

    #footer-logo {
        padding-top: 150px;
        /* margin-bottom: 100px; */
        text-align: center;
        width: 100%;
        /* background: green; */
    }

    #footer-logo img {
        width: 100px;
        margin-bottom: 20px;
        min-width: 120px;
        max-width: 300px;
    }

    #copyright {
        text-align: center;
        padding-bottom: 5px;
        /* margin-right: 30px; */
        /* background: red; */
    }

    #design-credits {
        text-align: center;
        padding-bottom: 30px;
    }

    #footer-social-media {
        margin: auto;
        margin-bottom: 100px;
        max-width: 800px;
        line-height: 1.3em;
        text-align: center;
        font-weight: bold;
        font-size: 1.2em;
        /* background: red; */

        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }

    #footer-social-media img {
        pointer-events: auto;
    }

    .footer-bottom-text {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        width: 100%;

        padding: 0px 30px;

        font-size: 0.9em;
    }


    /* Contact page */
    #contact-section,
    #about-section {
        padding: 60px 50px;
        padding-bottom: 80px;
    }

    #contact-group,
    #about-group {
        background: var(--light-green);
        /* height: 100vh; */
        padding-top: 50px;
    }

    #contact-section {
        /* background: green; */
        /* margin-bottom: 300px; */
    }

    #contact-title,
    #about-title {
        margin-bottom: 50px;
        position: relative;
        z-index: 2;
    }

    #about-title {
        margin-bottom: 100px;
        display: block;

        transition: all 1s;

    }

    /* #about-title:hover {
        transform: skew(5deg, 1deg) translate(20px, 0px);
    } */

    #contact-title img,
    #about-title img {
        max-width: 1000px;
    }


    #contact-description h1 {
        font-size: 3em;
        line-height: 1em;
        margin-bottom: 20px;
    }

    #contact-description h2 {
        margin-top: 50px;
        font-size: 1.1em;
        margin-bottom: 20px;
        /* text-transform: uppercase; */
    }

    #contact-description p {
        margin-bottom: 16px;
        line-height: 1.5em;
    }

    .about-description h1 {
        font-size: 3em;
        line-height: 1.2em;
        margin-bottom: 35px;
    }

    #contact-description {
        margin: auto;
        /* margin-bottom: 100px; */
        max-width: 800px;
        line-height: 1.3em;
        text-align: center;
        /* background: red; */

        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }

    #contact-description img {
        margin-bottom: 48px;
    }

    #biography {
        margin-right: 50px;
    }

    #about-text {
        /* display: flex; */
        max-width: 600px;
    }

    #about-content {
        display: flex;
        flex-flow: row;
        justify-content: center;
    }

    .about-description {
        margin: auto;
        margin-bottom: 50px;
        max-width: 800px;
        line-height: 1.3em;
        text-align: left;
        /* background: red; */

        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: left;
    }

    .about-description p {
        margin-bottom: 35px;
        text-align: left;
        line-height: 1.5em;
    }

    #about-quote {
        display: flex;
        justify-content: center;
        align-items: center;
        /* width: 100%; */

        margin-top: 30px;

        /* position: absolute;
        left: -50px; */
        transition: all 2s;
    }

    #about-headshot {
        /* background: orange; */
        display: flex;
    }

    #headshot {
        /* max-width: 500px; */
        width: 350px;
        transform: rotate(-6deg) translate(0px);
        min-width: 250px;

        border: 5px solid white;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
        background: white;
        padding: 3px;
        padding-bottom: 0px;

        transition: all 1s;
    }


    #headshot img {
        width: 100%;
        /* transform: rotate(-3deg); */
        transition: all 2s;
        margin: 0;
        padding: 0;
        /* background: green; */
    }

    #headshot-tape-top {
        left: -30px;
        transform: rotate(-3deg);

        width: 140px;
        height: 35px;
    }

    #headshot-tape-bottom {
        top: auto;
        left: auto;
        bottom: -20px;
        right: -30px;
        transform: rotate(3deg);

        width: 140px;
        height: 35px;
    }

    #about-cloud {
        position: absolute;
        left: -20px;
        top: 30px;
        width: 100px;

        transform: rotate(3deg);
    }

    #squirrel-figure {
        /* text-align: center; */
    }

    #email-button {
        padding: 30px 20px;
        cursor: var(--pointer);
        border-radius: 100px;
        border: 1px solid black;
        font-size: 1.1em;
        font-weight: 400;
        margin-bottom: 100px;

        letter-spacing: 0.05em;
        background: none;

        transition: all 0.3s;
    }

    #email-button:hover {
        /* background: rgba(255, 255, 255, 0.5); */
        background: white;
        /* font-size: 1.3em;
        padding: 40px 80px; */
    }

    #email-button:hover>a {}

    #email-button p {
        text-transform: uppercase;
        font-size: 0.8em;
        margin-bottom: 0px;
        font-weight: normal;
    }

    #email-button a {
        text-decoration: none;
        color: black;
    }

    /* Social media icons on Contact page */
    .social-media-group {
        display: flex;
        /* flex-flow: column; */
        justify-content: space-between;
    }

    .social-media-group a {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        /* margin-right: 20px; */
        /* width: 50px; */

        text-decoration: none;
        color: black;
        /* min-width: 100px; */
        margin: 0 10px;

        text-transform: uppercase;
        /* font-size: 0.8em; */

        transition: all 0.3s;
    }

    .social-media-group a:hover {
        font-size: 1.2em;
        font-weight: 600;
        color: var(--dark-green);
    }

    .social-media-group a:hover>.social-media-icon {
        /* width: 110px; */

    }


    .social-media-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 2px;
        transition: all 0.3s;
    }

    .social-media-group img {
        width: 100%;
        opacity: 0.4;
    }

    .social-media-group img:hover {
        opacity: 1;
    }

    /* Table of contents */
    #table-of-contents {
        z-index: 1000;
        position: fixed;

        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;

        display: none;
    }

    #hamburger-icon {
        font-size: 28px;
    }

    #hamburger-icon:hover {
        cursor: var(--pointer);
        color: var(--dark-green);
    }

    #hamburger-icon img:hover {
        cursor: var(--pointer);
    }

    #x-icon {
        position: absolute;
        right: 0px;
        margin: 30px 30px 0px 30px;
        height: 30px;

        font-size: 28px;
    }


    #x-icon:hover {
        cursor: var(--pointer);
        color: var(--dark-green);
    }

    #x-icon img {
        width: 100%;
        background: orange;
    }

    #x-icon img:hover {
        cursor: var(--pointer);
    }

    .content-navs {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;

        width: 100%;
        height: 100%;

        text-align: center;
        padding-bottom: 50px;
    }

    .content-navs a {
        text-decoration: none;
        color: black;
        margin: 10px;
        font-size: 2.5em;
        height: 50px;
    }

    .content-navs a:hover {
        font-weight: bold;
        color: var(--dark-green);
        font-family: var(--heading-font);
        /* font-style: italic; */
    }

    /* SERVICES */

    #services-text {
        max-width: 900px;
    }


    /* FLYING ITEMS/PETALS */

    /* Title */
    #title {
        /* center it */
        display: none;
        flex-flow: column;
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        /* opacity: 0; */

        overflow: hidden;
        position: absolute;

        pointer-events: none;
        /* z-index: 1000; */
    }

    .title-figure {
        position: absolute;

        z-index: 99;
        width: 100%;
        height: 100vh;
    }

    .petal-image {
        position: absolute;
        top: 0px;
        left: 0px;
    }

    .title-figure img {
        width: auto;
        height: auto;
    }


    @keyframes petal-fly {
        0% {
            /* transform: scale(0.8); */
            transform: translate(0px, 0px);
            /* filter: blur(0px); */
        }

        100% {
            /* transform: scale(0.8); */
            transform: translate(-8000px, 700px);
            /* filter: blur(4px); */
            /* transform: translate(calc(-10% + 0px), 100px); */
        }
    }

}


/*********************************************
2/6 portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide.
**********************************************/
@media (min-width: 481px) and (orientation:landscape) {
    #hero #canvas-placeholder {
        height: 200px;
    }
}


@media (min-width:481px) {
    .section-title h1 {
        font-size: 4em;
    }


    #top-nav #logo {
        /* background: green; */
        width: 60px;
        height: 30px;

    }

    /* Content wrapper */
    .hero-content-wrapper {
        padding: 150px 100px;
    }

    .content-wrapper {
        padding: 80px 50px;
    }


    /* Works section */
    .works-categories button p {
        font-size: 1.2em;
        line-height: 1em;
    }



    #works-section {
        padding: 150px 30px;
    }

    .work-type h2 {
        font-size: 2em;
        margin-bottom: 50px;
    }

    #works-grid {
        grid-gap: 70px 0px;
        margin: 0 20px;
    }

    /* Tape over polaroid */
    .tape {
        width: 200px;
        left: 50px;
    }

    /* Contact section */
    #email-button p {
        /* display: block; */
        margin-bottom: 10px;
    }

    #email-button:hover {
        /* background: rgba(255, 255, 255, 0.5); */
        /* font-size: 1.3em; */
        padding: 32px 80px;
    }

    #email-button {
        padding: 32px 56px;
        font-size: 1.2em;
    }

    /* #headshot:hover {
        transform: skew(3deg, 1deg) translate(20px, 0px) rotate(0deg);
    } */

    #headshot {
        transform: rotate(-6deg) translate(-10px, -25px);
    }

    #headshot-tape-top {
        left: -30px;
        transform: rotate(-10deg);

        width: 150px;
        height: 40px;
    }

    #headshot-tape-bottom {
        top: auto;
        left: auto;
        bottom: -10px;
        right: -30px;
        transform: rotate(-20deg);

        width: 150px;
        height: 40px;
    }

    /* Contact page */
    #contact-group,
    #about-group {
        padding-top: 100px;
    }

    /* Social media icons on Contact page */
    .social-media-group a {
        /* min-width: 100px; */
        /* margin: 0 20px; */
    }

    .social-media-icon {
        /* width: 80px; */
        margin-bottom: 10px;
    }

    /* Footer */
    #footer-logo img {
        width: 150px;
        margin-bottom: 20px;
    }

    #footer-social-media {
        margin-bottom: 150px;
    }

    /* FLYING ITEMS/PETALS */

    /* Title */
    #title {
        display: flex;
    }

    /* Testimonials section */

    .letter-header {
        flex-flow: column;

        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .letter-header .stamp img {
        margin-right: 0px;
    }
}


/*********************************************
3/6 portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones
**********************************************/
@media (min-width: 641px) and (orientation:landscape) {
    #hero #canvas-placeholder {
        height: 350px;
    }
}

@media (min-width:641px) {

    /* Hero */
    #hero-text h1 {
        font-size: 5em;
        line-height: 1.1em;
        /* margin-right: 20px; */
    }

    /* Works */
    .contains-video img {
        display: none;
    }

    .contains-video video {
        display: block;
    }

    /* Footer */
    .footer-bottom-text {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-flow: nowrap;
        padding: 0px 70px;

        font-size: 1em;
    }

    #copyright {
        text-align: left;
        padding-bottom: 30px;
        margin-right: 30px;
    }

    #design-credits {
        text-align: right;
    }

    /* About page */

    #about-title {
        display: flex;
        flex-flow: row;
    }


}

/*********************************************
3.5/6 special layout for grid
**********************************************/

@media (min-width:800px) {
    #works-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/*********************************************
4/6 tablet, landscape iPad, lo-res laptops ands desktops
**********************************************/
@media (min-width: 961px) and (orientation:landscape) {
    #hero #canvas-placeholder {
        height: 450px;
    }
}

@media (min-width:961px) {

    .section-title h1 {
        font-size: 4em;
    }


    /* Down arrow */
    #down-arrow {
        margin-right: 70px;
        margin-bottom: 50px;
    }


    /* Top nav: logo + nav menu */
    #top-nav {
        padding: 50px 70px 50px 70px;
        /* background: linear-gradient(0deg, rgba(233, 247, 222, 0) 0%, rgba(233, 247, 222, 0.2) 10%, rgba(233, 247, 222, 0.8) 40%, rgba(233, 247, 222, 1) 100%); */
        /* background: linear-gradient(0deg, rgba(216, 239, 196, 0) 0%, rgba(216, 239, 196, 0.2) 10%, rgba(216, 239, 196, 0.8) 40%, rgba(216, 239, 196, 1) 100%); */
        background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 1) 100%);

        backdrop-filter: blur(0.5px);

        /* border-bottom: 1px solid black; */
    }

    #top-nav #hamburger-icon {
        display: none;
    }

    #top-nav #logo img {
        width: 80%;
    }

    #top-nav #nav-menu {
        display: flex;
    }


    #top-nav #nav-menu a {
        /* width: 100px; */
        margin-left: 40px;
        /* padding-bottom: 4px; */

        text-transform: uppercase;

        display: flex;
        justify-content: center;
        align-items: center;

        text-decoration: none;
        text-align: center;
        font-size: 0.9em;
        font-weight: 600;
        /* color: var(--dark-grey); */
        color: black;

        transition: all 0.2s;

    }

    #top-nav #nav-menu a:hover {
        color: var(--mid-green);
        /* font-weight: 800; */
        /* border-bottom: 2px solid var(--dark-green); */
    }


    #top-nav #nav-menu a:active,
    #top-nav #nav-menu a.active {
        color: var(--mid-green);
        /* font-weight: 800; */

    }


    /* Hero */
    #hero-text {
        /* max-width: 1300px;
        display: flex;
        justify-content: space-between; */
    }

    /* Works section */
    #works-grid {
        margin: 0 80px;
    }

    /* .tape {
        left: 80px;
    } */

    /* .polaroid {
        width: 350px;
        height: 450px;
    }

    .polaroid .work-text {
        padding: 0 30px;
    }

    .work-title {
        font-size: 1.8em;
        margin-top: 25px;
        margin-bottom: 5px;
    }

    .polaroid .work-desc {
        font-size: 0.9em;
    }

    .work-figure {
        height: 330px;
    } */

    /* Testimonials section */
    #letters-group {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-items: flex-start;
    }

    .letter {
        margin-right: 20px;
        margin-bottom: 20px;
        width: 350px;
        padding: 40px;
    }


    /* About section */

    /* hide "Hi" */
    #about-title h1 {
        display: none;
    }

    #headshot {
        margin-right: 80px;
    }

    #about-section {
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }


}

/*********************************************
5/6 big landscape tablets, laptops, and desktops
**********************************************/
@media (min-width: 1025px) and (orientation:landscape) {
    #hero #canvas-placeholder {
        height: 500px;
    }
}

@media (min-width:1025px) {

    /* Empty space at top */
    #index-top-empty-space {
        display: block;
        /* height: 40px; */
        background: var(--hero-lightest-green);
    }

    /* Content wrapper */
    .content-wrapper {
        padding: 100px 50px;
    }

    /* Hero */
    #hero-text h1 {
        /* font-size: 3em; */
    }


    /* Works nav */
    #works-nav {
        margin-bottom: 50px;
    }




}


/*********************************************
6/6 hi-res laptops and desktops 
**********************************************/
@media (min-width: 1450px) and (orientation:landscape) {
    #hero #canvas-placeholder {
        height: 570px;
    }
}

@media (min-width:1450px) {

    /* Content wrapper */
    .content-wrapper {
        max-width: 1600px;
    }

    .hero-content-wrapper {
        padding: 150px 50px;
    }


    .section-title h1 {
        font-size: 5em;
    }

    /* Hero */
    #hero-text h1 {
        font-size: 8em;
    }

    /* Works nav */
    #works-nav {
        margin-bottom: 70px;
    }


    /* Works section */
    #works-title {
        /* margin-bottom: 20px;  */
    }

    #works-grid {
        grid-template-columns: 1fr 1fr 1fr;
        margin: 0 50px;
    }

    .works-categories button p {
        font-size: 1.3em;
    }

    .tape {
        left: 80px;
    }

    .polaroid {
        width: 350px;
        height: 450px;
    }

    .polaroid .work-text {
        padding: 0 30px;
    }

    .work-title {
        font-size: 1.8em;
        margin-top: 25px;
        margin-bottom: 5px;
    }

    .polaroid .work-desc {
        font-size: 0.9em;
    }

    .work-figure {
        height: 330px;
        width: 320px;
    }

    /* Testimonials section */
    #letters-group {
        display: flex;
        flex-flow: row;
        justify-content: center;
        align-items: flex-start;
    }


    .letter {
        width: 500px;
        padding: 80px;
    }

}




/* FOR SHOW ON SCROLL ANIMATIONS */


/* === ANIMATIONS FOR SCROLL BASED INTERACTION === */

.inline-photo {
    border: 1em solid #fff;
    border-bottom: 4em solid #fff;
    border-radius: 0.25em;
    box-shadow: 1em 1em 2em 0.25em rgba(0, 0, 0, 0.2);
    margin: 2em auto;
    max-width: 600px;
    opacity: 0;
    -webkit-transform: translateY(4em) rotateZ(-5deg);
    transform: translateY(4em) rotateZ(-5deg);
    -webkit-transition: opacity 0.3s 0.25s ease-out,
        -webkit-transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1);
    transition: opacity 0.3s 0.25s ease-out,
        -webkit-transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1);
    transition: transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1),
        opacity 0.3s 0.25s ease-out;
    transition: transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1),
        opacity 0.3s 0.25s ease-out,
        -webkit-transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1);
    width: 90%;
}

.inline-photo.is-visible {
    opacity: 1;
    -webkit-transform: rotateZ(-2deg);
    transform: rotateZ(-2deg);
}

.slide {
    opacity: 0;
    transform: translateX(2em);
    transition: all 0.3s 0.4s ease-out;
    will-change: all;
}

.slide.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(2em);
    transition: all 0.3s 0.3s ease-out;
    /*	will-change: all;*/
}

.slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up-slower {
    opacity: 0;
    transform: translateY(2em);
    transition: all 0.6s 0.6s ease-out;
    /*	will-change: all;*/
}

.slide-up-slower.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up-slowest {
    opacity: 0;
    transform: translateY(2em);
    transition: all 0.7s 0.7s ease-out;
    /*	will-change: all;*/
}

.slide-up-slowest.is-visible {
    opacity: 1;
    transform: translateY(0);
}