* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}

div#container {
  background-color: bisque;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 200px 100px 1fr 100px 200px;
      grid-template-columns: 200px 100px 1fr 100px 200px;
  -ms-grid-rows: 100px 40px 1fr 100px;
      grid-template-rows: 100px 40px 1fr 100px;
      grid-template-areas: " header header header header header  " " . nav nav nav.  " " . . main . .  " " footer footer footer footer footer ";
}

div#container > header {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
  grid-area: header;
  background-color: lightgreen;
  text-align: center;
}

div#container > nav {
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  -ms-grid-column-span: 2;
  grid-area: nav;
  background-color: coral;
}

div#container > nav > ul {
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

div#container > nav > ul > li > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: blue;
  background-color: darkgray;
  text-decoration: none;
  padding: 5px;
  margin: 7px;
  border-top-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 7px;
}

div#container > main {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
  grid-area: main;
  background-color: darkgray;
  min-height: 750px;
}

div#container > main > article > section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-bottom: 20px;
}

div#container > main > article > section > h2 {
  text-align: center;
  color: #4d4d4d;
}

div#container > main > article > section > h3 {
  text-align: center;
  color: #666666;
}

div#container > main > article > section > p {
  max-width: 30vw;
  margin: auto;
  text-align: center;
}

div#container > main > article > section > table {
  border: 4px;
  border-style: solid;
  border-collapse: collapse;
  margin: 20px;
}

div#container > main > article > section > table > tbody > tr > th {
  border: 3px;
  border-style: solid;
  padding: 5px;
}

div#container > main > article > section > table > tbody > tr > td {
  border: 2px;
  border-style: solid;
  padding: 5px;
}

div#container > main > article > section > img {
  height: 200px;
  padding: 10px;
}

div#container > footer {
  background-color: lightgreen;
  -ms-grid-row: 4;
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
  grid-area: footer;
}

/* Tablet */
@media screen and (max-width: 1024px) {
  div#container {
    background-color: bisque;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 60vw 1fr;
        grid-template-columns: 1fr 60vw 1fr;
    -ms-grid-rows: 100px 40px 1fr 100px;
        grid-template-rows: 100px 40px 1fr 100px;
        grid-template-areas: " header header header  " " .  nav .  " " .  main  .  " " footer footer footer ";
  }
}

/* Phone */
@media screen and (max-width: 720px) {
  div#container > main {
    min-height: 428px;
    width: 60vw;
  }
  div#container > main > article > section > p {
    max-width: 50vw;
  }
  div#container > main > article > section > img {
    height: 25vw;
  }
}
/*# sourceMappingURL=mall.css.map */