:root {
    --highlighted: #547c8e;
    --text-font: "Montserrat", sans-serif;
    --header-font: "Cormorant Garamond", serif;
    --primary: #385e71;
    --button-bg: #2c4a59;
    --button-bg-highlighted: #2e4f60;
    --text: #555;
    --banner-height: 100vh;
}

html {
    color: var(--text);
    font-family: var(--text-font);
}

html body {
    margin: 0
}

a {
    color: var(--primary);
    font-family: var(--text-font);
    font-weight: 400;
    text-decoration: none;
    transition: color ease .3s;
}

a:hover {
    text-decoration: underline;
    color: var(--highlighted);
}

a.button {
    background-color: var(--button-bg);
    padding: 1em;
    color: #fff;
    display: block;
    transition: background-color ease .3s;
}

a.button:hover {
    background-color: var(--button-bg-highlighted);
    text-decoration: none;
    color: #fff;
}

main {
    margin-top: var(--banner-height);
    background-color: #fff;
    z-index: 1;
    position: relative;
    padding: 1em 1em 50px 1em;
}

main h1,
main h2,
main h3 {
    font-weight: 600;
}

main section {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2em;
    width: 100%;
}

main section:not(:first-of-type) {
    margin-top: 50px
}

section#services ul li {
    line-height: 1.5rem;
}

section#location table td:first-of-type {
    width: 10rem;
}

section#contact p {
    line-height: 1.5rem;
}

.banner {
    height: var(--banner-height);
    z-index: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: var(--banner-height);
    overflow: hidden;
    background-image: url("../img/background.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover
}

#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    position: relative;
    width: 100%;
    height: var(--banner-height);
    top: 0;
    left: 0;
}

#hero h1 {
    font-size: 2em;
}
#hero h1,
#hero h2 {
    color: #fff;
    text-align: center;
    font-family: var(--header-font);
    font-weight: 300;
}

ul {
    list-style-type: none;
    padding-left: 1.5em;
}

ul li::before {
    content: "\2022";
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--header-font);
}

footer {
    background-color: var(--primary);
    color: white;
    padding: 1% 10% 1% 10%;
    min-height: 100px;
    text-align: center;
    position: relative;
    z-index: 1
}

footer .flex {
    display: flex;
    margin: 1em;
    justify-content: space-between;
    flex-direction: column;
}

footer #kbo {
    font-size: .7rem;
}

@font-face {
    font-family: Montserrat;
    src: url('../fonts/montserrat.ttf');
}


@media (min-width: 768px) {
    #hero h1 {
        font-size: 3em;
    }
}

@media (min-width: 769px) {
    footer .flex {
        flex-direction: row;
    }

    footer #kbo {
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    main section {
        width: 70%
    }
}

@media (min-width: 1025px) {
    main section {
        width: 500px;
    }
}