/*
Theme Name: Adjunct Theme
Author: Ada
Description: My first responsive HTML5 theme
Version: 1.0
*/


body {
  background-color: white;
  font-family: arial;
}

h1 {
  color: black;
  text-align: center;
}

p {
  color: black;
  font-size: 20px;
}

/* The side navigation menu */
.sidebar {
  margin: 0;
  padding: 0;
  flex-basis: 235px;
  flex-shrink: 0;
  background-color: black;
  height: 100%;
  overflow: auto;
}

/* Sidebar links */
.sidebar a {
  display: block;
  color: white;
  padding: 16px;
  text-decoration: none;
}

/* Active/current link */
.sidebar .active {
  background-color: #C927C9;
  color: white;
}

/* Links on mouse-over */
.sidebar a:hover:not(.active) {
  background-color: #555;
  color: white;
}

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
div.content {
  display:inline-block;
  padding: 1px 16px;
  height: 100%;
}

/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media screen and (max-width: 700px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    flex: 0 1 auto;
  }
  .sidebar a {float: left;}
  div.content {margin-left: 0;}
  .container {
    flex-direction: column;
  }
}

/* On screens that are less than 400px, display the bar vertically, instead of horizontally */
@media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
} 

/* Contains sidebar plus content */
.container {
  display: flex;
}

/* Subheader section */
.subheaders {
  background-color:#CE9FEF;
  text-align: right;
  padding-right: 10px;
}

/* The trio of blocks within the page containing content */
div.content-block {
  display: inline-block;
  vertical-align: top;
  padding: 10px;
  border: 1px white;
  height: 80%;
  width: 30%;
  min-inline-size: 275px;
}

div.content-block a {
  display: block;
  color: white;
  padding: 10px;
  text-decoration: none;
}

div.content-block a:link {
  color: white;
  background: #C927C9;
}

div.content-block a:hover {
  color: white;
  background: #555;
}