@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/ubuntu-300-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ubuntu-400-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/ubuntu-500-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Lekton';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lekton-400-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Lekton';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lekton-700-latin.woff2') format('woff2');
}

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #212529;
    background: #fff;
}

::selection {
    background: #060606;
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
    height: 5px;
    background-color: #eee;
}

::-webkit-scrollbar-thumb {
    background: #aeaeae;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #bbb;
    }

img, svg {
    vertical-align: middle;
}

a {
    color: #383838;
    text-decoration: none;
    transition: color .5s;
}

    a:hover, a:focus-visible {
        color: #7beec7;
    }

    a:focus-visible {
        outline: 2px solid #7beec7;
        outline-offset: 2px;
    }

p {
    margin: 0 0 16px;
    color: #111;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: .4px;
}

strong {
    font-weight: 500;
}

hr {
    width: 40px;
    height: 1px;
    margin: 0 0 20px;
    border: 0;
    background: #111;
}

.heading-1, .heading-4 {
    margin: 0 0 8px;
    padding-bottom: 5px;
    font-family: 'Lekton', sans-serif;
    letter-spacing: 1.3pt;
    line-height: 1.2;
    color: #111;
}

.heading-1 {
    font-size: 24px;
    font-weight: 700;
}

.heading-4 {
    font-size: 18px;
    font-weight: 400;
}

.text-justify {
    text-align: justify;
}

.text-center {
    text-align: center;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Grid (Bootstrap 4 compatible breakpoints) */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }

    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Layout */
main {
    padding-top: 50px;
}

.section {
    display: flow-root;
    margin-top: 46px;
}

    .section + .section {
        margin-top: 30px;
    }

.image-header img,
.portrait img {
    display: block;
    width: 100%;
    height: auto;
}

.portrait {
    display: block;
    margin: 0 0 16px;
}

.quote {
    margin: 0 0 8px;
    padding-bottom: 5px;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 1.3pt;
    color: #111;
    text-align: justify;
}

    .quote p {
        margin: 0;
        font: inherit;
        letter-spacing: inherit;
        color: inherit;
    }

    .quote cite {
        display: block;
        margin-bottom: 24px;
        font-style: italic;
    }

.spacer-lg {
    display: none;
}

@media (min-width: 992px) {
    .spacer-lg {
        display: block;
        height: 150px;
    }
}

.service-icon {
    display: block;
    width: auto;
    height: 36px;
    margin-bottom: 24px;
    overflow: visible;
    fill: currentColor;
    color: #212529;
}

/* Footer */
.footer {
    min-height: 220px;
    margin-top: 100px;
    padding-top: 8px;
    background: #f4f4f4;
}

    .footer .heading-4 {
        font-weight: 700;
        color: #000;
        text-transform: uppercase;
    }

    .footer p,
    .footer a {
        color: #787878;
    }

        .footer a:hover, .footer a:focus-visible {
            color: #7beec7;
        }

.copyright-mark {
    display: block;
    margin-top: 30px;
    color: #787878;
    letter-spacing: 2px;
}

    .copyright-mark a {
        color: #383838;
    }

/* Scroll to top */
.scroll-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s, visibility .6s;
}

    .scroll-top.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .scroll-top:hover, .scroll-top:focus-visible {
        color: #fff;
    }

    .scroll-top svg {
        width: 48px;
        height: 48px;
        fill: currentColor;
    }
