* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%; 
    text-size-adjust: 100%; 
    scroll-behavior: none; 
    height: 100%;
}


html, body {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

body {
    background-color: black;
    padding-bottom: env(safe-area-inset-bottom);
    padding-top: 20vh;
    scroll-behavior: smooth; 
    overflow-y: scroll;
    height: auto;       /* not 100% */
    min-height: 100%;   /* ensures footer always pushed */
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
}


/* CORE STRUCTURE */

#header-div {
    height: 20vh;
    width: 100vw;
    margin: 0;
    position: fixed;
    top: 0;
    z-index: 9;
    box-shadow: 0 7px 35px #3b3b3a8c;
    background-color: black;
}

#menu-overlay {
    height: 42vh;
    width: 85vw;
    padding-right: 25px;
    position: fixed;
    right: 0;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    background-color: #000000e8;
    box-shadow:  0 0 50px 25px #00000099;
    z-index: 10;
    display: none;
}

    #menu-overlay.active {
    display: flex;
    }

#page-title {
    width: 100vw;
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-end;
    align-items: center;
    margin: 0 auto 15px auto;
    padding: 0;
    flex: 0 0 auto;   /* do not shrink, size to content */
    height: auto;     /* avoid forcing height */
}

#page-content {
    width: 100vw;    
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    height: auto;          /* let it expand */
    min-height: 0;         /* avoids flex overflow bugs */
    flex: 0 0 auto;        /* in a flex column, makes it shrink/grow to contents */
    overflow: visible; 
    margin: 0 auto;
}

    #page-content.loading {
    opacity: 0;
    }

    #page-content::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

#footer {
  height: fit-content;
  width: 100%;
  box-shadow: 0 -10px 25px #3b3b3a8c;
  display: flex;
  padding: 10px 0;
  flex-flow: column wrap;
  align-items: center;
  justify-content: flex-start;
  background-color: black;
  margin: 0 auto;
  bottom: 0;
  left: 0;
}


/* HEADER */

#site-title {
    height: 20vh;
    width: 100vw;
    margin: 0 auto;
    padding: 0 20px 0 20px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
}

    #logo-container {
        height: 16vh;
        width: 70vw;
        margin: 0;
        display: flex;
    }

        #logo-container img {
            object-fit: fill;
        }

    #hamburger-btn {
        width: fit-content;
        margin: 0;
        padding: 0;
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
    }

#nav-menu {
    width: 85%;
    height: fit-content;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    display: none;
}

    #nav-menu ul {
        justify-content: center;
        align-items: flex-end;
        margin: 0;
        padding: 0;
        width: fit-content;
        height: 100%;
        display: none;
    }

        #nav-menu li {
            list-style: none;
            width: fit-content;
            font-family: Arial, Helvetica, sans-serif;
            margin: 0;
            padding: 0;
            justify-content: center;
            display: none
        }

            #nav-menu button {
                height: 90%;
                font-size: clamp(0.05rem, 1.3vw + 0.35rem, 1.5rem);
                border: none;
                color: #292929;
                border-bottom: 2px solid transparent;
                padding: 0 0 6px 0;
                letter-spacing: 0.25rem;
                transition: color 0.35s ease-in-out, border 0.35s ease-in-out;
                justify-content: center;
                width: fit-content;
                display: none;
            }

            #nav-menu button:hover {
                color: #E6C068;
                padding: none;
                margin: none;
            }


/* OVERLAY MENU */

#menu-overlay ul {
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
}

    .overlay-btns {
        height: 8vh;
        width: 100%;
        margin: 0;
        position: relative;
        background: none;
        border: none;
        color: whitesmoke;
        text-align: right;
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .overlay-btns:hover {
        color: #E6C068;
    }


/* PAGE TITLE */

#page-title-text {
    margin: 15px 0 5px 0;
    padding: 0;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 7px;
}

.underline {
    height: 2px;
    width: 60%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 1px;
    display: block;
    background-color: #E6C068;
    
}


/* FOOTER */

#licensing {
    height: fit-content;
    width: 100vw;
    padding: 0 2vw;
    display: flex;
}

    #licensing p {
        color: #E6C068;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 10px;
        text-align: center;
        padding: 0;
        margin: 0 auto;
    }

        .footer-link {
            color: #E6C068;
            text-decoration: none;
        }

#social-footer {
    height: fit-content;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 0 0;
    background-color: black;
}

    #ham-to-phone {
        width: fit-content;
        margin: 0 5px 0 10px;
        background: none;
        border: none;
        color: #E6C068;
        font-size: xx-small;
    }

    #ham-to-instagram {
        width: fit-content;
        margin: 0 10px 0 5px;
        background: none;
        border: none;
        color: #E6C068;
        font-size: xx-small;
    }


