@charset "utf-8";
@font-face {
    font-display: swap; 
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v18-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/inter-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/inter-v18-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../fonts/inter-v18-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
         url('../fonts/inter-v18-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
         url('../fonts/inter-v18-latin-regular.svg#Inter') format('svg'); /* Legacy iOS */
  }
  @font-face {
    font-display: swap; 
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/inter-v18-latin-700.eot'); /* IE9 Compat Modes */
    src: url('../fonts/inter-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/inter-v18-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../fonts/inter-v18-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
         url('../fonts/inter-v18-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
         url('../fonts/inter-v18-latin-700.svg#Inter') format('svg'); /* Legacy iOS */
  }
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 400 1em/1.3em 'Inter', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 870px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #353739 url('../images/bg.jpg') no-repeat top center;
    overflow: hidden;
    padding: 1.25rem 1rem 0.75rem 2.25rem;
}
p {
    padding-bottom: 0.5rem;
}
h1 {
    margin: 0 0 7.75rem 1.875rem;
    font-size: 1em;
    line-height: 1.3em;
}
h2 {
    font-size: 1.25em;
    line-height: 1.3em;
    margin-bottom: 0.375rem;
}
h1, h2, strong {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    width: 406px;
}
header p {
    font-size: 1.875em;
    line-height: 1.2em;
    padding-bottom: 0.75rem;
}
header p:last-of-type {
    text-align: right;
    padding-top: 0.5rem;
}
main {
    display: flex;
    justify-content: space-between;
}
article {
    width: 370px;
}
.flex {
    margin-left: 1.875rem;
}
.flex p {
    font-size: 0.74em;
    line-height: 1.4em;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
footer {
    padding: 2rem 1.25rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media only screen and (max-width: 869px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem 1rem 0;
        background: url('../images/bg1.jpg') no-repeat top right;
        background-size: cover;
    }
    main {
        display: block;
    }
    header, article {
        width: auto;
    }
    br {
        display: none;
    }
    header p {
        text-align: center !important;
    }
    figure {
        display: flex;
        justify-content: center;
    }
    h1 {
        margin: 0 0 1rem 1rem;
    }
    .flex {
        margin-left: 1rem;
    }
    .flex p {
        font-size: 0.875em;
        line-height: 1.3em;
    }
    footer {
        margin: 1rem -1rem 0;
        background-color: #353739;
        padding: 1rem;
    }
}
@media only screen and (max-width: 420px) {
    footer {
        flex-direction: column;
        gap: 1rem;
    }
}