@charset "utf-8";

:root {
   font-size: 16px;
}

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

html {
   min-height: 100%;
}

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

#wrapper {
   position: relative;
   margin: 1rem auto;
   overflow: hidden;
   max-width: 620px;
   border: solid 1px #000;
   background: #fff;

}

p {
   padding-bottom: 0.5rem;
   text-align: center;
}

.left {
   text-align: left;
}

h1 {
   margin: 0.5rem 0;
   font-size: 1.492em;
   line-height: 1;
   padding: 0.5rem;
   background: #639DD0;
   color: #fff;
}

h1 small {
   font-size: 0.67em;
}

h2 {
   font-size: 1.65em;
   line-height: 1.3;
}

h3 {
   text-align: center;
   font-size: 1.188em;
   line-height: 1.3;
}

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

h5 {
   font-size: 1.250em;
   line-height: 1.3;
   text-align: center;
}

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

ul {
   padding: 0 0 0.5rem;
   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 0 1rem;
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   align-items: flex-end;
}

main {
   padding: 1rem 1rem 0;
}

.box {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   padding-right: 2.5rem;
}

footer p {
   text-align: center;
   background: #000000;
   color: #fff;
   padding: 0.5rem 0.7rem;
}

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

}

@media only screen and (max-width:619px) {
   #wrapper {
      border: none;
      margin: 0 auto;
   }
   p :is(a, span) {
      display: inline-block;
   }

   .box ul:first-of-type {
      padding-bottom: 0;
   }
   header{
   	flex-wrap: wrap-reverse;
   }
}
