@charset "utf-8";

@font-face {
   font-display: swap;
   font-family: 'Roboto Condensed';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/roboto-condensed-v27-latin-regular.eot');
   src: url('../fonts/roboto-condensed-v27-latin-regular.eot?#iefix') format('embedded-opentype'),
      url('../fonts/roboto-condensed-v27-latin-regular.woff2') format('woff2'),
      url('../fonts/roboto-condensed-v27-latin-regular.woff') format('woff'),
      url('../fonts/roboto-condensed-v27-latin-regular.ttf') format('truetype'),
      url('../fonts/roboto-condensed-v27-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
   font-display: swap;
   font-family: 'Roboto Condensed';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/roboto-condensed-v27-latin-700.eot');
   src: url('../fonts/roboto-condensed-v27-latin-700.eot?#iefix') format('embedded-opentype'),
      url('../fonts/roboto-condensed-v27-latin-700.woff2') format('woff2'),
      url('../fonts/roboto-condensed-v27-latin-700.woff') format('woff'),
      url('../fonts/roboto-condensed-v27-latin-700.ttf') format('truetype'),
      url('../fonts/roboto-condensed-v27-latin-700.svg#RobotoCondensed') format('svg');
}

@font-face {
   font-family: 'Raleway';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/raleway-v28-latin-regular.eot');
   src: local(''),
      url('../fonts/raleway-v28-latin-regular.eot?#iefix') format('embedded-opentype'),
      url('../fonts/raleway-v28-latin-regular.woff2') format('woff2'),
      url('../fonts/raleway-v28-latin-regular.woff') format('woff'),
      url('../fonts/raleway-v28-latin-regular.ttf') format('truetype'),
      url('../fonts/raleway-v28-latin-regular.svg#Raleway') format('svg');
}

@font-face {
   font-family: 'Raleway';
   font-style: normal;
   font-weight: 600;
   src: url('../fonts/raleway-v28-latin-600.eot');
   src: local(''),
      url('../fonts/raleway-v28-latin-600.eot?#iefix') format('embedded-opentype'),
      url('../fonts/raleway-v28-latin-600.woff2') format('woff2'),
      url('../fonts/raleway-v28-latin-600.woff') format('woff'),
      url('../fonts/raleway-v28-latin-600.ttf') format('truetype'),
      url('../fonts/raleway-v28-latin-600.svg#Raleway') format('svg');
}

@font-face {
   font-family: 'Raleway';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/raleway-v28-latin-700.eot');
   src: local(''),
      url('../fonts/raleway-v28-latin-700.eot?#iefix') format('embedded-opentype'),
      url('../fonts/raleway-v28-latin-700.woff2') format('woff2'),
      url('../fonts/raleway-v28-latin-700.woff') format('woff'),
      url('../fonts/raleway-v28-latin-700.ttf') format('truetype'),
      url('../fonts/raleway-v28-latin-700.svg#Raleway') format('svg');
}

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   color: #000;
   font: 400 1.063em/1.3em 'Roboto Condensed', Arial, sans-serif;
}

#wrapper {
   position: relative;
   max-width: 580px;
   margin: 1rem auto;
   overflow: hidden;
   background: #fff;
}

main {
   display: block;
   border: 2px solid #8697CD;
}

:is(h1, h2, strong) {
   font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}

p {
   padding-bottom: 0.5rem;
}

h1 {
   margin: -26px 0 0.5rem;
   font-size: 1.9em;
   line-height: 1.2;
   font-family: 'Raleway', Arial, sans-serif;
   color: #8496CB;
}

h1 span {
   font-size: 0.65em;
   line-height: 1.1;
   font-weight: 400;
   display: block;
}

h3 {
   font-size: 1em;
   line-height: 1.3;
}

ul {
   padding: 0 0 0.5rem 0;
   list-style: none;
}

li {
   padding: 0 0 0 0.6rem;
}

ul li:before {
   content: "•";
   font-size: 1em;
   float: left;
   margin: 0 0 0 -0.6rem;
}

img {
   max-width: 100%;
   height: auto;
   vertical-align: middle;
}

.logo {
   position: absolute;
   right: 0.625rem;
   top: 0;
   z-index: 999;
}

article {
   padding: 0.5rem 0.5rem 0;
}

footer {

   position: absolute;
   right: 1rem;
   top: 19.5rem;
}

footer p {

   text-align: center;
   font-size: 0.85em;
   line-height: 1.2;
   padding-bottom: 0.625rem;
}

@media only screen and (max-width:579px) {
   #wrapper {
      margin: 0 auto;
   }

   :is(p, li) {
      hyphens: auto;
   }

   p a,
   span {
      display: inline-block;
   }

   main {
      border: none;
      margin: 0;
   }

   .logo {
      position: static;
      display: flex;
      justify-content: center;
      padding: 0.5rem;
      background: #8697CD;
   }

   h2 {
      font-size: 1.7em;
   }

   header :is(figure, figure img) {
      width: 100%;
   }

   .box-bg {
      width: auto;
      height: auto;
      position: static;
      border-radius: 0;
      margin: -0.5rem -1rem 1rem;
      padding: 1rem;
   }

   h1 {

      line-height: 1.1;
      margin: 0.5rem 0;
   }

   footer {
      position: static;
      padding: 1rem;

   }

   figure {
      display: flex;
      justify-content: center;
   }
}

@media only screen and (max-width:420px) {
   footer {
      flex-direction: column;
      align-items: center;
   }

   footer p {
      flex: 1;
      text-align: center;
   }

   footer p a {
      display: inline;
   }
}
