body {
    margin: 0rem;
    padding: 0px;
    font-family: -apple-system, BlinkMacSystemFont,
              "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
              "Fira Sans", "Droid Sans", "Helvetica Neue",
              sans-serif;
    /*display: grid;*/
    grid-gap: 0.1vw;
    grid-template-columns: 6.5rem 1fr;
    grid-template-rows: 6rem 1fr 3rem;
    grid-template-areas: "header   header"
                         "sidebar content"
                         "footer footer";  
  }
}

header {
  grid-area: header;
  text-transform: uppercase;
  padding-top: 1px;
  padding-bottom: 1px;
  color: #fff;
  border-style: solid;
  border-width: 2px;
}

aside {
  grid-area: sidebar;
  color: #fff;
  float: right;
  width: 26.3rem;
}

@supports (display: grid) {
  main {
    width: auto;
  }
}

footer {
  grid-area: footer;
  color: #fff;
  border-width:2px;
  border-style: solid;
  clear: both;
}

main {
  grid-area: content;
  float: left;
  width: calc(100% - 30.2rem);
  padding: 5px;
  border-right: 1px solid grey;
  /*background: hsl(240, 100%, 50%);*/
}

@media all and (max-width: 575px) {
  body {
    grid-template-rows: 6rem  1fr 5.5rem  5.5rem;  
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "content"
      "sidebar"
      "footer";
    }
    font-size: 11px;
}

/* FORM */
form {
  display: grid;
  padding: 1em;
  /*background: #f9f9f9;*/
  /*border: 1px solid #c1c1c1;*/
  margin: 2rem auto 0 auto;
  max-width: 600px;
  padding: 1em;
}
form input {
  background: #fff;
  border: 1px solid #9c9c9c;
}
form button {
  background: lightgrey;
  padding: 0.7em;
  width: 100%;
  border: 0;
  margin-bottom: 30px;
}
form button:hover {
  background: gold;
}

label {
  padding: 0.5em 0.5em 0.5em 0;
}

input {
  padding: 0.7em;
  margin-bottom: 0.5rem;
}
input:focus {
  outline: 1px solid darkgrey;
}

@media (min-width: 400px) {
  form {
    grid-template-columns: 200px 1fr;
    grid-gap: 16px;
  }

  label {
    text-align: right;
    grid-column: 1 / 2;
  }

  input,
  button {
    grid-column: 2 / 3;
  }
}
