@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: 'Barlow';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/barlow-v13-latin-regular.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/barlow-v13-latin-regular.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/barlow-v13-latin-regular.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/barlow-v13-latin-regular.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/barlow-v13-latin-regular.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/barlow-v13-latin-regular.svg#Barlow') 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: 'Barlow';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/barlow-v13-latin-700.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/barlow-v13-latin-700.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/barlow-v13-latin-700.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/barlow-v13-latin-700.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/barlow-v13-latin-700.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/barlow-v13-latin-700.svg#Barlow') format('svg');
   /* Legacy iOS */
}

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   font: 1em/1.3em 'Barlow', Arial, sans-serif;
   color: #fff;
}

#wrapper {
   position: relative;
   margin: 1rem auto;
   overflow: hidden;
   max-width: 600px;
   border: solid 1px #000;
   background: #fff url('../images/bg.jpg') no-repeat top;
}

p {
   padding-bottom: 1rem;
}

h1 {
   margin: 0rem 0rem 0.5rem;
   font-size: 2.1em;
   line-height: 1.1em;
   font-weight: 400;
}

h1 small {
   font-size: 0.5em;
}

h2 {
   font-size: 1.55em;
   line-height: 1.3;
   padding: 2rem 0 4.5rem;
}

h3 {
   font-size: 1.250em;
   line-height: 1.3;
   padding-bottom: 0.7rem;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}

header {
   padding: 0.5rem 1.5rem;
}

article p {
   font-size: 1.375em;
   line-height: 1.3;
}

article {
   padding: 1rem 1.5rem;
   position: relative;
}

figure {
   position: absolute;
   right: 21px;
   bottom: 50px;
}

footer :is(h3, p) {
   text-align: center;
   color: #fff;
}

footer {
   padding: 0.5rem 1rem;
   background: #7F858B;
}

img {
   max-width: 100%;
   height: auto;
}

@media only screen and (max-width:599px) {
   #wrapper {
      border: none;
      margin: 0 auto;
      background: #fff;
   }

   figure {
      position: static;
      display: flex;
      justify-content: center;
   }

   article {
      background: #3968B1;
   }

   article br {
      display: none;
   }

   h2 {
      padding: 1rem 0;
   }

   p :is(span, a) {
      display: inline-block;
   }
}
