@charset "utf-8";

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   color: #000;
   font: 1em/1.25em Arial, sans-serif;
}

#wrapper {
   position: relative;
   max-width: 740px;
   margin: 1rem auto;
   border: solid 2px #000;
   background-color: #fff;
   overflow: hidden;
   padding: 3rem 0.75rem 0.5rem;
}

p {
   padding-bottom: 1rem;
}

h1 {
   margin: 0.5rem 0 1rem;
   font-size: 1.125em;
   line-height: 1.3em;
}

h2 {
   font-size: 1.375em;
   line-height: 1.3;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: #000;
   text-decoration: none;
}

img {
   max-width: 100%;
   height: auto;
}

header {
   position: absolute;
   top: 1.5rem;
   right: 3.5rem;
}

figure {
   margin: 0 0 0.7rem;
}

footer p {
   text-align: center;
   position: absolute;
   right: 1.5rem;
   bottom: 6px;
}

.big {
   font-size: 1.063em;
   font-weight: 700;
   text-decoration: underline;
}

@media only screen and (max-width:739px) {
   #wrapper {
      border: none;
      margin: 0 auto;
      padding: 1rem;
   }

   p a,
   span {
      display: inline-block;
   }

   article p br {
      display: none;
   }

   footer p {
      text-align: center;
      position: static;
   }

   header {
      position: static;
      display: flex;
      justify-content: center;
   }

}
