/* General setup */

* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0 auto;
    min-width: 1000px;
    max-width: 1400px;
  }
  
  /* Layout */
  
  section {
    float: left;
    width: 50%;
  }
  
  aside {
    float: left;
    width: 30%;
  }
  
  nav {
    float: left;
   
  }
  
  footer {
    clear: both;
  }
  
  header, section, aside, nav, footer {
    padding: 20px;
  }
  
  /* header and footer */
  header, footer {
    border-top: 5px solid #a66;
    border-bottom: 5px solid #a66;
  }
  
  /* WRITE YOUR CODE BELOW HERE */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
  body {
    margin: 0 auto;
    font-size: 12px;
    background-color: lab(90.24% 0 -0.01);
    min-width: 1000px;
    max-width: 2000px;
  }

  @font-face {
    font-family: 'BentonSans-Regular';
    font-style: normal;
    font-weight: normal;
    src: local('BentonSans-Regular'), url('BentonSans-Regular.woff') format('woff');
  }

  section, aside {
    font-family: 'BentonSans-Regular';
    font-style: normal;
    font-weight: normal;
    src: local('BentonSans-Regular'), url('BentonSans-Regular.woff') format('woff');
  }

   header, footer {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #0033a0;
    color: whitesmoke;
    border-top: 5px solid #b1b3b3;
    border-bottom: 5px solid #b1b3b3;
    text-align: center;
    }

  header {
   padding: 40px;
   font-size: 1.5rem;
   margin: 0;
  }

  footer {
    padding: 20px;
    font-size: 1rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    min-width: 1000px;
    max-width: 2000px;
  }
 
  h2  {
      padding: 20px;
      margin-left: 0, auto;
      margin-right: 0, auto;
  }

  section p {
    margin-left: 20px;
  }

  section ol, ul {
    padding: 10px;  
    margin-left: 40px;
  }
  
  aside h2 {
    padding: 15px;
      margin-left: 0, auto;
      margin-right: 0, auto;
  }
  aside ul {
    margin-top: 0;  
    margin-left: 50px;
    margin-right: 0, auto;
  }

  aside p {
    padding: 10px;
    margin-left: 10px;
    margin-right: 0, auto;
  }
   
  nav {
    padding: 5px;
    width: 100%;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bolder;
    background-color: #0033a0;
    border-bottom: 5px solid #b1b3b3;
  }

  nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  }

  nav li {
    float: left;
  }

  nav li a {
    display: block;
    color: whitesmoke;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    width: auto;
    font-size: 1.5em;
  }

  section {
    float: left;
    width: 75%;
    margin: auto;
  }
  aside {
    float: left;
    width: 25%;
  }

nav li a:hover:not(.active) {
  background-color: #b1b3b3;
  color: black;
  }
  
   section a:link {
    color: purple;
  }
  section a:visited {
    color: #0033a0;
  }
  section a:hover {
    text-decoration: none;
  }
  section a:active {
    font-weight: bold;
    font-size: 12px;
  }
  aside a:link {
    color: purple;
  }
  aside a:visited {
    color: #0033a0;
  }
  aside a:hover {
    text-decoration: none;
  }
  aside a:active {
    font-weight: bold;
    font-size: 15px;
  }
  ul {
    list-style-type: disc;
  }

@media screen and (max-width: 800px) {
  section, aside, header, footer {   
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 400px) {
  nav a {
    float: none;
    width: 100%;
  }
}