@charset "utf-8";

@font-face {
   font-display: swap;
   font-family: 'Source Sans 3';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/source-sans-3-v19-latin-regular.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/source-sans-3-v19-latin-regular.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/source-sans-3-v19-latin-regular.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/source-sans-3-v19-latin-regular.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/source-sans-3-v19-latin-regular.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/source-sans-3-v19-latin-regular.svg#SourceSans3') format('svg');
   /* Legacy iOS */
}

@font-face {
   font-display: swap;
   font-family: 'Source Sans 3';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/source-sans-3-v19-latin-700.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/source-sans-3-v19-latin-700.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/source-sans-3-v19-latin-700.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/source-sans-3-v19-latin-700.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/source-sans-3-v19-latin-700.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/source-sans-3-v19-latin-700.svg#SourceSans3') format('svg');
   /* Legacy iOS */
}

@font-face {
   font-display: swap;
   font-family: 'Merriweather';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/merriweather-v33-latin-700.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/merriweather-v33-latin-700.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/merriweather-v33-latin-700.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/merriweather-v33-latin-700.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/merriweather-v33-latin-700.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/merriweather-v33-latin-700.svg#Merriweather') format('svg');
   /* Legacy iOS */
}

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   color: #000;
   font: 400 1em/1.3 'Source Sans 3', Arial, sans-serif;
   text-align: center;
}

#wrapper {
   position: relative;
   max-width: 800px;
   margin: 1rem auto;
   border: solid 1px #000;
   background: #7B8080 url('../images/bg.jpg') no-repeat top center;
   overflow: hidden;
   padding: 2rem 5rem 0;
}

p {
   padding-bottom: 1rem;
}

.font {
   font-size: 1.125em;
   line-height: 1.3;
}

h1 {
   margin: 0;
   font-size: 1.313em;
   line-height: 1.2;
}

h2 {
   font-size: 2.5em;
   line-height: 1.3em;
   margin-bottom: 12rem;
   color: #333A3F;
}

h3 {
   font-size: 1.313em;
   line-height: 1.3;
}

h1,
h3 {
   color: #5899B9;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
   white-space: nowrap;
}

img {
   max-width: 100%;
   height: auto;
}

h2,
.font {
   font-weight: 700;
   font-family: 'Merriweather', 'Times New Roman', serif;
   font-style: italic;
}

.width {
   width: 320px;
   margin: 0 0 3.5rem auto;
}

footer {
   padding: 1rem 5rem 0;
   background-color: #7B8080;
   margin: 1rem -5rem 0;
   position: relative;
}

footer p,
i {
   color: #fff;
}

footer p {
   font-size: 0.75em;
   line-height: 1.3;
}

figure a {
   position: absolute;
   top: 0.75rem;
   left: 5rem;
   font-size: 1.125em;
}

figure a:nth-of-type(2) {
   right: 5rem;
   left: unset;
}

@media only screen and (max-width: 799px) {
   #wrapper {
      border: none;
      margin: 0 auto;
      background: linear-gradient(#E6F4FA, #AFE0F1);
   }

   .width {
      width: auto;
   }

   .hide_m,
   br {
      display: none;
   }

   h2 {
      font-size: 1.85em;
      margin: 0 0 1rem;
   }

   p span {
      display: inline-block;
   }
}

@media only screen and (max-width: 780px) {
   #wrapper {
      padding: 2rem 2rem 0;
   }
}

@media only screen and (max-width: 610px) {
   figure a {
      position: static;
   }

   figure {
      display: flex;
      justify-content: center;
      gap: 1rem;
   }

   footer {
      padding-bottom: 1rem;
   }
}

@media only screen and (max-width: 480px) {
   #wrapper {
      padding: 1rem 1rem 0;
   }

   h2 {
      font-size: 1.75em;
   }
}
