﻿:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff');
}

img {
    max-width: 100%;
}

body {
    text-align: left;
    line-height: 1.25rem;
    font-size: 15px;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 600px;
    margin: 0.625rem auto;
    border: 2px solid #074b72;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0;
    padding: 0;
    font-size: 2.875rem;
    line-height: 2.9375rem;
    text-align: center;
    font-weight: 700;
    font-family: 'Roboto', Arial, sans-serif;
    width: 451px;
}

h1 small {
    font-size: 1.6875rem;
    display: block;
    line-height: 1.2;
}

h2 {
    font-size: 15px;
    margin: 0;
    font-weight: 700;
    line-height: 1.5rem;
    position: absolute;
    top: 12px;
    left: 417px;
    color: #FFF;
}

h3 {
    font-size: 15px;
    margin: 1rem 0 4px;
    color: #074b72;
    font-weight: 700;
    line-height: 1.125rem;
}

header {
    margin: 0;
}

header img {
    vertical-align: bottom;
}

article {
    margin: 0;
    padding: 0 15px;
    position: relative;
}

article section {
    background: #074b72;
    margin: 0 -15px;
    padding: 14px 7px 16px;
    color: #FFF;
    display: flex;
    gap: 10px;
    align-items: center;
}

article :is(p, ul) {
    font-size: 11px;
    line-height: 19px;
}

footer {
    color: #FFF;
    margin: 0;
    background: #074b72;
    padding: 10px;
}

footer p {
    margin: 0;
    text-align: center;
    padding: 0 1rem;
}

footer a {
    color: #FFF;
}

p {
    margin: 0 0 1rem;
    padding: 0;
}

a {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: 0 0 10px;
    list-style: none;
    padding: 0;
}

ul li {
    padding-left: 10px;
}

ul li:before {
    content: "\2012";
    float: left;
    margin-left: 0;
    font-family: Arial, sans-serif;
    font-size: 9px;
    text-indent: -10px;
}

ul span {
    font-size: 90%;
    word-spacing: -1px;
}

.contact {
    position: absolute;
    bottom: 4px;
    right: 0;
    width: 175px;
}

@media all and (max-width:599px) {
    #wrapper {
        border: none;
        margin-top: 0;
    }

    article section {
        flex-direction: column;
        padding: 14px 16px 16px;
    }

    h1 {
        width: auto;
        font-size: 40px;
    }

    h2 {
        margin: 0;
        font-size: 2.4vw;
        top: 2vw;
        left: auto;
        line-height: 1.4;
        right: 4vw;
    }

    h2 br {
        display: inline;
    }

    ul small {
        font-size: 100%;
    }

    .contact {
        position: static;
        width: auto;
    }

    p {
        margin: 0 0 0.625rem;
    }

    br {
        display: none;
    }

    h1{
        font-size: 29px;
    }

    footer span {
        white-space: nowrap;
    }
}