html {
    min-height: 100vh;
}
body {
    background: white;
    /*background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.5) 100%), url(/media/palm-bkg.jpg);*/
    background-size: cover;
    background-attachment: fixed;
}
.s1-bleed:not(.accent-bg) *:not(.btn) {
    color: white;
}

.s1-bleed.about {
    position: relative;
    padding: 6rem 0;
    margin: 10rem 0 0rem 0;
}
.s1-bleed-right,
.s1-bleed-left {
    margin-top: 1.4rem;
    margin-bottom: 1.4rem;
}
.s1-bleed-right {
    margin-right: 1.4rem;
}
.s1-bleed-left {
    margin-left: 1.4rem;
}
.s1-bleed-right .s1-outer {
    background: var(--s1-accent);
    padding: 2.8rem !important;
}
.s1-bleed-left .s1-outer {
    background: var(--bs-gray-200);
    padding: 2.8rem !important;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-wrap: balance;
}
h1 {
    font-size: 2.4rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.8rem;
}
h4 {
    font-size: 1.6rem;
}
h5 {
    font-size: 1.4rem;
}
h6 {
    font-size: 1.2rem;
}
h1, h2 {
    margin: 4rem 0 3rem 0;
}
h3, h4 {
    margin: 3.2rem 0 2.6rem 0;
}
h4 {
    color: var(--bs-gray-700);
}
h5, h6 {
    margin: 2.6rem 0 2rem 0;
    color: var(--bs-gray-500);
}
textarea.form-control {
    min-height: 8rem;
}
.btn {
    --bs-btn-padding-x: 1.6rem;
    font-weight: 200;
}
.social .btn {
    --bs-btn-padding-x: 0.2rem;
    border: none;
}
.social .btn-primary:hover {
    background: transparent;
}
.btn.btn-link {
    color: var(--s1-accent);
    text-decoration: none;
}

.btn .icon {
    font-size: 110%;
    top: -1px;
    position: relative;
    margin: 0 4px;
}

.form-control {
    color: var(--bs-gray-400);
    background-color: transparent;
    border: var(--bs-border-width) solid var(--bs-gray-400);
}
.form-control:focus {
    color: var(--bs-gray-400);
    border-color: var(--s1-accent);
}
header {
    padding: 1.4rem 0 1.4rem 0;
    position: sticky;
    top: 0;
    background: white;
    z-index: 99;
}

main {
    padding-top: 1rem;
    overflow: hidden;
}
.main_menu .btn-link {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 1.2rem;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    color: var(--bs-gray-400);
}


.offcanvas, .offcanvas-lg, .offcanvas-md, .offcanvas-sm, .offcanvas-xl, .offcanvas-xxl {
    --bs-offcanvas-width: 320px;
    --bs-offcanvas-bg: var(--bs-white);
}
.offcanvas-header {
    padding-left: calc(var(--bs-offcanvas-padding-y) + 20px );
}
.offcanvas .nav a {
    text-transform: uppercase;
}

