@charset "utf-8";
:root {
  font-size: 16px;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  min-height: 100%;
}
body {
  color: #fff;
  font: 400 1em/1.5em Arial, sans-serif;
}
#wrapper {
  position: relative;
  max-width: 800px;
  margin: 1rem auto;
  border: solid 1px #000;
  background-color: #006D4A;
  overflow: hidden;
}
p {
  padding-bottom: 1rem;
}
h1 {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.66em;
  line-height: 1.1em;
}
h2 {
  width: 220px;
  height: 72px;
  background: url('../images/bg.png');
  font-size: 1.125em;
  line-height: 1.3em;
  margin: 0 0 0.25rem -1rem;
  padding: 1.5rem 0 0 1rem;
}
h3 {
  font-size: 1.5em;
  line-height: 1.4;
  text-align: center;
  background-color: #0155B8;
  border-radius: 50%;
  padding: 1.5rem 1rem;
  width: 150px;
  height: 150px;
  color: #fff;
  position: absolute;
  top: 19rem;
  left: 50%;
  transform: translateX(-50%);
}
h4 {
  font-size: 1.25em;
  line-height: 1.3;
}
:is(a:link,a:hover,a:visited,a:active){
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul {
  padding: 0 0 1rem;
  list-style: none;
}
li {
  padding-left: 2.6rem;
}
ul li:before {
  content: "•";
  font-size: 1.25em;
  float: left;
  margin-left: -1.3rem;
}
@-webkit-keyframes slidy {
  0% { left: 0%; }
  16.6% { left: 0%; }
  33.2% { left: -100%; }
  49.8% { left: -100%; }
  66.4% { left: -200%; }
  83% { left: -200%; }
  100% { left: -300%; }
  }
  
  @keyframes slidy {
  0% { left: 0%; }
  16.6% { left: 0%; }
  33.2% { left: -100%; }
  49.8% { left: -100%; }
  66.4% { left: -200%; }
  83% { left: -200%; }
  100% { left: -300%; }
  }
  header section { overflow: hidden; }
  header section figure img { width: 25%; float: left; }
  header section figure { 
    position: relative;
    width:400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    -webkit-animation-name:slidy;
    -webkit-animation-duration: 15s;
    -webkit-animation-delay: 5s;
    -webkit-animation-iteration-count: infinite;
    animation: 15s slidy infinite; 
  }
article {
  padding: 1.5rem 2rem 0.5rem;
}
.box :is(h4, p) {
  color: #fff;
}
.box p {
  padding-bottom: 0.775rem;
}
.box {
  padding: 1.5rem 1rem 0;
  background-color: #0155B8;
  position: absolute;
  right: 2rem;
  bottom: 30rem;
}
.small {
  font-size: 0.7em;
  line-height: 1.3;
}
footer {
  background: #fff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: flex-end;
}
@media only screen and (max-width:799px) {
  #wrapper {
    border: none;
    margin: 0 auto;
  }
  a {
    display: inline-block;
  }
  h3 {
    position: static;
    transform: none;
    margin: 0 auto 1rem;
  }
  footer {
    justify-content: center;
  }
}
@media only screen and (max-width: 700px) {
  .box {
    position: static;
    width: fit-content;
    margin: 0 auto 1.5rem;
  }
}
@media only screen and (max-width:480px) {
  article {
    padding: 1.5rem 1rem 0.5rem;
  }
  li {
    padding-left: 1.3rem;
  }
}