* {
    box-sizing: border-box;
    text-decoration: none;
}

/*@font-face {*/
/*    font-family: 'josefin_sansbold';*/
/*    src: url('josefinsans-bold-webfont.woff2') format('woff2'),*/
/*    url('josefinsans-bold-webfont.woff') format('woff');*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*}*/

@font-face {
    font-family: 'josefin_sansregular';
    src: url('josefinsans-regular-webfont.woff2') format('woff2'),
    url('josefinsans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: Arial, sans-serif;
    /*font-optical-sizing: auto;*/
    /*font-weight: 400;*/
    font-style: normal;
    font-size: 18px;
    margin: 0;
    width: 100%;
    border-top: 8px solid #0A748C;
}

header {
    font-family: "josefin_sansregular", sans-serif;
    background: #24B4D5;
    background: linear-gradient(90deg,rgba(36, 180, 213, 1) 0%, rgba(12, 148, 179, 1) 55%, rgba(159, 229, 245, 1) 100%);
    color: white;
    padding: 2em 3em 1em 3em;
    text-align: center;
}

img.person-img {
    max-width: 300px;
    height: auto;
    border-radius: 0.5em;
    box-shadow: 5px 5px 18px -5px rgba(0,0,0,0.69);
}

@media (max-width: 640px) {
    header {
        padding: 1.5em;
    }
    nav {
       font-size: 140%;
    }

    img.person-img {
        max-width: 200px;
    }
}

@media (max-width: 700px) {
    img.person-img {
        max-width: 200px;
    }
}

@media (max-width: 400px) {
    img.person-img {
        max-width: 150px;
        margin-left: 0.2em;
    }
}

nav {
    background-color: #333;
    padding: 0.2em;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a,
nav ul li a:link,
nav ul li a:visited {
    color: white;
    text-decoration: none;
    padding: 0.8em 0.6em;
    display: block;
    animation: ease-in-out 0.5s;
}

nav ul li a:hover {
    background-color: #575757;
    border-radius: 4px;
    transition: all 0.2s;
}

.main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 1em;
}

.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 1em;
    margin-top: 20px;
    height: 400px;
    width: 100%;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

h1 .heading {
    text-transform: uppercase;
    /*display: block;*/
}

h2 {
    color: #24b4d5;
}

a:link, a:visited {
    color: #30de32;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

img {
    max-width: 100%;
}

img.right {
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
}

p.highlighted {
    padding: 0.5em;
    font-size: 120%;
    margin: 0.5em 0;
}

section ul {
    list-style-type: square;
    li {
        margin-bottom: 0.5em;
    }
    li::marker {
        color: #24B4D5;
    }
}
span.price {
    font-weight: bold;
    font-size: 110%;
}

a.vcard-download {
    display: inline-block;
    padding: 1em;
    background: #24B4D5;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1em;
}

a.vcard-download:hover {
    background: #0A748C;
}

p {
    line-height: 1.5em;
}

ul.image-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    li {
        margin: 0.1em;
        padding: 0;
    }
    li img {
        border-radius: 0.5em;
        max-width: 280px;
        padding: 0;
        margin: 0;
    }
}

footer {
    margin-top: 2em;
    border-top: 8px solid #0A748C;
    padding: 2em;
    text-align: center;
    color: #000;
    background: #24B4D5;
    background: linear-gradient(30deg, rgba(36, 180, 213, 1) 0%, rgba(12, 148, 179, 1) 55%, rgba(159, 229, 245, 1) 100%);
}

.top-link,
.top-link:active,
.top-link:link,
.top-link:visited,
.top-link:hover {
    color: white;
    background: #333;
    padding: 0.8em 0.6em;
    display: inline-block;
    text-decoration: none;
}

.alert {
    font-size: 120%;
    padding: 1em;
    box-shadow: 5px 5px 18px -5px rgba(0,0,0,0.49);
}

.alert--warning {
    border-radius: 0.5em;
    color: #e52d1a;
}

body.error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 0;
}

body.error main {
    align-self: flex-end;
    margin-top: 10%;
}

body.error--404 {

}
