@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/cairo-v22-latin-regular.eot');
    src: url('../fonts/cairo-v22-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/cairo-v22-latin-regular.woff2') format('woff2'), url('../fonts/cairo-v22-latin-regular.woff') format('woff'), url('../fonts/cairo-v22-latin-regular.ttf') format('truetype'), url('../fonts/cairo-v22-latin-regular.svg#Cairo') format('svg');
}
@font-face {
    font-display: swap;
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/cairo-v22-latin-700.eot');
    src: url('../fonts/cairo-v22-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/cairo-v22-latin-700.woff2') format('woff2'), url('../fonts/cairo-v22-latin-700.woff') format('woff'), url('../fonts/cairo-v22-latin-700.ttf') format('truetype'), url('../fonts/cairo-v22-latin-700.svg#Cairo') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1em/1.3em 'Cairo', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 605px;
    margin: 1rem auto;
    border: 2px solid #8497B1;
    background: #023A53 url('../images/bg.jpg') no-repeat bottom right;
    background-size: cover;
    overflow: hidden;
    padding: 2.5rem 2.5rem 2rem;
}
: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 0 2rem;
    font-size: 2.1em;
    line-height: 1.1;
}
h1 span {
    display: block;
    line-height: 1.3;
    margin-top: 0.25rem;
    font-weight: 400;
}
h2 {
    font-size: 1.188em;
    line-height: 1.3;
    width: fit-content;
    background: #fff;
    color: #EE1D23;
    padding: 0.25rem 0.75rem;
    margin: 0 0 -1rem -0.5rem;
    position: relative;
}
h2:last-of-type {
    margin: -1rem 0 2rem -0.5rem;
}
h3 {
    font-size: 3.6em;
    line-height: 1;
    font-weight: 400;
    width: fit-content;
    background: #EE1D23;
    color: #fff;
    padding: 0.25rem 1rem 0.5rem;
    margin: 0 -0.5rem 1.5rem;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.bg {
    background: rgba(0, 1, 3, 0.7);
    margin: 0 0 0 -2.5rem;
    padding: 2.5rem 1.5rem 1rem 1.5rem;
    max-width: 364px;
}
.bg p {
    display: flex;
    align-items: flex-start;
    gap: 0 1rem;
    font-size: 1.385em;
    line-height: 1.3;
}
.bg p span {
    font-weight: 700;
    display: block;
    border-bottom: 1px solid #325274;
    padding: 0 0 0.5rem;
    margin-bottom: 0.5rem;
    width: 247px;
}
.bg p:last-of-type span {
    border-bottom: none;
}
header {
    position: absolute;
    right: 0;
    bottom: 2rem;
}
article {
    padding: 0;
}
footer {
    padding: 0;
    margin-left: -0.5rem;
    width: 300px;
    display: flex;
    flex-flow: row-reverse;
    align-items: center;
    gap: 0.8rem;
}
footer p {
    padding: 0;
    line-height: 1.2;
}
figure {
    margin: 0;
}
@media only screen and (max-width:604px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }
    p {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    h2, h3, footer {
        margin-left: 0;
    }
    h3 {
        font-size: 2.3em;
        text-align: center;
    }
    header {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    footer {
        width: auto;
    }
    footer p {
        flex: 1;
    }
    .bg {
        max-width: 100%;
        margin: 0;
        padding: 2.5rem 1rem 1rem;
    }
    .bg p {
        font-size: 1.125em;
    }
    br:not(.block) {
        display: none;
    }
}