h1 {
  color: white;
  text-align: center;
  font-size: 18px
}

h2 {
  color: white;
  text-align: center;
  font-size: 14px
}

p {
  color: white;
  text-align: left;
  font-size: 14px;
  line-height: 0.25;
  line-height: 1;
}

/* unvisited link */
a:link {
  color: white;
  font-size: 14px
}

/* visited link */
a:visited {
  color: #f2f2f2;
  font-size: 14px
}

body {
  background-image: url("https://cinni.net/sonic_blue/space_bg.gif");
  color: white;
  margin: 40px;
}

.container {
  display: grid;
  grid-gap: 10px;
  max-width: 1000px;
  margin: 100px auto;
  grid-template-columns: 250px minmax(0, 1fr);
}

top { grid-area: top; }
side { grid-area: side; }
main { grid-area: main; }
footer { grid-area: footer; }

@media (max-width: 750px) {
  .container {
    grid-template:
      "top"
      "side"
      "main"
      "footer";
  }  
}

top {
  border: white 2px dotted;
  background-color: black;
  grid-row: 1 / 2;
  grid-column: 1 / 3;
  text-align: center; 

}

.topnav a {
  display: inline-block;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 14px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav .active {
  background-color: #04AA6D;
  color: white;
}

side { 
  background-color: black;
  grid-row: 2 / 3;
  grid-column: 1 / 2;
  height: max-content;
}

main {
  border: white 2px dotted;
  background-color: black;
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  height: 500px
}

footer {
  border: white 2px dotted;
  background-color: black;
  grid-row: 3 / 4;
  grid-column: 1 / 3;
  text-align: center;
}