*, *:before, *:after {
  box-sizing: border-box;
}

body {
  margin: 40px;
  font-family: 'Open Sans', 'sans-serif';
  background-color: #FBF8EF;
  color: #fff;
  }

p {
  margin: 0 0 1em 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  line-height: 20px;
  align="justify"
  }

h1, h2, h3, h4 {
  margin: 0 0 1em 0;
  font-family: Arial, Helvetica, sans-serif;
  color: green;
  }


.wrapper {
  max-width: 1040px;
  margin: 0 20px;
  display: grid;
  grid-gap: 3px;
}

@media screen and (min-width: 500px) {

  /* no grid support? */


.content {
  float: right;
  width: 98.9361%;
}

.wrapper {
  margin: 0 auto;
}

.header, .footer {
  /* needed for the floated layout */
  clear: both;
}


.wrapper > * {
  background-color: #fff;
  color: #000;
  border-radius: 5px;
  border: 1px solid rgba(33,97,11,0.3);
  padding: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 95%;
  line-height: 20px;
  align="justify"
  /* needed for the floated layout*/
  margin-bottom: 10px;
}

.header, .footer {
  background-color: #97C994;
  color: #173B0B;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 80%;
  text-align: right;

}


/* We need to set the widths used on floated items back to auto, and remove the bottom margin as when we have grid we have gaps. */
@supports (display: grid) {
  .wrapper > * {
    width: auto;
    margin: 0;
  }
}
