html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Georgia, 'Times New Roman', Times, serif !important;
    background-color: #fff7f2 !important;
}

.page-bg { 
    position: relative; 
    --bg-vert-pad: 50px;
    --bg-max-height: 2100px;
}

.page-bg::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;

    /* Acts like vertical margins for the background layer */
    top: var(--bg-vert-pad);
    bottom: var(--bg-vert-pad);

    background-image: url("soh-logo.png");
    background-repeat: no-repeat;
    background-position: center;

    /* Key: fit to the pseudo-element’s height, but cap it */
    background-size: auto clamp(0px, 100%, var(--bg-max-height));

    opacity: .15;
    pointer-events: none;
    z-index: 0;
}

/* ensure the content sits above the pseudo-element */
.page-bg > * { 
    position: relative;
    z-index: 1;
}

.italiana-regular {
    font-family: "Italiana", sans-serif;
    font-style: normal;
}

.italiana-regular-spaced {
    font-family: "Italiana", sans-serif;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 5px;
}

.corinthia-regular {
    font-family: "Corinthia", cursive;
    font-weight: 400;
    font-style: normal;
}

.corinthia-bold {
    font-family: "Corinthia", cursive;
    font-weight: 700;
    font-style: normal;

    &.header-text {
        font-size: 4.5rem;
    }
}

.homepage-main-img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

div.homepage-section {
    background-color: #fff7f2;
    max-height: 1200px;
    width: 100%;
    max-width: 100%;

    .cursive-header {
        color: black;
        font-size: 75px;

        @media (max-width: 768px) {
            text-align: center;
        }
    }

    &.homepage-services-section {
        max-width: 100%;
        background-color: #fff7f2;
        padding: 20px 0px 30px 0px;
    }

    &.homepage-about-section {
        background-color: #ffe3db;
        padding: 50px 0px;

        & > div.row {
            justify-content: center;
            align-items: center;

            & > .homepage-about-pic {
                text-align: center;
            
                & > img {
                    width: 100%;
                    box-shadow: #665140 0px 0px 7px 1px;
                }
            }
        }
    }
    
    &.homepage-faq-section {
        background-color: #fff7f2;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px;

        .faq {
            h4 {
                font-size: 1.25rem;
                font-weight: 700;
                color: #2f1700;
            }

            p {
                font-size: 1.125rem;
            }
        }

        .faq-text {
            padding: 20px 0px;
        }

        .read-more-skin-prep {
            font-size: 1.25rem;
            background-color: #d9ad8c;
            padding: 10px 40px;
            border-radius: 50px;
            color: #2f1700;
            width: fit-content;
            align-self: center;
            margin-top: 30px;
            text-decoration: none;

            &:hover {
                background-color: #c9a182;
                color: #190c00;
            }
        }

        div.col-sm-12.col-md-5 {
            text-align: center;

            .tan-process-img {
                width: 90%;
                border: #2f1700 2px solid;
                box-shadow: 0 0 15px 0 #9d948c;

                @media (max-width: 768px) {
                    display: none;
                }
            }
        }
    }

    .homepage-section-text {
    font-size: 22px;
    text-align: start;
    padding-left: 30px;

    a {
        color: #665140;
        text-decoration: none;
    }

        /* col-sm */
        @media (max-width: 768px) {
            text-align: center;
            padding: 0px 50px;
        }
    }
}

.studio-tan, .mobile-tan, .bridal-tan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 5px;

    & > p {
        padding-top: 10px;
        color: #665140;
        font-size: 22px;
        font-weight: 500;
    }

    & > .learn-more-btn {
        font-size: 20px;
        font-weight: 500;
        text-decoration: none;
        color: #504033;
        background-color: #c39b7d;
        padding: 15px 60px;
        border-radius: 10px;
        box-shadow: #665140 0px 0px 7px 1px;

        &:hover {
            color: #2f261f;
            background-color: #b89276;
        }
    }
}

.homepage-top-section {
    background-image: url("tan-arm-homepage-dimmed.png");
    background-repeat: no-repeat;
    background-position: 0px 80px;
    background-size: 100% auto;
    aspect-ratio: 2 / 1;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .homepage-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        margin-top: 80px;
    }
}

.homepage-text {
    color: #fff7f2;
    text-align: center;

    .homepage-text-header {
        font-size: 8vw;
        text-shadow: rgb(28 22 16) 0px 0px 15px;
    }

    .homepage-text-subheader {
        font-size: 3.5vw;
        text-shadow: rgb(28 22 16) 0px 0px 15px;
    }

    a.homepage-contact {
        color: #fff7f2;
        text-decoration: none;
        margin-top: 100px;
        padding: 20px 80px;
        border: 2px solid #fff7f2;

        & > h4 {
            margin-bottom: 0;
        }
    }
}


