@charset "utf-8";

@font-face {
   font-display: swap;
   /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   font-family: 'Nova Square';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/nova-square-v27-latin-regular.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/nova-square-v27-latin-regular.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/nova-square-v27-latin-regular.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/nova-square-v27-latin-regular.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/nova-square-v27-latin-regular.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/nova-square-v27-latin-regular.svg#NovaSquare') format('svg');
   /* Legacy iOS */
}

@font-face {
   font-display: swap;
   /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   font-family: 'Science Gothic';
   font-style: normal;
   font-weight: 600;
   src: url('../fonts/science-gothic-v5-latin-600.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/science-gothic-v5-latin-600.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/science-gothic-v5-latin-600.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/science-gothic-v5-latin-600.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/science-gothic-v5-latin-600.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/science-gothic-v5-latin-600.svg#ScienceGothic') format('svg');
   /* Legacy iOS */
}

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   font: 1em/1.3em Arial, "Segoe UI", Calibri, sans-serif;
   color: #fff;
}

#wrapper {
   position: relative;
   margin: 1rem auto;
   overflow: hidden;
   max-width: 775px;
   border: solid 1px #0074BE;
   background: #0074BE;
}

p {
   padding-bottom: 1rem;
}

h1 {
   margin: 0rem 0rem 1rem;
   font-size: 1.592em;
   line-height: 1;
}

h1 small {
   font-size: 0.65em;
}

h1 small:last-of-type {
   display: block;
}

h2 {
   font-size: 2.2em;
   line-height: 1;
   padding: 0.2rem 1.5rem;
}

h2 span {
   font-weight: 400;
}

h3 {
   font-size: 4em;
   line-height: 1;
   padding-bottom: 0.3rem;
}

h4 {
   font-size: 3.2em;
   line-height: 1.1;
}

h3,
h4 {
   font-family: 'Nova Square', Arial, sans-serif;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}


article {
   padding: 0.5rem 1.5rem;
   background: #fff url('../images/bg.jpg') no-repeat;
}

article :is(p, h1) {
   color: #0074BE;
}

.qrcode {
   position: absolute;
   right: 2rem;
   top: 13rem;
   transform: rotate(-18deg);
}

footer {
   padding: 0.5rem 1.5rem 0;
}

.box {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   padding-bottom: 1rem;
}

figure span:last-of-type {
   display: block;
   text-align: center;
   font-size: 0.6em;
   line-height: 1.3;
   padding-top: 0.3rem;
}

figure span {
   display: block;
   display: flex;
   justify-content: center;

}

img {
   max-width: 100%;
   height: auto;
}

@media only screen and (max-width:774px) {
   #wrapper {
      border: none;
      margin: 0 auto;
   }

   .qrcode {
      position: static;
      display: flex;
      justify-content: center;
      padding: 1rem 0;
   }

   h2 {
      font-size: 1.85em;
      line-height: 1.3;
   }

   h3 {
      font-size: 2.3em;
   }

   h4 {
      font-size: 2em;
   }

   p :is(span, a) {
      display: inline-block;
   }

   figure {
      margin-bottom: 0.5rem;
   }

   .hide_m,
   .box br {
      display: none;
   }

   article {
      background-size: cover;
   }
}
