@charset "utf-8";

@font-face {
   font-family: 'Open Sans';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/open-sans-v34-latin-regular.eot');
   src: local(''),
      url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'),
      url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'),
      url('../fonts/open-sans-v34-latin-regular.woff') format('woff'),
      url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'),
      url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
   font-family: 'Open Sans';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/open-sans-v34-latin-700.eot');
   src: local(''),
      url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'),
      url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'),
      url('../fonts/open-sans-v34-latin-700.woff') format('woff'),
      url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'),
      url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   color: #000;
   font: 400 1em/1.3em 'Open Sans', Arial, sans-serif;
}

#wrapper {
   position: relative;
   max-width: 930px;
   margin: 1rem auto;
   border: 1px solid #000;
   background: #EE7425;
   overflow: hidden;
}

:is(h1, h2, strong) {
   font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}

p {
   padding-bottom: 1rem;
}

h1 {
   margin: 0 0 1.5rem;
   padding-left: 1.25rem;
   font-size: 1.125em;
   line-height: 1.3;
   position: relative;
}

h1:before {
   content: "\2022";
   font-size: 1.25rem;
   position: absolute;
   left: 0;
   top: 0;
}

h2 {
   font-size: 2.5em;
   line-height: 0.9;
   text-transform: uppercase;
   margin-bottom: 1rem;
}

img {
   max-width: 100%;
   height: auto;
   vertical-align: middle;
}

header {
   padding: 0 6rem 1rem;
   display: flex;
   justify-content: flex-end;
}

header img {
   position: relative;
   z-index: 999;
}

article {
   padding: 5rem 2rem 0;
   background: #114491 url('../images/bg.jpg') no-repeat top;
   color: #fff;
}

.box {
   position: relative;
   margin-top: -12.5rem;
   margin-bottom: 2rem;
}

.box p {
   font-size: 1.8em;
   line-height: 1.1;
}

.big {
   font-size: 1.313em;
   line-height: 1.3;
}

.flex {
   display: flex;
   justify-content: space-between;
   flex-flow: row-reverse;
   gap: 1rem;
}

.box1 {
   display: flex;
   justify-content: flex-end;
   flex-direction: column;
   align-items: flex-end;
}

.qr,
.mail {
   display: flex;
   align-items: center;
   gap: 1rem;
}

.qr p {
   padding-bottom: 0;
}

.mail {
   text-align: right;
   margin-top: 0.5rem;
   font-size: 1.063em;
   line-height: 1.3;
}

.mail i {
   font-size: 2.7em;
   line-height: 1;
}

footer {
   padding: 0.5rem 1rem;
}

footer p {
   padding: 0;
   text-align: center;
   text-transform: uppercase;
   font-size: 0.813em;
   line-height: 1.3;
   color: #fff;
   letter-spacing: 1px;
}

@media only screen and (max-width:929px) {
   #wrapper {
      border: none;
      margin: 0 auto;
   }

   :is(p, li) {
      hyphens: auto;
   }

   p a,
   span {
      display: inline-block;
   }
}

@media only screen and (max-width:780px) {
   header {
      justify-content: center;
      padding: 0 0 1rem;
   }

   article {
      background: #114491;
      padding: 1rem;
   }

   .box {
      margin-top: 0;
   }

   .box1 {
      justify-content: center;
      align-items: center;
   }

   br:not(.mail br) {
      display: none;
   }

   .flex {
      flex-direction: column;
      align-items: center;
   }
}

@media only screen and (max-width:480px) {
   .qr {
      flex-direction: column;
      align-items: center;
      margin-bottom: 1rem;
   }

   .mail {
      text-align: center;
      flex-direction: column;
      align-items: center;
      gap: 0.125rem;
   }

   h2 {
      font-size: 2em;
   }
}
