@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   font: 1em/1.3em "Lexend", sans-serif;
   color: #000;
}

#wrapper {
   position: relative;
   margin: 1rem auto;
   overflow: hidden;
   max-width: 670px;
   border: solid 1px #013D7D;
   background: #fff;
}

p {
   padding-bottom: 0.5rem;
}

h1 {
   margin: 0 -1rem 0.5rem;
   padding: 0.3rem 1rem 0.5rem;
   font-size: 1.792em;
   line-height: 1.1em;
   background: #013D7D;
   color: #fff;
   text-align: center;
}

h2 {
   font-size: 2.5em;
   line-height: 1.3;
   border-top: 4px solid #D91F3D;
   text-align: center;
   padding-top: 1.3rem;
}

h3 {
   font-size: 1em;
   line-height: 1.3;
}

h2,
h3 {
   color: #D91F3D;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}

ul {
   padding: 0 0 0.7rem;
   list-style: none;
}

li {
   padding: 0 0 0 16px;
}

ul li:before {
   content: "\2022";
   font-size: 1em;
   margin: 0 0 0 -16px;
   float: left;
}

header {
   padding: 0.5rem 1rem;
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   align-items: end;
}

article {
   padding: 0 1rem;
}

.contact {
   color: #013D7D;
   text-align: center;
   font-size: 1.125em;
   line-height: 1.3;
}

.line {
   border: none;
   margin: 0 -1rem 0.5rem;
   border-bottom: 8px solid #D91F3D;
   position: relative;
   padding-bottom: 0;
}

.line:before {
   position: absolute;
   top: -5px;
   width: 100%;
   left: 0;
   content: "";
   background: #013D7D;
   height: 2px;
}

footer p {
   background: #013D7D;
   padding: 0.3rem 1rem;
   text-align: center;
   color: #fff;
}

img {
   max-width: 100%;
   height: auto;

}

@media only screen and (max-width:669px) {
   #wrapper {
      border: none;
      margin: 0 auto;
   }

   p {
      text-align: left;
   }

   p :is(a, span) {
      display: inline-block;
   }

   figure {
      display: flex;
      justify-content: center;
      margin-bottom: 0.7rem;
   }

   header {
      display: block;
   }
}
