/* 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." */
:root {
   --header-bg:#567f8e;
  --nav-bg:#5a0ec9;
  --article-bg:#FFFFFF;
  --border-color:#002BD9;
  --sidebar-text-color:#FFFFFF;
  --article-text-color:#0C0275;
  --article-heading-color:#FFFFFF;
  --nav-link-color:#D24BB7;
  --darker-border-color:#002BD9;
  --bg-color:#0C0275;
}
html, body {
  padding:0;
  margin:0;
    color:var(--header-bg);
    
}
body {
  font-size:15px;
 background-color:var(--bg-color);
background-image:url('/style images/blueback.png');
  background-repeat:repeat;
     
}
body a {
  color:var(--nav-link-color);
}

header, nav {
  max-width:100%;
  
     
}
aside {
  width:250px;
  margin-top:30px;
      
   
}
.flex {
  display:flex;
  max-width:1000px;
    margin: auto;
text-align: center;
      background-image:url('/style images/blueback.png');
  background-repeat:repeat;
    color:var(--header-bg);
    
   
   
 
}
nav {
  height:auto;
  margin-bottom:10px;
  background-color:var(--nav-bg);
    max-width:100%;
text-align: center;
   
}
header {
  max-height:200px;
  height:200px;
  background-color:var(--header-bg);
  background-image:url('ahbanner.png');
  background-size:cover;
    
    
}
main {
  width:100%;
  margin-left:20px;
  margin-right:20px;
      background-image:url('/style images/blueback.png');
  background-repeat:repeat;
    color:var(--header-bg);
   
  
}
section {
  margin-bottom:10px;
  color:var(--sidebar-text-color);
}
article { 
  border:1px solid var(--darker-border-color);
  margin-bottom:15px;
  background-color:var(--article-bg);
  color:var(--article-text-color);
  padding:10px;

}
.subtitle {
  border:1px solid var(--darker-border-color);
  background-color:var(--nav-bg);
   font-family:'veniceclassic-webfont'
  
}
.links {
  list-style-type:none;
  padding-left:0;
}
.links li {
  background-color:var(--nav-bg);
  border:1px solid var(--border-color);
  margin-bottom:3px;
}
.links li a {
  text-decoration:none;
  color:inherit;
}
.nav {
  margin-top:10px;
  margin-left:10px;
}
.nav li {
  display:inline-block;
  padding-left:10px;
}
.nav li a {
  text-decoration:none;
  text-transform:uppercase;
  color:var(--nav-link-color);
}
.left-sidebar {
  margin-left:50px;
}
.subtitle {
  color:var(--article-text-color);
  font-weight:bold;
  letter-spacing:1px;
}
article .subtitle {
  text-transform:uppercase;
  font-size:16px;
  color:var(--article-heading-color);
  margin-top:10px;
  margin-left:5px;
  margin-right:5px;
  margin-bottom:10px;
  
}
nav {
  border:2px solid var(--darker-border-color);
  border-left:none;
  border-right:none;
}
footer {
  max-width:800px;
  text-align:center;
  color:var(--sidebar-text-color);
margin: auto;
text-align: center;
   
}
footer a{
  color:var(--navbar-link-color);
}
@media only screen and (max-width: 800px) {
  .flex {
    flex-wrap:wrap;
        background-image:url('/style images/blueback.png');
  background-repeat:repeat;
    color:var(--header-bg);
   
   
  }
  aside {
    display:flex;
    width:100%;
    margin-left:20px;
    margin-right:20px;
  }
  aside > section {
    margin-right:10px;
  }
  .nav {
    margin-left:0 !important;
    margin-right:50px;
  }
  .nav li {
    padding-bottom:5px;
  }
}