@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: 510px;
  margin: 1rem auto;
  border: solid 1px #000;
  background: url('../images/bg.jpg') bottom right no-repeat, #299FAD;
  overflow: hidden;
  padding: 0.8rem;
}
p {
  padding-bottom: 0.5rem;
}
h1 {
  margin: 0;
  font-size: 1.69em;
  line-height: 1.1em;
}
h2 {
  font-size: 1em;
  line-height: 1.3em;
  margin-bottom: 0;
}
:is(a:link,a:hover,a:visited,a:active){
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
img {
  max-width: 100%;
  height: auto;
}
ul {
  padding: 0 0 0.5rem;
  list-style: none;
}
li {
  padding-left: 1.1rem;
}
ul li:before {
  content: url('../images/icon.jpg');
  float: left;
  margin: 1px 0 0 -1.1rem;
}
header {
  display: flex;
  justify-content: flex-end;
}
.flex {
  display: flex;
  justify-content: space-between;
  font-size: 0.98em;
  line-height: 1.3;
}
footer p {
  text-align: center;
  padding-top: 0.75rem;
}
footer p a {
  background: #fff;
  color: #299FAD !important;
  display: inline-block;
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 4px;
}
@media only screen and (max-width:509px) {
  #wrapper {
    border: none;
    margin: 0 auto;
  }
  header {
    justify-content: center;
  }
  .flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0.5rem;
  }
  li br {
    display: none;
  }
  span {
    display: inline-block;
  }
}