@charset "utf-8";

@font-face {
   font-display: swap;
   font-family: 'Fira Sans';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/fira-sans-v17-latin-regular.eot');
   src: url('../fonts/fira-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/fira-sans-v17-latin-regular.woff2') format('woff2'), url('../fonts/fira-sans-v17-latin-regular.woff') format('woff'), url('../fonts/fira-sans-v17-latin-regular.ttf') format('truetype'), url('../fonts/fira-sans-v17-latin-regular.svg#FiraSans') format('svg');
}

@font-face {
   font-display: swap;
   font-family: 'Fira Sans';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/fira-sans-v17-latin-700.eot');
   src: url('../fonts/fira-sans-v17-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/fira-sans-v17-latin-700.woff2') format('woff2'), url('../fonts/fira-sans-v17-latin-700.woff') format('woff'), url('../fonts/fira-sans-v17-latin-700.ttf') format('truetype'), url('../fonts/fira-sans-v17-latin-700.svg#FiraSans') format('svg');
}

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   color: #000000;
   font: 400 1em/1.3em 'Fira Sans', Arial, sans-serif;
}

h1,
h2,
strong {
   font-weight: 700;
}

#wrapper {
   position: relative;
   max-width: 745px;
   margin: 1rem auto;
   border: solid 1px #000;
   background: #fff;
   overflow: hidden;
}

p {
   padding-bottom: 0.75rem;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}

img {
   max-width: 100%;
   height: auto;
}

h1 {
   margin: 0 0 1rem 0;
   font-size: 1em;
   padding-left: 25px;
   font-weight: 400;
   background: url('../images/icon.jpg') no-repeat -1px 3px;
}

h2 {
   font-size: 1.188em;
   line-height: 1.3em;
   margin-bottom: 0.5rem;
   color: #0082C7;
}

section :is(h3, p) {
   text-align: right;
}

h3 {
   font-size: 1.9em;
   line-height: 1.2;
   color: #A6CE39;
}

footer strong {
   color: #0082C7;
}

.blue,
h1 {
   color: #054270;
}

.box {
   display: flex;
   gap: 1rem;
   position: absolute;
   right: 4rem;
   top: 10rem;
}

.box p {
   color: #fff;
}

main {
   padding: 2rem 3rem;
}

figure {
   margin: 10px 0 0;
}

.flex {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   padding: 0 4rem 1rem;
}

footer {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   gap: 0 1rem;
   flex-wrap: wrap;
}

.small {
   font-size: 0.750em;
}

i {
   font-size: 1.375em;
}

footer p {
   text-transform: uppercase;
   font-size: 0.750em;
   line-height: 1.3;
}

@media only screen and (max-width:744px) {
   #wrapper {
      border: none;
      margin: 0 auto;
   }

   p {
      text-align: left;
      -moz-hyphens: auto;
      -o-hyphens: auto;
      -webkit-hyphens: auto;
      -ms-hyphens: auto;
      hyphens: auto;
   }

   p :is(a,span) {
      display: inline-block;
   }

   .flex {
      padding: 1rem 0;
   }

   .box {
      position: static;
      justify-content: space-between;
      flex-wrap: wrap;
   }

   .box :is(p, h3) {
      text-align: left;
   }

   .box p {
      color: #000;
   }

   br {
      display: none;
   }

   h1 {
      position: static;
      color: #000;
      margin-bottom: 1.5rem;
   }

   main {
      padding: 1.5rem;
   }

   figure {
    margin: 0 0 1rem;
   }

   footer {
      flex-direction: column;
      align-items: center;
   }

}

@media only screen and (max-width:480px) {
   main {
      padding: 1rem;
   }

}
