:root {
    --border-radius: var(--spacing);
    --spacing: 12px;
    --spacing-sm: 6px;
    --spacing-lg: 18px;
    --spacing-xl: 24px;
    --double-spacing: 24px;
}

@font-face {
    font-family: "Raleway";
    src: url("../fonts/Raleway-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Raleway";
    src: url("../fonts/Raleway-Bold.woff2") format("woff2");
    font-weight: bold;
}

@font-face {
    font-family: "Raleway";
    src: url("../fonts/Raleway-SemiBold.woff2") format("woff2");
    font-weight: 600;
}

@font-face {
    font-family: "Raleway";
    src: url("../fonts/Raleway-Thin.woff2") format("woff2");
    font-weight: 300;
}

@font-face {
    font-family: "Goudy Bookletter 1911";
    src: url("../fonts/goudy_bookletter_1911-webfont.woff") format("woff");
}

* {
    box-sizing: border-box;
}

html {
    font-family: Raleway, sans-serif;
}

body {
    margin: 0;
    background-color: #ddd;
    background: url(../images/river-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
}

.content {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    margin-bottom: 120px;
    display: flex;
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-lg);
    position: relative;
    height: 100%;
}

.main {
    padding-top: var(--spacing-lg);
    flex-grow: 1;
    max-width: 100%;
}

.side {
    padding-top: var(--spacing-lg);
    position: sticky;
    top: 0;
    align-self: flex-start;
    min-width: 380px;
}

.box {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius);
    background-color: white;
}

.box .images {
    display: flex;
    gap: var(--spacing);
}

.box .images img {
    width: 100%;
    border-radius: var(--border-radius);
}

.box p {
    line-height: 160%;
}

.box h1,
.box h2 {
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.card {
    display: flex;
    gap: var(--spacing-xl);
}

/* These things are shown in the side on mobile */
.card .btn-email,
.card .address,
.card .phone {
    display: none;
}

.card img {
    width: 140px;
    height: 140px;
    border-radius: var(--border-radius);
}

.card h1 {
    font-size: 52px;
    font-weight: 300;
    line-height: 52px;
    margin-bottom: var(--spacing);
}

.card h2 {
    font-size: 20px;
}

.card .headlines {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card .qualifications {
    padding: var(--spacing-sm) 0;
    font-size: 14px;
    color: #333;
}

.quote {
    margin: var(--spacing-xl);
}

.quote blockquote {
    font-size: 24px;
    margin: 0;
    margin-bottom: var(--spacing-sm);
    font-family: "Goudy Bookletter 1911", serif;
}

.quote blockquote::before,
.quote blockquote::after {
    color: #bbb;
    font-size: 200%;
    line-height: 0;
    position: relative;
    top: 10px;
}

.quote blockquote::before {
    content: open-quote;
}

.quote blockquote::after {
    content: close-quote;
}

.quote .author {
    color: #555;
    font-size: 14px;
}

.quote .author::before {
    content: '\2014';
    padding-right: 4px;
    color: #bbb;
}

.box.contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
    position: relative;
}

.box.contact img {
    width: 60px;
    border-radius: 100%;
    position: absolute;
    top: var(--spacing);
    right: var(--spacing);
}

.phone {
    font-size: 20px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

.phone::before {
    content: '☎️';
    padding: var(--spacing-sm);
    margin-right: 12px;
    background-color: #fee;
    border-radius: 100%;
}

.btn-email {
    background-color: rgb(62, 108, 200);
    color: white;
    display: block;
    border-radius: var(--border-radius);
    padding: var(--spacing);
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
}

.box.contact .address {
    color: #555;
    font-size: 14px;
}

.box.personal {
    display: flex;
    gap: var(--spacing);
    padding: 0;
    overflow: hidden;
}

.box.personal .image {
    width: 50%;
    background: url(../images/standing-vertical.jpg);
    background-size: cover;
    background-position-x: center;
    background-repeat: no-repeat;
}

.box.personal .text {
    width: 50%;
    padding: var(--spacing-lg);
}


.box.mask {
    background: url(../images/mask.jpg);
    background-size: cover;
    background-position-x: center;
    min-height: 900px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    padding: calc(var(--spacing-xl) * 4);
    justify-content: space-evenly;
}

.box.mask p {
    margin: 0;
    background-color: white;
    font-size: 20px;
    padding: var(--spacing-sm) var(--spacing);
}

p.trust-fund {
    font-size: 14px;
    color: #444;
}

.box.wild-geese .quote {
    margin: var(--spacing);
}

.box.wild-geese .quote blockquote {
    font-size: 16px;
}



.documents h2 {
    margin-bottom: var(--spacing);
}

.documents ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.documents a {
    border: 1px dotted #888;
    text-decoration: none;
    color: inherit;
    display: flex;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.documents a::before {
    content: '📄';
    padding-right: 4px;
}

hr {
    height: 1px;
    border: none;
    background-color: #ddd;
}

.box.logos {
    display: flex;
}

.box.logos img {
    width: 100%;
}

.main .booking,
.main .documents,
.main .logos,
.main .wild-geese {
    display: none;
}

.box.booking > * {
    display: flex;
}

.box.booking > *::before {
    content: "";
    font-size: 22px;
    padding: 0;
    margin: 0;
    display: block;
    flex-shrink: 100;
    padding-right: var(--spacing);
}

.box.booking .free-call::before {
    content: '📞';
}

.box.booking .duration::before {
    content: '🕛';
}

.box.booking .trust-fund::before {
    content: '💰';
}

@media (max-width: 800px) {
    .content {
        gap: var(--spacing);
        padding: 0 var(--spacing);
    }
    .side {
        display: none;
    }

    .box.card {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: var(--spacing);
    }

    .card .btn-email,
    .card .address,
    .card .phone {
        display: block;
    }

    .box.card h1 {
        font-size: 42px;
        margin: 0;
    }

    .box.card img {
        margin: 0 auto;
    }

    .box.card .headlines {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .box.card .btn-email {
        margin: var(--spacing-sm) 0;
    }

    .box.card .address {
        font-size: 14px;
    }

    .main .booking,
    .main .documents,
    .main .logos,
    .main .wild-geese {
        display: block;
    }

    .box.personal {
        flex-direction: column;
        gap: 0;
    }
    .box.personal .image {
        background: url(../images/standing.jpg);
        background-size: cover;
        width: 100%;
        height: 220px;
    }
    .box.personal .text {
        padding-top: 0;
        width: 100%;
    }
    .box.mask {
        padding: calc(var(--spacing-xl));
        min-height: 0;
    }
}