/* 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." */
   
/* Last updated at 2 in the morning, 2/26/2026 */

body {
  font-family: Garamond, serif;
  background-image:url('/images/vineskullseamless.png');
}

h1 {
  font-size:500%;
  margin:2%;
}

h2 {
  font-size:300%;
  margin:2%;
}

h3 {
  font-size:250%;
  margin:2%;
}

ul {
  font-size:180%;
  margin:2%;
}

ol {
  font-size:180%;
  margin:2%;
}

p {
  font-size:180%;
  margin:2%;
}

div.bodyandsidebar {
  width:95%;
  margin:auto;
  overflow:auto;
}
div.bodyandsidebar div {
 float:left;
 background-color:rgba(230,240,230,0.6);
 border:2px solid rgba(180,180,180,0.8);
}
    
/* Style the header */
header {
  background-color:rgba(230,240,230,0.6);
  padding: 2px;
  text-align: center;
  width: 95%;
  margin: auto;
}

/* Create two columns/boxes that floats next to each other */
nav {
  float: left;
  padding: 2px;
  width: 18%;
  background-color:rgba(230,240,230,0.6);
  border:2px solid rgba(180,180,180,0.8);
  margin: 1%;
}

/* Style the list inside the menu */
nav ul {
  list-style-type: none;
  padding: 0;
}

article {
  float: left;
  padding: 2px;
  width: 76.5%;
  background-color:rgba(230,240,230,0.6);
  border:2px solid rgba(180,180,180,0.8);
  margin: 1%;
}

section {
  width: 95%;
  margin: auto;
}

/* Clear floats after the columns */
section::after {
  content: "";
  display: table;
  clear: both;
}

/* Style the footer */
footer {
  background-color: #777;
  padding: 10px;
  text-align: center;
  color: white;
}

/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 600px) {
  nav, article {
    width: 95%;
    height: auto;
  }
}

/* When making a new page, use this code as the backbone for the format.
<!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="/style.css">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>(TITLE)</title>
  </head>

  <body>
    
    <header>
      <h1 style="text-align:center;"><b>(HEADER)</b></h1>
    </header>
    
    <section>
      
      <!--Sidebar for links-->
      <nav>
        <ul>
          <li><a href="index.html">Homepage</a></li>
          <li><a href="charlist.html">Characters</a></li>
          <li><a href="locations.html">Locations</a></li>
        </ul>
      </nav>
      
      <!--Body of the page-->
      <article>
        <h2>(SUB-HEADER)</h2>
        <p>(PARAGRAPH)</p>
      </article>
      
    </section>

  </body>
</html>
*/