/* HOME */

#slideshow-div {
    height: auto;
    min-height: 44vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #0000003f;
    margin: 0 0 10px 0;
    padding: 0;
}

    .nav {
        padding: 0.4rem 1rem 0.6rem 0.9rem;
        position: absolute;
        top: 50%;
        background: #00000097;
        border: none;
        border-radius: 50px;
        color: #E6C068;
        font-size: 2rem;
        cursor: pointer;
        transform: translateY(-50%);
        transition: opacity 0.8s ease-in-out;
        opacity: 100;
        z-index: 3;
    }

    .nav.prev {
        left: 10px;
    }

    .nav.next {
        right: 10px;
    }

    .nav.sleepy {
        opacity: 0;
    }

    .nav > i {
        text-shadow: 0 0 25px #151515c9;
        font-size: larger;
    }

/*  js  */

    .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        object-fit: cover;
        opacity: 0;
        transform: translateX(100%);
        transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
        z-index: 1;
        object-position: 50% 90%;
    }

    .slide.lazy {
        filter: blur(12px);
        transition: filter 0.6s ease-out;
    }

    .slide.loaded {
        filter: blur(0);
        transition: filter 0.6 ease-out;
    }

    .slide.active {
        opacity: 1;
        transform: translateX(0);
        z-index: 2;
    }

    .slide.out-left {
        opacity: 0;
        transform: translateX(-100%);
        z-index: 0;
    }

    .slide.out-right {
        opacity: 0;
        transform: translateX(100%);
        z-index: 0;
    }

    .slide.in-left {
        opacity: 1;
        transform: translateX(-100%);
        z-index: 1;
    }

    .slide.in-right {
        opacity: 1;
        transform: translateX(100%);
        z-index: 1;
    }


/* ABOUT */

#about-me-container {
    width: 90%;
    height: fit-content;
    min-height: 44vh;
    margin: 0 auto 10px auto;
    padding: 25px;
    background-color: #151515;
}

#about-me-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}

    #about-me-container p {
        color: whitesmoke;
        font-family: Arial, Helvetica, sans-serif;
        font-size: clamp(0.7rem, 1.2vw + 0.5rem, 2rem);
        margin: 0 auto;
        padding: 0;
        text-align: justify;
        line-height: 1.4;
        width: 100%;
    }

        #headshot {
            width: 30%;
            aspect-ratio: 2 / 3;
            margin: 0 15px 5px 0;
            float: left;
        }

            #headshot img {
                height: 100%;
                width: 100%;
                object-fit: cover;
                object-position: center 0%;
            }

        .link-to-rates {
            color: #E6C068;
            text-decoration: none;
            cursor: pointer;
            font-weight: bold;
        }


/* PORTFOLIO */

#portfolio-container {
    height: fit-content;
    width: 90vw;
    max-width: 1150px;
    margin: 0 auto 10px auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

#portfolio-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/*  js  */

    .img-frame {
        width: 100%;
        min-height: 100px;
        margin: 0 auto;
        padding: 0;
        overflow: hidden;
        transition: transform 0.3s ease;
        cursor: zoom-in;
        max-width: 100%;
    }

    .img-frame.enlarged {
        box-shadow: 0 0 50px 25px rgb(0, 0, 0);
        cursor: zoom-out;
        transition: all 0.3s ease;
    }

        .portfolio-img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            object-position: center 50%;

        }

        img.lazy {
        filter: blur(10px);
        transition: filter 0.3s;
        }

        img.loaded {
        filter: blur(0);
        }


/* RATES */

#rates-container {
    height: fit-content;
    min-height: 44vh;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 0;
}

#rates-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}

    #rates-summary {
        display: flex;
        flex-flow: column wrap;
        align-items: center;
    }

        .dropdown-btn {
            height: 7vh;
            min-height: 40px;
            width: 90vw;
            max-width: 1250px;
            padding-left: 20px;
            background-color: #151515;
            border: 1px solid #E6C068;
            color: whitesmoke;
            font-size: 1.2rem;
            text-align: left;
        }

        .open {
            background-color: #E6C068;
            color: black;
        }

        .dropdown-content {
            height: fit-content;
            width: 90vw;
            max-width: 1250px;
            margin: 0 0 10px 0;
            padding: 10px;
            overflow: hidden;
            background-color: #151515;
            color: whitesmoke;
            font-family: Arial, Helvetica, sans-serif;
            transition: max-height 0.3s ease;
        }

        .hidden {
            display: none;
        }

        .visible {
            display: block;
        }

            #rates-summary img {
                height: auto;
                width: 100%;
            }

            .emp {
                font-size: 1.3rem;
            }

            .price {
                font-weight: bold;
            }


