 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box
 }

 html {
     min-height: 100%;
 }

 body {
     color: #253f8e;
     font-family: 'Roboto', sans-serif;
     font-size: 15px;
     line-height: 17px;
 }

 #wrapper {
     max-width: 562px;
     margin: 16px auto;
     border: 1px solid #000;
     background: url('background.jpg') no-repeat;
 }

 header {
     padding: 20px 5px 10px;
 }

 .logo {
     display: flex;
     justify-content: flex-start;
 }

 .text {
     display: none;
 }

 article {
     padding: 0 50px;
 }

 .bewerben {
     display: none
 }

 .title {
     display: flex;
     flex-direction: column;
     align-items: flex-start;
     gap: 14px;
 }

 .flex {
     display: flex;
     gap: 4px;
     justify-content: center;
 }

 .item {
     padding: 0 17px;
     border-right: 2px solid #253f8e;
     display: flex;
     flex-direction: column;
     gap: 5px;
     align-items: center;
     margin-top: 15px;
 }

 .item img {
     height: 47px;
 }

 .item p {
     text-align: center;
     font-weight: 500;
 }

 .item:last-of-type {
     border-right: none
 }

 footer {
     padding: 13px 25px 5px;
 }

 .footer-text {
     margin-top: 1px;
     display: flex;
     justify-content: space-between;
     padding-right: 10px
 }

 .footer-text p {
     color: #00acea;
     font-size: 14px;
     line-height: 18px;
     font-weight: 500;
 }

 h1 {
     font-size: 20px;
     line-height: 24px;
     color: #fff;
 }

 h1 span {
     font-weight: 400;
     font-size: 10px;
 }

 h2 {
     font-size: 16px;
     line-height: 24px;
     color: #26408e;
 }

 img {
     max-width: 100%;
     display: block;
 }

 a {
     color: #00acea;
     text-decoration: none;
 }

 @media only screen and (max-width: 562px) {
     #wrapper {
         border: none;
         margin: 0;
         background: url(bg-mobile.jpg) top no-repeat;
     }

     header {
         display: flex;
         justify-content: center;
         gap: 40px
     }

     .text {
         display: block;
     }

     article {
         padding: 0 16px;
     }

     .bewerben {
         display: flex;
         margin-top: 10px;
         justify-content: center;
         align-items: center;
         gap: 25px;
     }

     .title {
         gap: 6px
     }

     h1 {
         background: #23408f;
         padding: 5px 10px;
     }

     .flex {
         flex-wrap: wrap;
     }

     footer {
         padding: 16px
     }
 }

 @media only screen and (max-width: 430px) {
     footer :is(p, h2) {
         text-align: center;
     }

     .footer-text {
         flex-direction: column;
         align-items: center;
     }
 }