@charset "utf-8";

@font-face {
   font-display: swap;
   font-family: 'Architects Daughter';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/architects-daughter-v18-latin-regular.eot');
   src: url('../fonts/architects-daughter-v18-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/architects-daughter-v18-latin-regular.woff2') format('woff2'), url('../fonts/architects-daughter-v18-latin-regular.woff') format('woff'), url('../fonts/architects-daughter-v18-latin-regular.ttf') format('truetype'), url('../fonts/architects-daughter-v18-latin-regular.svg#ArchitectsDaughter') format('svg');
}

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   color: #000;
   font: 1.2em/1.3em Arial, sans-serif;
}

#wrapper {
   position: relative;
   max-width: 550px;
   margin: 1rem auto;
   border: solid 1px #0D69AF;
   background-color: #fff;
   overflow: hidden;
   padding: 0;
}

p {
   padding-bottom: 1rem;
}

h1 {

   font-size: 1.063em;
   line-height: 1.3;
   display: inline-block;
   background: #0D69AF;
   padding: 1rem 0.5rem;
   margin: 0 0 0.7rem;
   width: 70%;
   text-align: center;
   color: #fff;
}

h2 {
   font-size: 1.188em;
   line-height: 1.1;
   font-family: 'Architects Daughter', cursive;
   color: #0D69AF;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: #0D69AF;
   text-decoration: underline;
}

img {
   max-width: 100%;
   height: auto;
}

header img {
   display: block;
}

article {
   padding: 1rem 1rem 0;
   position: relative;
}

article p:first-of-type {
   text-align: justify;
   hyphens: auto;
}

article section :is(h1, h2),
footer p {
   text-align: center;
   color: #FFF;
}

article p:nth-of-type(3) span {
   margin-left: 11rem;
}

.logo {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   flex-wrap: wrap;
   gap: 0 1rem;
}

.logo a:first-of-type img {
   margin-bottom: 2rem;
}

article p:last-of-type {
   position: absolute;
   bottom: 0;
   left: 9.3rem;
   line-height: 1.2em;
}

article figure {
   margin: 0;
   display: flex;
   justify-content: center;
   position: absolute;
   top: 6.8rem;
   right: 1rem;

}

footer {
   padding: 0.5rem 1rem;
   background: #0D69AF;
}

footer p {
   padding-bottom: 0;
}

@media only screen and (max-width:549px) {
   body {
      font-size: 1em;
      line-height: 1.3em;
   }

   #wrapper {
      border: none;
      margin: 0 auto;
   }

   article p:first-of-type {
      text-align: left;
   }




   .logo {
      justify-content: center;
   }

   h1 {
      width: 100%;
   }

   article figure {
      position: static;
   }

   article p:last-of-type {
      position: static;
      text-align: center;
   }


   h1 br,
   .hide_m {
      display: none;
   }
}