/* CONTACT */

#contact-container {
    height: fit-content;
    min-height: 44vh;
    width: 100%;
    max-width: 750px;
    margin: 0 auto 10px auto;
}

#contact-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}

    #contact-btns {
        height: fit-content;
        width: 100%;
        margin: 0 auto 15px auto;
        padding-left: 15%;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items:flex-start;
    }

        #contact-btns button {
            height: 100%;
            margin: 5px;
            padding: auto;
            background: none;
            border: none;
            color: #E6C068;
            font-family: Arial, Helvetica, sans-serif;
            font-size: large;
            text-align: center;
        }

            #contact-btns i {
                margin: 0;
                padding-right: 10px;
            }

    .contact-form-btn {
        height: 7vh;
        min-height: 40px;
        width: 90%;
        margin: 0 auto;
        display: block;
        background-color: #151515;
        border: 2px solid #E6C068;
        color: whitesmoke;
        font-size: 1.2rem;
        text-align: center;
    }

    .contact-form-btn:hover {
        background-color: #E6C068;
        color: black;
    }

    form {
        height: fit-content;
        width: 90%;
        margin: 0 auto;
        padding: 10px;
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        border: 2px solid #E6C068;
        color: white;
        font-family: Arial, Helvetica, sans-serif;
    }

        form input, form textarea {
            background-color: #151515;
            border: none;
            color: whitesmoke;
        }

        form input:focus, form textarea:focus {
            outline: 3px solid #E6C068;
            color: whitesmoke;
        }

        form input[type="radio"]:focus {
            outline: none;
        }

        form button:hover {
            background-color: #E6C068;
            color: black;
        }

        fieldset {
            margin: 5px auto;
            border: none;
        }

        #contact-name {
            height: 9vh;
            width: 100%;
            display: grid;
            grid-template-rows: 1fr 1fr;
            grid-template-columns: 1fr 1fr;
            gap: 0 15px;
        }

            #contact-name p {
                margin: 0;
                padding: 0;
                text-align: center;
                grid-row: 1 / span 1;
                grid-column: 1 / span 2;
            }

            #contact-name input {
                width: 100%;
                margin: 0 auto;
                padding-left: 5%;
                font-size: 0.9rem;
            }

            #first-name {
                grid-row: 2 / span 1;
                grid-column: 1 / span 1;
            }

            #last-name {
                grid-row: 2 / span 1;
                grid-column: 2 / span 1;
            }

        #contact-message {
            height: fit-content;
            width: 100%;
            display: flex;
            flex-flow: column;
            justify-items: space-around;
            align-items: center;
        }

            #contact-message p {
                margin: 0 auto;
                padding-bottom: 6px;
            }

            #contact-message textarea {
                width: 80vw;
                max-width: 80vw;
                min-width: 80vw;
                margin: 5px auto;
                padding: 8px;
                font-family: Arial, Helvetica, sans-serif;
                font-size: 0.9rem;
            }

        #contact-preference {
            height: 15vh;
            width: 100%;
            padding: 0;
            display: flex;
            flex-flow: column nowrap;
            justify-content: space-around;
            align-items: center;
        }

            #contact-preference p {
                margin: 0;
                text-align: center;
            }

            #contact-preference label {
                width: 60%;
                margin: 0 auto;
            }   

            #contact-preference input[type="radio"] {
                width: 8%;
                margin: 0 auto;
            }

            #phone-input {
                height: 25px;
                padding-left: 8px;
                display: block;
                border: none;
                font-size: 0.85rem;
            }

            #email-input {
                height: 25px;
                padding-left: 8px;
                display: none;
                border: none;
                font-size: 0.85rem;
            }

        button[type="submit"] {
            height: 5vh;
            min-height: 40px;
            width: 60%;
            margin: 15px auto 5px auto;
            background-color: black;
            border: 3px solid #E6C068;
            color: white;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 1.1rem;
        }


/* MEDIA RULES */

@media (max-width: 480px) {

    /* ABOUT */

    #about-me-container {
        height: 42vh;
        overflow-y: scroll;
    }

    /* PORTFOLIO */

    .img-frame {
        height: 12vh;
    }

    /* CONTACT */

    #contact-name input {
        height: 30px;
    }

    #contact-message textarea {
        height: 8vh;
        min-height: 8vh;
        max-height: 15vh;
    }

    #contact-preference label {
        padding-left: 10%;
    }    

    #phone-input {
        width: 170px;
    }

    #email-input {
        width: 170px;
    }

}

