/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body:root {
  --header-bg:#F1F1F1;
  --nav-bg:#F2F2F2;
  --article-bg:#EDEDEF;
  --border-color:#E0E0E0;
  --sidebar-text-color:#6F7A79;
  --article-text-color:#625F5F;
  --article-heading-color:#929292;
  --nav-link-color:#5f758c;
  --darker-border-color:#C6C6C6;
}
html, body {
  padding:0;
  margin:0;
}
body {
  font-size:12px;
}
body a {
  color:#5f758c;
}

header, nav {
  max-width:100%;
}
aside {
  width:250px;
  margin-top:30px;
}
.flex {
  display:flex;
  max-width:900px;
}
nav {
  height:auto;
  margin-bottom:10px;
  background-color:#F2F2F2;
}
header {
  max-height:200px;
  height:200px;
  background-color:#F1F1F1;
  background-image:url('https://learn.sadgrl.online/wp-content/uploads/2022/02/skyline-banner.png');
  background-repeat:repeat-y;
  background-size:600px;
  background-position:center;
}
main {
  width:100%;
  margin-left:20px;
  margin-right:20px;
}
section {
  margin-bottom:10px;
  color:#6F7A79;
}
article { 
  border:1px solid #C6C6C6;
  margin-bottom:15px;
  background-color:#EDEDEF;
  color:#625F5F;
  padding:10px;
}
.subtitle {
  border:1px solid #C6C6C6;
  background-color:#F2F2F2;
}
.links {
  list-style-type:none;
  padding-left:0;
}
.links li {
  background-color:#F2F2F2;
  border:1px solid #E0E0E0;
  margin-bottom:3px;
}
.links li a {
  text-decoration:none;
  color:inherit;
}
.nav {
  margin-top:10px;
  margin-left:100px;
}
.nav li {
  display:inline-block;
  padding-left:30px;
}
.nav li a {
  text-decoration:none;
  text-transform:uppercase;
  color:#5f758c;
}
.left-sidebar {
  margin-left:50px;
}
.subtitle {
  color:#625F5F;
  font-weight:bold;
  letter-spacing:1px;
}
article .subtitle {
  text-transform:uppercase;
  font-size:16px;
  color:#929292;
  margin:10px;
  margin-left:5px;
  margin-right:5px;
  margin-bottom:10px;
  
}
nav {
  border:2px solid #C6C6C6;
  border-left:none;
  border-right:none;
}
footer {
  max-width:800px;
  text-align:center;
  color:#6F7A79;
}
footer a{
  color:#5f758c;
}
@media only screen and (max-width: 800px) {
  .flex {
    flex-wrap:wrap;
  }
  aside {
    display:flex;
    width:100%;
    margin-left:20px;
    margin-right:20px;
  }
  aside > section {
    margin-right:10px;
  }
  .nav {
    margin-left:0;
    margin-right:50px;
  }
  .nav li {
    padding-bottom:5px;
  }
}