
* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: Arial, Verdana, sans-serif;
  background-color: #ffffee;
}

header, footer, #prev, #next, .pages {
  background-color: #eeeef0;
  border: 1px solid #aaa;
}

header, .pages {
  height: min(6vw, 6vh, 40px);
}

footer {
  height: min(3vh, 20px);
}

header a, .pages a {
  display: inline-block;
  height: 90%;
  font-size: min(3vw, 3vh, 20px);
  padding: 4px 4px;
  margin: 2px min(2vw, 10px);       /* top/bottom  left/right */
}

#sjd {
  margin-left: 2px;
  padding-left: 10px;
  background-color: #edd;
}

#sjd:hover {
  background-color: #cbb;
}

#prev, #next {
  margin: 4px;
  padding: 6px;
  font-size: 1.2em;
  white-space: nowrap;
  
}

header a, #prev, #next {
  color: #0000ff;
  text-decoration: none;   /* Remove underlining of link */
}

header a:hover, #prev:hover, #next:hover {
   background-color: #a0a0a0;
}

header a.active {
  background-color: #bbb;
}

#main {
  display: flex;
  max-width: 800px;
  margin: auto;
  background-color: white;
}

#artlist {
  list-style-type: none;
  padding: 8px;
}

#artlist li {
  padding: 8px 0px;
}

#artlist a {
  text-decoration: none;
  padding: 0px 6px;
}

article, aside {
  background-color: white;
  color: #000088;
}

article {
  padding: 24px;
}

aside {
  padding: 20px 8px;
}

#title_area, #prev_next {
  height: 50px;
}

#prev_next {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#atitle {
  width: 40%;
  font-size: 1.3em;
  font-weight: bold;
  padding: 4px 0px;
}

#post_date {
  padding: 4px 0px 20px 40px;
}

p {
  padding: 10px 0px;
  line-height: 24px;
}
