@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-serif-4-v14-latin-regular.eot');
    src: url('../fonts/source-serif-4-v14-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/source-serif-4-v14-latin-regular.woff2') format('woff2'), url('../fonts/source-serif-4-v14-latin-regular.woff') format('woff'), url('../fonts/source-serif-4-v14-latin-regular.ttf') format('truetype'), url('../fonts/source-serif-4-v14-latin-regular.svg#SourceSerif4') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/source-serif-4-v14-latin-700.eot');
    src: url('../fonts/source-serif-4-v14-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/source-serif-4-v14-latin-700.woff2') format('woff2'), url('../fonts/source-serif-4-v14-latin-700.woff') format('woff'), url('../fonts/source-serif-4-v14-latin-700.ttf') format('truetype'), url('../fonts/source-serif-4-v14-latin-700.svg#SourceSerif4') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Source Serif 4', serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 4px #f59034;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

article p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 2.2rem;
    line-height: 1;
    color: #203643;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    padding-bottom: 1rem;
}

h1 span {
    font-size: .6em;
}

h2 {
    font-size: 1.1rem;
    background-color: #f59034;
    padding: .2rem .625rem;
    margin: 0 -.625rem .625rem;
    display: inline-block;
}

h2.color {
    background-color: #203643;
    color: #fff;
}

h3 {
    transform: rotate(-3deg);
    margin: 0 -.625rem .625rem;
    text-align: center;
    margin-bottom: 1rem;
    width: 14rem;
}

h3 span {
    display: inline;
    font-size: 1.1rem;
    background-color: #f59034;
    padding: .2rem .625rem;
}

ul {
    padding: 0 0 1rem 1.2rem;
}

ul li {
    padding-bottom: .5rem;
}

.title {
    padding: 1rem 1.5rem 0;
    margin: 0 -1.5rem 1rem;
    background-color: #f59034;
    color: #fff;
}

.flex {
    display: flex;
    gap: 2rem;
}

.flex>div {
    flex: 50%;
}

.mail {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-weight: 700;
}

article {
    padding: 0 1.5rem .5rem;
}

footer {
    padding: 0 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    text-align: center;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 45rem) {
    .flex {
        display: block;
    }

    footer {
        flex-direction: column;
        align-items: center;
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 35rem) {
    #wrapper {
        padding: .5rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    .title {
        padding: 1rem 1rem 0;
        margin: 0 -1rem 1rem;
    }

    article,
    footer {
        padding: 0 1rem .5rem;
    }
}