@font-face {
    font-display: swap;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/barlow-v12-latin-regular.eot');
    src: url('../fonts/barlow-v12-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/barlow-v12-latin-regular.woff2') format('woff2'), url('../fonts/barlow-v12-latin-regular.woff') format('woff'), url('../fonts/barlow-v12-latin-regular.ttf') format('truetype'), url('../fonts/barlow-v12-latin-regular.svg#Barlow') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/barlow-v12-latin-700.eot');
    src: url('../fonts/barlow-v12-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/barlow-v12-latin-700.woff2') format('woff2'), url('../fonts/barlow-v12-latin-700.woff') format('woff'), url('../fonts/barlow-v12-latin-700.ttf') format('truetype'), url('../fonts/barlow-v12-latin-700.svg#Barlow') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-size: 1rem;
    line-height: 20px;
    font-family: 'Barlow', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 616px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background: #E6E6E4;
}

h1 {
    margin: 16px 0;
    font-size: 30px;
    color: #015D8E;
    line-height: 30px;
    text-align: center;
    font-weight: 700;
}

h4 {
    margin: 12px 0 2px;
    font-size: 16px;
    color: #015D8E;
    line-height: 19px;
    font-weight: 700;
}

h5 {
    margin-top: 12px;
    font-size: 19px;
    color: #015D8E;
    line-height: 23px;
    font-weight: 700;
}

h1+p {
    text-align: center;
}

h1 span {
    font-size: 18px;
    display: block;
}

h2 {
    font-size: 37px;
    margin: 16px 0;
    line-height: 39px;
    font-weight: 700;
    color: #F46738;
    text-align: center;
}

h3 {
    font-size: 16px;
    margin: 0 0 6px;
    font-weight: 700;
    line-height: 20px;
    color: #F46738;
}

p:not(:last-child) {
    margin-bottom: 0.25rem;
}

article {
    padding: 0 1rem 1rem;
}

.box {
    display: flex;
    margin: 0 104px 0 30px;
    justify-content: space-between;
}

.images {
    margin: 18px 0 16px;
    border: 2px solid #F46738;
}

.address p {
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 16px;
}

footer {
    bottom: 21px;
    position: absolute;
    right: 17px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    font-size: 19px;
    color: #F46738;
}

ul {
    margin: 0;
    list-style: none;
}

ul li {
    padding-left: 14px;
    font-size: 16px;
}

ul li:before {
    content: "\25A0";
    color: #F46738;
    float: left;
    font-size: 20px;
    text-indent: -15px;
    line-height: 16px;
    margin-top: -1px;
}

img {
    vertical-align: bottom;
    max-width: 100%;
}

header {
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
}

header img {
    vertical-align: bottom;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

header img:nth-of-type(1) {
    position: relative;
}

header img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 10s linear 0s infinite normal forwards;
}

header img:nth-child(2) {
    animation-delay: 5s;
}

h6 {
    font-size: 19px;
    line-height: 23px;
    margin: 30px 0 6px;
    color: #F46738;
}

@media (max-width: 615px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    .box {
        margin: 0;
        flex-wrap: wrap;
    }

    h4 {
        margin-left: 0;
    }

    p span {
        white-space: nowrap;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(br) {
        display: none;
    }
}

@media (max-width: 600px) {
    footer {
        position: static;
        display: flex;
        margin-bottom: 1rem;
        justify-content: center;
    }
}