#navbar {
    position: absolute;
    top: 0;
    overflow: hidden;
    width: 100%;
    z-index: 2;
    padding: 15px;

    background-color: #2f1700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

    &.scrolled {
        position: fixed;
    }

    & > div.container {
        @media only screen and (max-width: 768px) {
            max-width: 100%;
        }
    }
}



#navbar a {
    color: #f6e4d4;
    text-decoration: none;
    font-size: 20px;
    text-align: center;

    &:hover {
        color: #dbc2ac;
    }

    @media only screen and (max-width: 651px) {
        font-size: 15px;
    }
}


#navbar .container {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 6%;
}

#navbar #navbar-logo {
    margin-right: auto;

    img {
        max-height: 50px;
    }
}

#navbar #book-link {
    background-color: #f6e4d4;
    padding: 10px 30px;
    border-radius: 50px;
    color: #2f1700;

    &:hover {
        background-color: #dbc2ac;
        color: #190c00;
    }

    @media only screen and (max-width: 651px) {
        padding: 10px 15px;
    }
}

.container {
    max-width: 1200px;
    margin: auto;
}

.content-container {
    width: 78%;
    margin: auto;
}

#main-content {
    padding-bottom: 40px;
}

div.header-text {
    margin-top: 80px;
}

.header-text {
    font-size: 42px;
    font-weight: 600;
    margin: 30px auto 5px auto;
    text-align: center;
}

.subheader-text {
    font-size: x-large;
    margin: 30px 0 5px 0;

    @media only screen and (min-width: 768px) {
        margin: 10px 0 5px 0;
    }
}

.explanation {
    padding-top: 30px;
    padding-bottom: 5px
}

.headshot {
    width: 30%;
    height: auto;
}

.headshot img {
    width: 90%;
    max-width: 300px;
}

.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px 20px;
    padding: 20px 0 20px 0;
    background-color: rgb(251, 246, 243, 0.7);
    box-shadow: 0 0 15px 0 #ababab;
    border-radius: 20px;
    margin: 10px auto 25px auto;

    transition: transform 0.5s ease-in-out;
    &:hover {
        transform: scale(1.02);
    }
}

.about-txt {
    width: 50%;
    font-size: 20px;

    @media only screen and (max-width: 768px) {
        font-size: 16px;
    }
}

.about-header {
    padding-top: 20px;
}

#sunless-services, #mobile-services, #bridal-services {
    scroll-margin-top: 95px;
}

.services-header {
    padding: 10px 40px;
}

.headshot-title {
    font-size: 20px;
    padding-bottom: 5px;
    font-family: Snell Roundhand;
}

.img-container.headshot {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-container.headshot img {
    border: 3px solid #45392E;
}

.error {
    color: red;
    font-size: 0.9em;
}
  
.error-list {
    color: red;
    list-style-type: none;
}

label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
    width: 100%;
    padding: 0.4rem;
    margin-top: 0.2rem;
    box-sizing: border-box;
}

input[type="email"] {
    margin-bottom: 2rem;
}

