@charset "utf-8";

/* Standard */
:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   font: 1em/1.3em Arial, "Segoe UI", Calibri, sans-serif;
   color: #fff;
}

#wrapper {
   position: relative;
   margin: 1rem auto;
   overflow: hidden;
   max-width: 620px;
   border: solid 1px #000;
   background: #2E3336;
   padding: 1rem;
}

p {
   padding-bottom: 1rem;
}

h1 {
   margin: 2rem 0rem 0rem;
   font-size: 3.2em;
   line-height: 1.1em;
}

h1 small {
   font-size: 0.5em;
   font-weight: 400;
   display: block;
   line-height: 1;
}

h2,
h3 {
   font-size: 2em;
   line-height: 1.3;
   padding-bottom: 0.7rem;
}

h3 {
   font-weight: 400;
}

h4 {
   font-size: 1em;
   line-height: 1.3;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}

header {
   position: absolute;
   right: 1rem;
   top: 1rem;
}

main {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
}

footer {
   padding-top: 6rem;
}

img {
   max-width: 100%;
   height: auto;
}

@media only screen and (max-width:619px) {
   #wrapper {
      border: none;
      margin: 0 auto;
      hyphens: auto;
   }

   p {
      text-align: left;
   }

   header {
      position: static;
      display: flex;
      justify-content: center;
      padding-bottom: 1rem;
   }

   p :is(span, a) {
      display: inline-block;
   }

   h1 {
      font-size: 2em;
      hyphens: auto;
   }

   h1 small {
      font-size: 0.7em;
   }

   h2,
   h3 {
      font-size: 1.75em;
   }

   .hide_m,
   article br {
      display: none;
   }

   footer {
      padding-top: 1rem;
   }
}
@media only screen and (max-width:400px){
   h1{
      font-size: 1.7em;
   }
}