@font-face {
    font-family: 'Johnsontext';
    src: url('../fonts/JohnsonText-Regular.woff') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Johnsontext';
    src: url('../fonts/JohnsonText-Bold.woff') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Johnsontext';
    src: url('../fonts/JohnsonText-Light.woff') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Johnsontext';
    src: url('../fonts/JohnsonText-Medium.woff') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Johnsondisplay';
    src: url('../fonts/JohnsonDisplay-Medium.woff') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Johnsondisplay';
    src: url('../fonts/JohnsonDisplay-Regular.woff') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Johnsondisplay';
    src: url('../fonts/JohnsonDisplay-Light.woff') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Johnsondisplay';
    src: url('../fonts/JohnsonDisplay-Bold.woff') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Signpainterhousescript';
    src: url('../fonts/SignPainterHouseScript.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.mbJnJ-404-page {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    display: flex;
}

.mbJnJ-home-container {
    width: 100%;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #f9f8f7;
    padding: 0;
    border-radius: 0;
}

.mbJnJ-hero-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #fff;
    padding-top: 0;
    margin-bottom: 170px;
}

.mbJnJ-hero-section-title-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 5.25% 5px 5.25%; 
}

.mbJnJ-hero-section-title-wrapper h1 {
    width: 100%;
    background-color: #fff;
    font-size: 5rem !important;
    font-family: Johnsondisplay, sans-serif !important;
    line-height: 80px !important;
}

.mbJnJ-hero-container {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: row;
    align-content: stretch;
    justify-content: flex-start;
    align-items: center;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-rows: auto auto;
    grid-template-columns: minmax(440px, auto);
    grid-auto-columns: auto;
    grid-auto-flow: column;
    background-color: #fff;
    padding: 80px 0;
}

.mbJnJ-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 552px;
}

.mbJnJ-content-heading {
    z-index: 999;
    color: #000;
    font-family: Johnsondisplay, sans-serif;
    font-size: 2rem;
    font-weight: 2rem;
    line-height: 3rem;
    position: relative;
}

.mbJnJ-learn-more-button {
    z-index: 999;
    grid-column-gap: 24px;
    grid-row-gap: 24px;
    justify-content: flex-start;
    align-items: center;
    width: 45%;
    max-width: 226.931px;
    text-decoration: none;
    display: flex;
    position: relative;
}

.mbJnJ-learn-more-button:hover {
    color: #fff;
    text-decoration: underline;
}

.mbJnJ-vectors-wrapper-25 {
    object-fit: cover;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    display: flex;
}

.mbJnJ-hero-image-wrapper {
    z-index: 0;
    object-fit: cover;
    background-image: url('../images/JJ_Photo_Woman-in-virtual-meeting-at-office_JJ_2Star-1.png');
    background-position: 70%;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    width: 45%;
    height: 100%;
    min-height: 535px;
    border-radius: 0;
}

#mbJnJ-hero-image-wrapper {
    grid-area: 1 / 1 / 3 / 2;
    align-self: start;
}

.mbJnJ-content-grid-container {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-self: center !important;
    background-color: #fff;
    padding: 85px 0;
    border-radius: 0;
    margin-left: 40px;
}

.mbJnJ-content-heading-text {
    color: #564c47;
}

@media screen and (min-width: 1440px) {
    .mbJnJ-vectors-wrapper-25 {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 991px) {

    .mbJnJ-hero-container {
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-bottom: 0;
    }

    .mbJnJ-hero-section-title-wrapper h1 {
        font-size: 3rem !important;
    }

    .mbJnJ-content-wrapper {
        padding: 0 5.25%;
        max-width: 100%;
    }

    .mbJnJ-content-heading {
        font-size: 1.75em;
        line-height: 2rem;
    }

    .mbJnJ-learn-more-button {
        grid-column-gap: 18px;
        grid-row-gap: 18px;
        width: 50%;
    }

    .mbJnJ-vectors-wrapper-25 {
        width: 40px;
        height: 40px;
    }

    .mbJnJ-hero-image-wrapper {
        width: 100%;
        height: 60%;
        right: auto;
    }

    .mbJnJ-content-grid-container {
        width: 100% !important;
        margin-left: 0;
    }
}

@media screen and (max-width: 767px) {

    .mbJnJ-content-wrapper {
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        width: 100%;
        height: auto;
        padding: 5%;
        top: 0%;
        bottom: 0%;
        left: 0%;
        right: 0%;
    }

    .mbJnJ-content-heading {
        font-size: 1.75em;
        line-height: 1.25em;
    }

    .mbJnJ-learn-more-button {
        width: 40%;
    }

    .mbJnJ-hero-image-wrapper {
        width: 100%;
        height: 55%;
    }

    .mbJnJ-content-grid-container {
        height: 80%;
        padding: 30px 0;
    }

    #mbJnJ-content-grid-container {
        grid-row-end: 2;
        align-self: stretch;
        justify-self: start;
    }

    .mbJnJ-hero-container {
        grid-template-rows: auto auto;
        grid-template-columns: auto;
        align-content: stretch;
        justify-content: stretch;
        align-items: stretch;
        justify-items: stretch;
    }
}

@media screen and (max-width: 479px) {
    .mbJnJ-hero-section {
        padding-bottom: 0 !important;
    }

    .mbJnJ-content-wrapper {
        padding-top: 10%;
        padding-bottom: 10%;
    }

    .mbJnJ-content-heading {
        font-size: 1.25em;
    }

    .mbJnJ-learn-more-button {
        width: 65%;
    }

    .mbJnJ-vectors-wrapper-25 {
        width: 30px;
        height: 30px;
    }

    .mbJnJ-hero-image-wrapper {
        width: 100%;
        height: 50%;
        bottom: auto;
        right: auto;
    }

    #mbJnJ-hero-image-wrapper {
        grid-row-start: 1;
        align-self: end;
    }

    .mbJnJ-content-grid-container {
        height: 85%;
        padding: 60px 0 !important;
    }

    .mbJnJ-hero-container {
        grid-template-rows: auto auto;
    }
}