.error {
    color: #b00020;
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.flashes {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

button[type="submit"] {
    margin-top: 1.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
}

/* Consent checkbox styling */
.consent-label {
    font-weight: normal;
    margin-top: 1rem;
}

.consent-label input {
    margin-right: 0.5rem;
}

.required {
    color: red;
    padding-left: 3px;
}

.consultation-form .two-field-line {
    display: flex;
    column-gap: 6%;
    justify-content: space-between;

    & > div {
        flex-grow: 1;
        max-width: 47%;
    }
}

.yes-no-header {
    font-size: 22px;
    font-weight: 600;
    display: flex;

    & > #yes-no-main {
        flex-grow: 1;
    }

    & > .yes-no-options {
        min-width: 15%;
        display: flex;
        justify-content: space-between;

        & > .option-yes {
            padding-left: 7px;
        }

        & > .option-no {
            padding-right: 10px;
        }
    }
}

fieldset.yes-no-fieldset {
    padding: 10px 0px;
}

.yes-no-qa {
    & > legend {
        font-size: 18px;
        margin: 0;
    }

    & > ul {
        min-width: 15%;
        padding-left: 0;
        list-style-type: none;
        display: flex;
        justify-content: space-between;
        margin: 0;

        & > li {
            display: flex;
            padding: 0px 20px;
            transform: scale(1.75); /* Increases size by 50% */
            -webkit-transform: scale(1.75); /* For older WebKit browsers like Safari and Chrome */
            -ms-transform: scale(1.75); /* For Internet Explorer 9 */
        }
    }
}

.sticky-footer {
    display: flex;
    position: sticky;
    z-index: 2;
    bottom: 0px;
    background-color: #fff7f2;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    border-top: 2px solid #2f1700;
}

.phone-container, .insta-container {
    display: flex;
    flex-direction: column;
    align-items: center;

    .icon {
        padding-bottom: 2px;
    }
}

.phone-text {
    border: 1px solid #45392E;
    padding: 10px 20px;
}

.insta-text {
    border: 1px solid #45392E;
    border-left-width: 0px;
    padding: 10px 20px;  
}

.phone-text, .insta-text {
    text-align: center;
    font-size: 15px;
}

.service-title {
    border: 1px solid #45392E;
    border-left-width: 0px;
    border-right-width: 0px;
    font-size: 56px;
    font-weight: 100;
    padding: 10px;
    margin: 30px 0 20px 0;
}

.service-block {
    text-align: center;
    background-color: #f6e3d4;
    box-shadow: 0px 0px 15px 0px #45392E;
    border-radius: 20px;
    padding: 1px 0px 25px 0px;
    margin: 25px 0px 45px 0px;
}

.bulletless {
    list-style-type: none;
}

.list-item {
    display: flex;
    padding-top: 15px;
}

.service-price {
    margin-left: auto;
}

.service-list {
    width: 50%;
    margin: auto;
    padding-left: 0;
}

.service-list.left {
    text-align: start;
}

.service-block.complementary {
    padding-top: 25px;
    margin-top: 15px;
}

.list-item-complementary {
    padding: 10px 0 10px 0;
}

.service-subtitle {
    font-size: 36px;
    margin: 0 0 10px 0;
    font-weight: 100;
    text-transform: uppercase;
    padding: 0px 20px;
}

.service-note.mobile {
    padding: 15px 0 0 0;
}

.contact-form-header {
    padding: 10px 0px;
    color: #8c6338;

    & div.vr {
        height: 115px;
        opacity: 1.0;
    }
}

.contact-form.subheader-text {
    text-align: center;
    font-size: xx-large;
}

.contact-form.subheader-text-sm {
    text-align: center;
    font-size: large;
}

.contact.explanation {
    text-align: center;
    color: black;
}

.contact.subheader-text {
    padding-top: 25px;
    width: 60%;
    margin: auto;
}

.consultation-form {
    width: 70%;
    margin: 120px auto 0px auto;
    padding: 5px 50px 25px 50px;
    background-color: rgba(255, 253, 252, 0.85);
    border-radius: 20px;
    box-shadow: 0 0 15px 0 #ababab;
}

fieldset > ul {
    list-style-type: none;

    & > li > label {
        display: inline;
    }
}

.submit-container {
    text-align: center;

    & > .btn-submit {
        padding: 5px 15px;
        font-size: medium;
        color: #fff7f2;
        background-color: #2f1700;
        border-radius: 5px;
    }
}

.insta-link {
    text-decoration: none;
    color: #45392E;

    &:visited {
        color: #45392E;
    }
}

.homepage-banner {
    width: 80%;
    margin: 50px auto;
    background-color: rgb(177, 67, 33, 0.9); /* rgb(169 202 227); */

    border-radius: 50px;

    box-shadow: 0 0 15px 0 #ababab;
    transition: transform 0.5s ease-in-out;

    &:hover {
        transform: scale(1.02);
    }

    & > .homepage-banner-link {
        display: flex;
        justify-content: flex-end;
        text-decoration: none;
    }
}

.home-img {
    max-width: 500px;

    &.tan-comparison-img {
        width: 100%;
        padding-right: 45px;
        filter: drop-shadow(0 0 1px rgb(255, 255, 255, 0.75))   /* Top-left */
                drop-shadow(0 0 1px rgb(255, 255, 255, 0.75))   /* Top-right */
                drop-shadow(0 0 1px rgb(255, 255, 255, 0.75))   /* Bottom-left */
                drop-shadow(0 0 1px rgb(255, 255, 255, 0.75));  /* Bottom-right */
    }
}

.banner-text {
    color: white;

    flex-grow: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 20px 10px 35px;

    & .banner-header-text {
        font-size: 4vw;
        font-weight: 600;
    }

    & .banner-subheader-text {
        font-size: 2vw;
    }
}

.banner-img {
    width: 40%;

    @media (max-width: 768px) {
        width: 80%;
    }
}

.banner-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#skin-prep-accordion {
    --bs-accordion-active-bg: #ffe3db;
    --bs-accordion-active-color: #b96c57;
    --bs-border-radius: 20px;
    margin-bottom: 30px;

    .accordion-button {
        padding: 30px;
        font-size: 1.5rem;
    }
}

.copyright-footer {
    color: #2f1700;
    display: flex;
    justify-content: center;

    & > div {
        font-size: 12px;
        padding: 10px 5px;

        & > a {
            text-decoration: none;
            color: #2f1700;
        }
    }
}
