 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box
 }

 html {
     min-height: 100%;
 }

 body {
     color: #fff;
     font-family: 'PT Sans', sans-serif;
     font-size: 18px;
     line-height: 26px;
     font-style: italic;
     text-align: center;
 }

 #wrapper {
     max-width: 530px;
     margin: 16px auto;
     border: 2px solid #717073;
     background-color: #8e9a81;
 }

 header {
     padding-top: 44px;
 }

 .logo {
     background: url('background.jpg') no-repeat;
     height: 112px;
     display: flex;
     justify-content: center;
     padding: 0 10px;
 }

 .logo img {
     position: relative;
     top: -27px;
 }

 article {
     padding: 10px;
 }

 .title {
     background: #fff;
     padding: 20px;
     margin-bottom: 20px;
 }

 .title :is(h1, p) {
     color: #16406a;
     margin-top: 0;
 }

 footer {
     padding: 10px 45px;
 }

 .border {
     padding: 20px 0;
     border-top: 1px solid #fff;
     border-bottom: 1px solid #fff;
 }

 .left {
     width: 215px;
     background: #e8ebec;
     border: 4px solid #1f2223;
     border-radius: 20px 20px 10px 10px;
 }

 .left p {
     font-size: 14px;
     line-height: 19px;
     font-style: normal;
 }

 .top {
     padding: 15px 10px 10px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 4px
 }

 .top p {
     color: #000;
 }

 .bottom {
     background: #1f2223;
     padding: 2px 2px 0;
 }

 .bottom p {
     color: #fff;
     font-weight: bold;
     font-size: 16px;
 }

 figure {
     margin: 0 -46px;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .right {
     width: 275px;
 }

 p {
     margin-top: 17px;
 }

 p img {
     display: inline;
     margin-bottom: -4px;
 }

 p:first-of-type {
     margin-top: 0px;
 }

 h1 {
     font-size: 27px;
     line-height: 1.4;
 }

 h2 {
     font-size: 25px;
     line-height: 1.4;
     padding: 25px 0 19px;
 }

 h3 {
     font-size: 20px;
     line-height: 21px;
     text-decoration: underline;
     padding-bottom: 15px;
 }

 h4 {
     font-size: 26px;
     line-height: 1.6;
     padding: 10px 0 0;
 }

 ul {
     list-style: none
 }

 ul li {
     padding-left: 19px;
 }

 li:before {
     content: "\2022";
     color: #000;
     float: left;
     font-size: 23px;
     text-indent: -19px;
 }

 img {
     max-width: 100%;
     display: block;
 }

 a {
     color: #fff;
     text-decoration: none;
 }

 @media only screen and (max-width:530px) {
     #wrapper {
         border: none;
         margin: 0;
     }

     :is(p, ul) {
         hyphens: auto;
         text-wrap: pretty
     }

     :is(p, ul) span {
         white-space: nowrap;
     }

     figure {
         flex-direction: column;
         margin: 0;
         gap: 16px;
     }

     footer {
         padding: 16px;
     }

     h4 {
         font-size: 22px;
         line-height: 1.3;
     }
 }