@media (min-width: 481px) and (max-width: 768px) {

    /* PORTFOLIO */

    .img-frame {
        height: 20vh;
    }

    /* CONTACT */

    #contact-name input {
        height: 35px;
    }

    #contact-message textarea {
        height: 12vh;
        min-height: 12vh;
        max-height: 18vh;
    }

    #contact-preference label {
        padding-left: 13%;
    }    

    #phone-input {
        width: 200px;
    }

    #email-input {
        width: 200px;
    }

}

@media (min-width: 769px) and (max-width: 1024px) {
    body {
    padding-top: 15vh; 
  }

    /* CORE STRUCTURE */

    #header-div {
        height: 15vh; 
        min-height: 50px;
        padding: 0 3%; 
        display: flex; 
        align-items: flex-end; 
        justify-content: space-between; 
    }

    #menu-overlay {
        display: none;
    }

    #page-title {
        margin: 0 auto 25px auto;
    }

    /* HEADER */

    #site-title {
        height: 100%; 
        max-height: 200px; 
        width: auto; 
        min-width: 100px; 
        margin: 0; 
        padding: 1vh 0.5%; 
        justify-content: center; 
    }

    #logo-container {
        height: 100%;
        width: 100%;
        justify-content: center;
    }

    #hamburger-btn {
        display: none;
    }

    #nav-menu {
        display: flex;
    }

    #nav-menu ul {
        display: flex;
    }

    #nav-menu li {
        display: flex;
    }

    #nav-menu button {
        display: flex;
    }

    .menu-spacer {
        height: 100%;
        width: 40px;
    }

    .menu-spacer.bookend {
        height: 100%;
        width: 32px;
    }

    #home-btn {
        background: none;
    }

    #about-btn {
        background: none;
    }

    #portfolio-btn {
        background: none;
    }

    #rates-btn {
        background: none;
    }

    #contact-btn {
        background: none;
    }

    /* OVERLAY MENU */

    #menu-overlay {
        display: none;
    }

    #menu-overlay ul {
        display: none;
    }

    .overlay-btns {
        display: none;
    }

    /* PAGE TITLE */

    #page-title-text {
        font-size: clamp(0.9rem, 1.2rem + 1vmin, 2rem);
        letter-spacing: 12px;
        margin: 25px 0 10px 0;
    }

    .underline {
        width: 40%;
    }

    /* FOOTER */

    #licensing p {
        font-size: 0.8rem;
    }

    #social-footer {
        margin: 5px 0 0 0;
    }

    #ham-to-phone {
        font-size: 8px;
    }

    #ham-to-instagram {
        font-size: 8px;
    }

    /* HOME */

    #slideshow-div {
        max-height: 62vh; 
        width: 90%; 
        aspect-ratio: 16 / 9;
        margin: 0 0 20px 0;
    }

    .nav {
        padding: 0.1rem 0.5rem 0.1rem 0.5rem; 
        background: none; 
    }

    /* ABOUT ME */

    #about-me-container {
        margin: 0 0  20px 0;
        padding: 30px;
    }

    #about-me-container p {
        font-size: 1.1rem;
    }

    /*  js  */

    .slide {
        object-position: 40% 80%;
    }

    #headshot {
        width: 25%;
        margin-bottom: 3px;
    }

    /* PORTFOLIO */

    #portfolio-container {
        margin: 0 auto 20px auto;
    }

    /*  js  */

    .img-frame {
        height: 20vh;
    }

    /* RATES */

    #rates-container {
        min-height: 62vh;
        margin: 0 0 20px 0;
    }

    .dropdown-content {
        padding: 20px 35px;
    }

    .dropdown-img-container {
        overflow: hidden;
        height: 30vh;
        width: auto;
        margin: 2vh auto 0 auto;
    }

    #rates-summary img {
        height: 100%;
        object-fit: cover;
    }

    /* CONTACT */

    #contact-container {
        min-height: 62vh;
        margin: 0 0 20px 0;
    }

    #contact-btns {
        width: 60%;
        max-width: 525px;
        padding: 0;
        flex-flow: row nowrap;
        justify-content: space-around;
    }

    .contact-form-btn {
        min-height: 40px;
        width: 70%;
    }

    form {
        width: 70%;
    }

    #contact-name input {
        height: 35px;
        font-size: 1rem;
    }

    #contact-message textarea {
        height: 12vh;
        min-height: 12vh;
        max-height: 15vh;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        font-size: 1rem;
        padding: 2%;
    }

    #contact-preference label {
        max-width: 350px;
        padding-left: 75px;
    }    

    #phone-input {
        width: 200px;
        font-size: 1rem;
    }

    #email-input {
        width: 200px;
        font-size: 1rem;
    }

    button[type="submit"] {
        max-width: 350px;
        margin: 1.5vh auto;
    }
    
}

