@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: 'Caveat';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/caveat-v23-latin-700.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/caveat-v23-latin-700.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/caveat-v23-latin-700.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/caveat-v23-latin-700.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/caveat-v23-latin-700.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/caveat-v23-latin-700.svg#Caveat') 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: 565px;
   border: solid 1px #000;
   background: #fff;
}

p {
   padding-bottom: 1rem;
}

p small {
   display: block;
   line-height: 1.3;
   padding-left: 1rem;
}

h1 {
   margin: 0rem 0rem 3rem 1rem;
   font-size: 1em;
   line-height: 1.4;
}

h2 {
   font-size: 2.2em;
   line-height: 1.3;
   margin: -72px 0 1.5rem;
}

h3,
h1 span {
   color: #F9F061;

}

h3 {
   font-size: 1.250em;
   line-height: 1.3;
   padding-bottom: 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}

ul {
   padding: 0 0 0.3rem;
   list-style: none;
   font-weight: 700;
}

li {
   padding: 0 0 0.3rem 16px;
}

ul li:before,
h1:before {
   content: ">";
   font-size: 1em;
   float: left;
   margin: 0 0 0 -16px;
   color: #F9F061;
}

header {
   background: #3B3796;
}

article {
   padding: 0 2rem 4rem;
   background: #3B3796 url('../images/bg.jpg') no-repeat bottom right;
}

figure {
   position: absolute;
   right: 1rem;
   bottom: 3.5rem;
}

figure span {
   display: flex;
   justify-content: end;
}

figcaption {
   font-family: 'Caveat', Arial, sans-serif;
   text-align: right;
   font-size: 1.5em;
   line-height: 1.2;
}

footer {
   padding: 0.7rem 2rem;
}

footer span:last-of-type {
   color: #0E6445;
   font-size: 1.375em;
   padding-left: 1.5rem;
}

img {
   max-width: 100%;
   height: auto;
}

@media only screen and (max-width:564px) {
   #wrapper {
      border: none;
      margin: 0 auto;
   }

   p {
      text-align: left;
   }

   p :is(span, a) {
      display: inline-block;
   }

   .hide_m,
   li br,
   figcaption br {
      display: none;
   }

   h1 {
      margin-bottom: 1rem;
   }

   h2 {
      font-size: 1.85em;
   }

   figure {
      position: static;
      background: #52B14A;
      padding: 1rem;
   }

   figure span {
      display: flex;
      justify-content: center;
   }

   figcaption {
      text-align: center;
   }

   h2 {
      margin: 0 0 1rem;
   }

   article,footer {
      padding: 1rem;
      background-image: none;
   }
}
