:root {
  --fonts: "Georgia", serif;
  --base-size: 14px;
  --background: white;
  --background-transparent: transparent;
  --text: #000000;
  --accent: #9b0500;
  --accent-alt: #e5140b;
  --page-bg: #FFFFFF;
  --page-text: #5a5a5a;
  --page-width: 1000px;
  --header-height: 400px;
  --header-text: #FFFFFF;
  --sidebar-width: 200px;
  --sidebar-bg: #000000;
  --sidebar-text: #5a5a5a;
  --sidebar-dropshadow: #333333;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--background-image) var(--background);
  background-size: cover;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--fonts);
  font-size: var(--base-size);
}

a {
  color: var(--accent);
  text-decoration: underline dotted;
}
a:hover {
  color: var(--accent-alt);
}

h1 {
  font-size: 48px;
  margin: 0;
}

h2 {
  font-size: 2.5em;
  color: #000000;
}

h3 {
  font-size: 2em;
  color: #000000;
}

h4 {
  font-size: 1.5em;
  color: #000000;
}



blockquote {
  border-left: 1px var(--page-text) dotted;
  padding-left: 10px;
  margin-left: 10px;
}

img[align=right] {
  margin-left: 10px;
  margin-top: 10px;
}

img[align=left] {
  margin-right: 10px;
  margin-top: 10px;
}

blockquote {
  font-style: italic;
}



#page {
  display: grid;
  grid-template-rows: 150px auto 100px;
  gap: 20px;
  max-width: var(--page-width);
  margin: 0 auto;
  transform: translateX(-50px);
}


header {
  grid-row: 1;
  grid-column: 2;
  text-align: right;
  font-style: italic;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.profile {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  object-fit: cover;
  float: right;
  border: 1px var(--text) dotted;
  margin-top: 5px;
  margin-left: 5px;
}


aside {
  grid-row: 2;
  grid-column: 1;
  text-align: right;
  color: #5a5a5a;
  max-width: 200px;
}
aside h2 {
  margin-bottom: 0;
  font-style: italic;
  color: #000000;
  clear: both;
}
aside h2 + p {
  margin-top: 0;
}
aside .profile + p {
  margin-top: 0;
}
aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
aside ul li:after {
  content: " ⚜";
}

main {
  grid-row: 2;
  grid-column: 2;
  display: grid;
  gap: 20px;
}
main article {
  padding: 10px;
  background-color: var(--page-bg);
  color: var(--page-text);
  box-shadow: 5px 5px 0 var(--page-shadow);
}
main article > :first-child {
  margin-top: 0;
}
main article h2 {
  padding-bottom: 5px;
  border-bottom: 1px var(--page-text) dotted;
  margin-bottom: 10px;
}
main article h3 {
  margin: 0 0 0.5em;
}
main article h4 {
  margin: 0;
}

main article ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 13px;
  margin-bottom: 13px;
}
main article ul li:before {
  content: "⚜ ";
}


nav {
  grid-row: 2;
  grid-column: 3;
}
nav a {
  text-decoration: none;
  font-style: italic;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 2em;
  font-weight: bold;
}

footer {
  grid-row: 3;
  grid-column: 2;
  text-align: center;
  border-top: 1px dotted;
  padding-top: 10px;
  font-size: 0.8em;
}
