:root {
  --header-bg:#2B2A2B;
  --nav-bg:#F2F2F2;
  --article-bg:#EDEDEF;
  --border-color:#E0E0E0;
  --sidebar-text-color:#f5f3f0;
  --article-text-color:#625F5F;
  --article-heading-color:#929292;
  --nav-link-color:#625F5F;
  --darker-border-color:#C6C6C6;
}
@font-face {
  font-family: 'Venice Classic';
  src: url('https://manufactured-ascent.neocities.org/VeniceClassic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
body {
  cursor: url('https://cdn.cursors-4u.net/css-previews/flashy-colorful-pink-yellow-green-blue-star-4-2f4a2f2b-css.webp') 0 0, auto;
  padding: 0;
  margin: 0;
}
a,
a:hover,
a:active,
a:focus {
  cursor: url('https://cdn.cursors-4u.net/css-previews/flashy-colorful-pink-yellow-green-blue-star-4-2f4a2f2b-css.webp') 0 0, auto;
}
body {
  background-color: #2B2A2B;  /* dark background */
  margin: 0;
  padding: 0;
  position: relative;          /* for layering pseudo-elements */
  overflow-x: hidden;          /* prevent horizontal scroll if candle extends */
}

/* Desktop candle */
.candle {
  position: fixed; 
  top: 300px; /* below header */ 
  left: 800px; 
  width: 200px; 
  height: 300px; 
  background: url("https://manufactured-ascent.neocities.org/candle.gif") no-repeat; /*actually candle*/
  background-size: contain; 
  pointer-events: none; 
  z-index: 9999; } 
  /* Mobile candle - override with !important to ensure it works */
  @media only screen and (max-width: 400px) { 
    .candle { 
    top: 100px !important; 
    right: 1px !important; 
    width: auto !important; 
    height: auto !important; 
    } 
  }
body {
  font-size:12px;
  background-color: var(--header-bg);
}
body a {
  color:var(--nav-link-color);
}

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:var(--nav-bg);
}
header {
  max-height:200px;
  height:200px;
  background-color:var(--header-bg);
  background-image:url('https://images.fineartamerica.com/images/artworkimages/mediumlarge/2/book-shelves-david-madison.jpg');
  background-position: center; /* Centers the image within the body */
  background-repeat: no-repeat; /* Prevents the image from tiling */
  background-size: cover;
}
main {
  width:100%;
  margin-left:20px;
  margin-right:20px;
}
section {
  margin-bottom:10px;
  color:var(--sidebar-text-color);
}
.left-sidebar {
  width: 200px;
  margin-left: 50px;
  flex-shrink: 0; /* prevent shrinking */
  font-size: 13px;
}

.right-sidebar {
  width: 200px;
  flex-shrink: 0;
}

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);
}
.links {
  list-style-type:none;
  padding-left:0;
}
.links li {
  background-color:var(--header-bg);
  border:1px solid var(--border-color);
  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:var(--nav-link-color);
  font-size: 30px;
  font-family: "Venice Classic", serif;
}
.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);
}
footer a{
  color:var(--navbar-link-color);
}
@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 !important;
    margin-right:50px;
  }
  .nav li {
    padding-bottom:5px;
  }
}