@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v27-latin-regular.eot');
    src: url('../fonts/roboto-condensed-v27-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-condensed-v27-latin-regular.woff2') format('woff2'),
        url('../fonts/roboto-condensed-v27-latin-regular.woff') format('woff'),
        url('../fonts/roboto-condensed-v27-latin-regular.ttf') format('truetype'),
        url('../fonts/roboto-condensed-v27-latin-regular.svg#RobotoCondensed') format('svg');
}
@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v27-latin-700.eot');
    src: url('../fonts/roboto-condensed-v27-latin-700.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-condensed-v27-latin-700.woff2') format('woff2'),
        url('../fonts/roboto-condensed-v27-latin-700.woff') format('woff'),
        url('../fonts/roboto-condensed-v27-latin-700.ttf') format('truetype'),
        url('../fonts/roboto-condensed-v27-latin-700.svg#RobotoCondensed') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #106CB2;
    font: 400 1em/1.4em 'Roboto Condensed', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 525px;
    margin: 1rem auto;
    border: 1px solid #106CB2;
    background: #FBFDFC url('../images/bg.jpg') no-repeat bottom right;
    overflow: hidden;
    padding: 1rem 2rem 1.5rem;
}
:is(h1, h2, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0 -1rem 0.5rem 0;
    font-size: 2.3em;
    line-height: 1;
}
h1 span {
    font-size: 1.2rem;
    font-weight: 400;
}
h2 {
    font-size: 1.25em;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.big {
    font-size: 1.2em;
    line-height: 1.3;
}
.flex{
    display: flex;
    justify-content: center;
    gap: 6rem;
}
.flex p{
    text-align: center;
}
.flex img{
    display: block;
    margin: 0 auto 0.5rem;
}
.border{
    position: relative;
}
.border:before {
  content: '';
  position: absolute;
  top: 21px;
  left: -2.7rem;
  width: 1px;
  height: 60%;
  background: #B2DAF3;
}
.border:after {
  content: '';
  position: absolute;
  top: 21px;
  right: -2.7rem;
  width: 1px;
  height: 60%;
  background: #B2DAF3;
}
.bg{
    background: #1567A2;
    color: #fff;
    padding: 0.5rem 0.5rem 0;
    margin-left: -0.5rem;
    border-radius: 5px;
    display: flex;
    gap: 0.5rem;
}
.bg i{
    font-size: 1.25em;
    margin-top: 0.25rem;
}
.bg p{
    font-size: 0.875em;
    line-height: 1.3;
}
.flex1{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}
.addres{
    padding: 0 0 0 0.75rem;
    border-left: 1px solid #106CB2;
}
header figure {
    margin: 0.75rem -0.5rem 0.75rem 0;
}
@media only screen and (max-width:524px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem 1rem 7rem;
    }
    p {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    br:not(.addres br), .border:before, .border:after {
        display: none;
    }
    h1{
        font-size: 1.8em;
    }
    .flex{
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .flex1{
        flex-direction: column;
    }
    .bg{
        margin-left: 0;
    }
    .addres{
        border: none;
    }
}
@media only screen and (max-width:400px) {
    h1{
        font-size: 1.5em;
    }
}