@media (min-width: 1025px) {
    body {
        padding-top: 10vh; 
    }

    /* CORE STRUCTURE */

    #header-div {
        height: 10vh; 
        min-height: 50px;
        padding: 0 3%; 
        display: flex; 
        align-items: flex-end; 
        justify-content: space-between; 
    }

    #menu-overlay {
        display: none;
    }

    #page-title {
        margin: 0 auto 25px auto;
    }

    #page-content {
        height: fit-content;
    }

    #footer {
        padding: 10px 0 5px 0;
        position: static !important;
    }

    /* HEADER */

    #site-title {
        height: 100%; 
        max-height: 200px; 
        width: auto; 
        min-width: 100px; 
        margin: 0; 
        padding: 1vh 0.5%; 
        justify-content: center; 
    }

    #logo-container {
        height: 100%;
        width: 100%;
        justify-content: center;
    }

    #hamburger-btn {
        display: none;
    }

    #nav-menu, #nav-menu ul, #nav-menu li, #nav-menu button {
        display: flex;
    }

    #nav-menu button {
        background: none;
        font-size: 1.2rem;
    }

    .menu-spacer {
        height: 100%;
        width: 40px;
    }

    .menu-spacer.bookend {
        width: 32px;
    }

    /* OVERLAY MENU */

    
    #menu-overlay, #menu-overlay ul, .overlay-btns{
        display: none;
    }

    /* PAGE TITLE */

    #page-title-text {
        font-size: 2rem;
        letter-spacing: 12px;
        margin: 25px 0 10px 0;
    }

    .underline {
        width: 20%;
    }

    /* FOOTER */

    #licensing p {
        font-size: 10px;
    }

    #social-footer {
        margin: 5px 0 0 0;
    }

    #ham-to-phone {
        font-size: 8px;
    }

    #ham-to-instagram {
        font-size: 8px;
    }

    /* HOME */

    #slideshow-div {
        max-height: 69vh; 
        margin: 0 0 20px 0;
        width: 90%; 
        aspect-ratio: 16 / 9;
    }

    .nav {
        padding: 0.1rem 0.5rem 0.1rem 0.5rem; 
        background: none; 
    }

    /*  js  */

    .slide {
        object-position: 40% 80%;
    }

    /* ABOUT ME */

    #about-me-container {
        min-height: 69vh;
        margin: 0 0 20px 0;
        padding: 35px;
    }

    #about-me-container p {
        font-size: 1.2rem;
        vertical-align: middle;
        line-height: 1.365;
    }

    #headshot {
        width: 25.72%;
        margin: 0 30px 0 0;
    }

    /* PORTFOLIO */

    #portfolio-container {
        min-height: 69vh;
        margin: 0 0 20px 0;
    }

    /*  js  */

    .img-frame {
        height: 25vh;
    }

    /* RATES */

    #rates-container {
        min-height: 69vh;
        margin: 0 0 20px 0;
    }

    .dropdown-content {
        padding: 10px 35px;
    }

    .dropdown-img-container {
        overflow: hidden;
        height: 30vh;
        width: auto;
        margin: 2vh auto 0 auto;
    }

    #rates-summary img {
        height: 100%;
        object-fit: cover;
    }

    /* CONTACT */

    #contact-container {
        height: 69vh;
        margin: 0 0 20px 0;
    }

    #contact-btns {
        width: 60%;
        max-width: 525px;
        padding: 0;
        flex-flow: row nowrap;
        justify-content: space-around;
        margin: 0 auto 25px auto;
    }

    .contact-form-btn {
        min-height: 40px;
        width: 70%;
    }

    form {
        width: 70%;
    }

    #contact-name input {
        height: 35px;
        font-size: 1rem;
    }

    #contact-message textarea {
        height: 12vh;
        min-height: 12vh;
        max-height: 15vh;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        font-size: 1rem;
        padding: 2%;
    }

    #contact-preference label {
        max-width: 350px;
        padding-left: 75px;
    }    

    #phone-input {
        width: 200px;
        font-size: 1rem;
    }

    #email-input {
        width: 200px;
        font-size: 1rem;
    }

    button[type="submit"] {
        max-width: 350px;
        margin: 1.5vh auto;
    }
    
}