.img-box-1,
.img-box-2 {
    position: relative;
}
.img-box-1 img,
.img-box-2 img {
    border: 1.2rem solid white;
    position: relative;
    z-index: 1;
}
.img-box-1:before,
.img-box-2:before {
    content: '';
    position: absolute;
    top: auto;
    right: 0;
    bottom: -5%;
    left: -10%;
    width: 85%;
    height: 18%;
    background-image: url('/media/bkg-lines-high.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 2;
}


.img-box-2:before {
    bottom: -10%;
    left: -10%;
    width: 90%;
    height: 80%;
    background-image: url('/media/bkg-lines-high.svg');
    z-index: 0;
}

.feature-box {
    background-color: var(--bs-gray-500);
    border: 1.2rem solid white;
    padding: 1.2rem 1.4rem;
    width: 100%;
    position: relative;
    z-index: 1;
    margin: 0;
}
.feature-box h1 {
    margin: 2rem 0 2rem 0;
}
.motif-top,
.motif-bottom {
    position: relative;
}
.motif-top:before,
.motif-bottom:after {
    content: '';
    position: absolute;
    top: -4rem;
    right: 0;
    bottom: auto;
    left: auto;
    width: 200px;
    height: 200px;
    background-image: url('/media/brushes-1.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.motif-bottom:after {
    top: auto;
    right: auto;
    bottom: -10rem;
    left: 10rem;
    width: 200px;
    height: 200px;
    background-image: url('/media/brushes-2.svg');
}



.about > .row {
    margin-top: -12rem;
}
.about .profile {
    border-radius: 9999px;
    border: 6px solid var(--s1-accent);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.6rem;
    display: block;
}

.s1-bleed#contact-us {
    background: var(--bs-gray-400);
}


.accent-bg {
    background-color: var(--s1-accent);
}

.card {
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--s1-primary);
}
.services {
    margin-top: -1rem;
    padding: 3rem 0 2rem 0;
}
.services > .row {
    row-gap: 1.6rem;
}


.map-container {
    height: 680px;
}

footer {
    font-size: 90%;
}
footer > .container {
    background: var(--s1-primary);
    padding: 3rem 2rem 2rem 2rem;
    margin-top: 4rem;
    color: var(--bs-white);
}
footer > .container > .row + .row {
    padding-top: 3rem;
}
footer h3 {
    margin-top: 0;
}
footer h5 {
    margin: 2rem 0 1rem 0;
}
footer a {
    color: var(--bs-white);
    transition: all .3s;
}
.btn.btn-outline-secondary:hover {
    color: var(--bs-black);
}
a:hover,
a:active,
a:focus,
.btn:hover,
.btn:active,
.btn:focus,
.main_menu .btn-link:hover,
.main_menu .btn-link:active,
.main_menu .btn-link:focus {
    color: var(--s1-accent);
}
.accent-bg a:hover,
.accent-bg a:active,
.accent-bg a:focus,
.accent-bg .btn:hover,
.accent-bg .btn:active,
.accent-bg .btn:focus {
    color: var(--bs-gray-500);
}

@media (width <= 576px) {
    .map {
        grid-column: full-width !important;
    }
    .nav.foot {
        margin-bottom: 1rem;
    }
}
@media (width >= 576px) {
    h1 {
        font-size: 3.2rem;
    }
    h2 {
        font-size: 2.8rem;
    }
    h3 {
        font-size: 2.4rem;
    }
    h4 {
        font-size: 2rem;
    }
    h5 {
        font-size: 1.6rem;
    }
    h6 {
        font-size: 1.2rem;
    }
    main {
        padding-top: 4rem;
    }
    .img-box-1,
    .img-box-2 {
        margin-right: -12vw;
        margin-left: -6vw;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .img-box-2 {
        margin-right: -10vw;
        margin-left: 6vw;
    }
    .feature-box {
        margin: 6vh 0;
    }
    .feature-box h1 {
        font-size: 3.6rem;
    }
    .services {
        margin-top: -4rem;
        padding: 6rem 0 4rem 0;
    }
}
@media (width >= 768px) {
    .s1-bleed.about {
        margin: 12rem 0 6rem 0;
    }
    .about .profile {
        max-width: 400px;
    }
    .s1-bleed.about {
        background: none;
    }
    .s1-bleed.about:before,
    .s1-bleed.about:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: var(--s1-primary);
        background: linear-gradient(135deg, lch(var(--s1-primary-l) var(--s1-primary-ch)) 60%, lch(calc(var(--s1-primary-l) + 10 ) var(--s1-primary-ch)) 100%);
        z-index: -1;
    }
    .s1-bleed.about:before {
        grid-column: full-width / center;
    }
    .s1-bleed.about:after {
        grid-column: center / full-width;
    }
    footer > .container {
        padding: 3rem 6rem 2rem 6rem;
    }
    .feature-box {
        padding: 1.2rem 2rem;
        width: 30vw;
    }
}
