 @font-face {
     font-display: swap;
     font-family: 'Source Sans 3';
     font-style: normal;
     font-weight: 400;
     src: url('../fonts/source-sans-3-v19-latin-regular.eot');
     src: url('../fonts/source-sans-3-v19-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-3-v19-latin-regular.woff2') format('woff2'), url('../fonts/source-sans-3-v19-latin-regular.woff') format('woff'), url('../fonts/source-sans-3-v19-latin-regular.ttf') format('truetype'), url('../fonts/source-sans-3-v19-latin-regular.svg#SourceSans3') format('svg');
 }

 @font-face {
     font-display: swap;
     font-family: 'Source Sans 3';
     font-style: normal;
     font-weight: 500;
     src: url('../fonts/source-sans-3-v19-latin-500.eot');
     src: url('../fonts/source-sans-3-v19-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-3-v19-latin-500.woff2') format('woff2'), url('../fonts/source-sans-3-v19-latin-500.woff') format('woff'), url('../fonts/source-sans-3-v19-latin-500.ttf') format('truetype'), url('../fonts/source-sans-3-v19-latin-500.svg#SourceSans3') format('svg');
 }

 @font-face {
     font-display: swap;
     font-family: 'Source Sans 3';
     font-style: normal;
     font-weight: 600;
     src: url('../fonts/source-sans-3-v19-latin-600.eot');
     src: url('../fonts/source-sans-3-v19-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/source-sans-3-v19-latin-600.woff2') format('woff2'), url('../fonts/source-sans-3-v19-latin-600.woff') format('woff'), url('../fonts/source-sans-3-v19-latin-600.ttf') format('truetype'), url('../fonts/source-sans-3-v19-latin-600.svg#SourceSans3') format('svg');
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
     min-height: 100%;
 }

 body {
     color: #00144e;
     font-family: 'Source Sans 3', Arial, sans-serif;
     font-size: 17px;
     line-height: 21px;
     font-weight: 400;
 }

 #wrapper {
     max-width: 524px;
     margin: 1rem auto;
     border: 2px solid #00144e;
     background-color: #fff;
     position: relative;
 }

 header {
     position: absolute;
     top: 204px;
     right: 0;
 }

 header img {
     width: 248px;
     border-radius: 18px 0 0 18px;
 }

 article {
     padding: 20px 27px 15px;
 }

 footer {
     padding: 51px 25px 20px 25px;
     background: url('../images/background-bottom.jpg') no-repeat;
     height: 169px;
     position: relative;
 }

 footer p {
     color: #fff;
 }

 figure {
     width: 165px;
     position: absolute;
     top: 2px;
     right: 27px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 25px
 }

 p:not(:first-of-type) {
     margin-top: 17px;
 }

 h1 {
     font-size: 35px;
     line-height: 1.1;
     margin: 7px 0 0;
 }

 h1 small {
     font-weight: 400;
     font-size: 22px;
 }

 h1 span {
     display: block;
     font-size: 29px;
 }

 h2 {
     font-size: 21px;
     line-height: 25px;
     font-weight: 500;
 }

 h3 {
     font-size: 18px;
     line-height: 21px;
     margin-top: 15px;
 }

 ul {
     list-style: none
 }

 ul li {
     background: url(../images/icon.jpg) 0 3px no-repeat;
     padding-left: 24px;
     margin-top: 7px;
 }

 .li {
     width: 150px;
 }

 img {
     max-width: 100%;
     display: block;
 }

 :is(h1, h3, strong) {
     font-weight: 700;
 }

 :is(a:link, a:visited, a:hover, a:active) {
     color: #fff;
     text-decoration: none;
     white-space: nowrap;
 }

 @media only screen and (max-width:524px) {
     #wrapper {
         border: none;
         margin: 0;
     }

     header {
         position: static;
         display: flex;
         justify-content: center;
         position: 10px 16px;
     }

     header img {
         border-radius: 0;
         width: auto;
     }

     article {
         padding: 10px 16px
     }

     :is(p, ul) {
         hyphens: auto;
         text-wrap: pretty
     }

     :is(p, ul) span {
         white-space: nowrap;
     }

     footer {
         padding: 51px 16px 20px 16px;
         background: url('../images/background-bottom.jpg') no-repeat;
         height: 169px;
         position: relative;
     }

     .li {
         width: auto;
     }

     li br {
         display: none
     }
 }

 @media only screen and (max-width:480px) {
     figure {
         position: static;
         flex-direction: row;
         gap: 16px;
         margin-top: 16px;
         width: auto;
         justify-content: center;
     }

     footer {
         background: #32b37f;
         height: auto;
         padding: 16px;
     }

     footer p {
         text-align: center;
     }

     h1 {
         font-size: 27px;
     }

     h1 span {
         font-size: 25px;
     }
 }