:root {
    font-size: 1rem;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    line-height: 21px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #231f20;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 945px;
    margin: 16px auto;
    border: 1px solid #231f20;
    overflow: hidden;
    background-color: #fff;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    margin: 32px 0;
    font-size: 39px;
    line-height: 1.25;
    color: #00ADEE;
}

h2 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 25px;
    display: inline-block;
    background-color: #042749;
    padding: 5px 10px;
    color: #fff;
}

h3 {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 400;
    color: #00ADEE;
    transform: rotate(270deg);
    position: absolute;
    bottom: 113px;
    left: -56px;
}

p:not(:last-child) {
    margin-bottom: 16px;
}

.intro {
    background-color: rgba(4, 39, 73, 0.945);
    padding: 8px;
    margin: -118px 0 0 0;
    position: relative;
}

.intro p {
    color: #fff;
}

article {
    padding: 0 35px 23px 80px;
    background: #fff url('../images/background.jpg') no-repeat bottom 40px right;
}

article .box-flex {
    padding-bottom: 10px;
    position: relative;
}

.content {
    padding: 0 8px;
}

:is(.box-flex, .info) {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.subtitle {
}

.box-flex .text {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 47%;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.25;
}

.box-flex ul {
    margin-bottom: 10px;
}

.box-flex div:nth-of-type(1) {
    width: 47%;
}

.box-flex div {
    width: 47%;
}

.contact {
    padding: 10px 0 0;
    border-top: 1px solid #244260;
    margin: 36px 14px 0;
}

.contact p {
    font-size: 13px;
    line-height: 1.3;
}

.info {
    margin: 0px 0 22px;
}

.info p {
    width: 46%;
    margin-bottom: 0 !important;
}

.justify {
    text-align: justify;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    font-size: 14px;
    list-style: none;
}

ul li {
    padding-left: 20px;
}

ul li:before {
    content: "\2022";
    color: #231f20;
    float: left;
    margin: -3px 0 0 -14px;
    font-size: 25px;
    line-height: 1em;
}

@media all and (max-width:943px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(.info br) {
        display: none;
    }

    span {
        white-space: nowrap;
    }

    .justify {
        text-align: left;
    }

}

@media all and (max-width:767px) {
    h1 {
        font-size: 32px;
    }

    article {
        padding: 0 16px;
        background: #fff url('../images/background.jpg') no-repeat bottom right;
    }

    footer {
        padding: 16px;
    }

    .intro {
        margin: 0 -16px;
        padding: 16px;
    }

    .info {
        gap: 16px;
    }

    .box-flex div {
        width: 100% !important;
    }

    h3 {
        font-size: 21px;
        line-height: 1.25;
        font-weight: 400;
        color: #00ADEE;
        transform: rotate(0deg);
        position: static;
    }

    .content {
        padding: 0;
    }

    .contact {
        padding: 16px 0 0;
        margin: 0;
    }

    ul {
        margin-bottom: 16px !important;
    }

    article .box-flex {
        padding-bottom: 0px;
    }

    .subtitle {
        margin-top: 0;
    }

    .box-flex .text {
        position: static;
        max-width: 100%;
    }
}

@media all and (max-width:420px) {
    .info p {
        width: 100%;
    }
}