html {
    scroll-padding-top: calc(4.5rem - 1px);
}

body {
    letter-spacing: 0.0625em;
}

small, .small {
    line-height: 1!important;
    display: inline-block;
    letter-spacing: 0.1px;
}

td small, td .small {
    font-size: 0.75em;
}

#mainNav {
    min-height: 3.5rem;
    background-color: #fff;
}

#mainNav .navbar-toggler {
    font-size: 80%;
    padding: 0.75rem;
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

#mainNav .navbar-toggler:focus {
    outline: none;
}

#mainNav .navbar-brand {
    color: #000;
    font-weight: 700;
    padding: 0.9rem 0;
}

#mainNav .navbar-nav .nav-item:hover {
    color: fade(#fff, 80%);
    outline: none;
    background-color: transparent;
}

#mainNav .navbar-nav .nav-item:active,
#mainNav .navbar-nav .nav-item:focus {
    outline: none;
    background-color: transparent;
}

.btn {
    box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
    padding: 1.25rem 2rem;
    font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    border: 0;
}

.masthead {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 40rem;
    padding: 10rem 0;
    background-color: #000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 75%, #000 100%), url("../assets/img/hair-ex__hero--cover.jpg"), linear-gradient(45deg, black, black);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.masthead h1,
.masthead .h1 {
    font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1.4rem;
    line-height: 1.4rem;
    color: #ababab;
    letter-spacing: 0.4rem;
}

.masthead h1 small, .masthead .h1 small {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    -webkit-text-fill-color: #999999;
    margin-bottom: 1.75em;
    letter-spacing: 0.1em;
}

.masthead h1 small a, .masthead .h1 small a {
    text-decoration: none;
}

.masthead h2,
.masthead .h2 {
    max-width: 20rem;
    font-size: 1rem;
}

.about-section {
    padding-top: 0;
    background: rgb(0 0 0);
}

.projects-section {
    padding: 2rem 0;
}

.projects-section .featured-text {
    padding: 1rem 0 2rem;
}

.projects-section .project-text {
    padding: 1rem 1rem 1.5rem;
    font-size: 90%;
}

.signup-section {
    padding: 2.5rem 0 7em;
    padding: 10rem 0 5em;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 75%, #000 100%), url("../assets/img/hair-ex__newsletter--cover.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.contact-section {
    padding-top: 5rem;
}

.contact-section .card {
    border: 0;
    border-bottom: 0.25rem solid var(--bs-primary);
}

.contact-section .card h4,
.contact-section .card .h4 {
    font-size: 0.8rem;
    font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

.contact-section .card hr {
    border-color: var(--bs-primary);
    border-width: 0.25rem;
    width: 3rem;
}

.contact-section .social {
    margin-top: 5rem;
}

.contact-section .social a {
    text-align: center;
    height: 3rem;
    width: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100%;
    line-height: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.contact-section .social a:hover {
    color: rgba(255, 255, 255, 0.5);
}

.contact-section .social a:active {
    color: #fff;
}

.footer {
    padding: 5rem 0;
}

.img-logo {
    max-height: 130px;
    margin-bottom: 2em;
}

.img-product-logo {
    max-width: 200px;
    clear: both;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

#about {
    background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.9) 65%, rgba(0, 0, 0, 0.8) 100%);
}

#products {
/*
    background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.9) 75%, rgba(0, 0, 0, 0.8) 100%);
*/
    text-align: center;
    background: linear-gradient(to bottom, #292929 0%, rgb(41 41 41 / 20%) 47%, rgb(10 10 10 / 78%) 100%);
    background-color: #223f48;
    padding: 5em 0 3.5em;
    box-shadow: 0 -0.5em 1em #292929;
    z-index: +1;
    position: relative;
    border-bottom: 0.15em solid var(--bs-primary);
}

#services {
}

table tr td + td {
    text-align: right;
}

@media (min-width: 768px) {

    .masthead h1,
    .masthead .h1 {
        font-size: 4rem;
        line-height: 4rem;
    }
}

@media (min-width: 992px) {
    #mainNav {
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: none;
        background-color: transparent;
        transition: background-color 0.3s ease-in-out;
    }

    #mainNav .navbar-brand {
        padding: 0.5rem 0;
        color: rgba(255, 255, 255, 0.5);
    }

    #mainNav .nav-link {
        transition: none;
        padding: 2rem 1.5rem;
        color: rgba(255, 255, 255, 0.5);
    }

    #mainNav .nav-link:hover {
        color: rgba(255, 255, 255, 0.75);
    }

    #mainNav .nav-link:active {
        color: #fff;
    }

    #mainNav.navbar-shrink {
        background-color: #fff;
    }

    #mainNav.navbar-shrink .navbar-brand {
        color: #000;
    }

    #mainNav.navbar-shrink .nav-link {
        color: #000;
        padding: 1.5rem 1.5rem 1.25rem;
        border-bottom: 0.25rem solid transparent;
    }

    #mainNav.navbar-shrink .nav-link:hover {
        color: var(--bs-primary);
    }

    #mainNav.navbar-shrink .nav-link:active {
        color: #467370;
    }

    #mainNav.navbar-shrink .nav-link.active {
        color: var(--bs-primary);
        outline: none;
        border-bottom: 0.25rem solid var(--bs-primary);
    }

    .masthead {
        min-height: 35rem;
        height: 100vh;
        padding: 0;
    }

    .masthead h1,
    .masthead .h1 {
        font-size: 4.5rem;
        line-height: 4.5rem;
        letter-spacing: 0.4rem;
        background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        background-clip: text;
    }

    .masthead h1 small, .masthead .h1 small {
        font-size: 14px;
    }

    .masthead h2,
    .masthead .h2 {
        max-width: 30rem;
        font-size: 1.25rem;
    }

    .about-section {
        padding-top: 10rem;
    }

    .projects-section {
        padding: 3rem 0;
    }
    
    .projects-section .featured-text {
        padding: 0 0 0 2rem;
        border-left: 0.5rem solid var(--bs-primary);
    }

    .projects-section .project-text {
        padding: 2rem 5rem;
    }

    .projects-section .project-text hr {
        border-color: var(--bs-primary);
        border-width: 0.25rem;
        width: 30%;
    }
    
    #products {
        background: linear-gradient(to bottom, #292929 0%, rgb(41 41 41 / 65%) 52%, rgb(10 10 10 / 78%) 100%);
        background-color: #223f48;
        border-bottom: 0.425em solid var(--bs-primary);
        box-shadow: 0 -3em 2em #292929;
    }
    
    #services {
    }

    .signup-section {
        padding: 8rem 0 5em;
    }

}