body {
  max-width: 800px;
  margin: auto;
  padding: 1em;
  line-height: 1.5;
  color: rgb(27, 22, 34);
}

/* header and footer areas */
.menu {
  padding: 0;
  display: flex;
  align-items: center;
}
.menu li { display: inline-block; }
.article-meta, .menu .textitem {
  text-decoration: none;
  background: #dcdbeb;
  padding: 12px 15px;
  border-radius: 5px;
  margin: 5px;
  color: rgb(27, 22, 34);
}
.menu .spacer {
  flex-grow: 1;
}
.article-meta, .menu .logo {
  padding: 10px;
}
.article-meta, .menu .sitename {
  font-weight: bold;
  text-decoration: none;
  color: rgb(27, 22, 34);
}
.article-meta, .menu a:visited {
  color: rgb(27, 22, 34);
}
.menu a.textitem:hover {
  color: rgb(28, 40, 110);
  background-color: rgb(123, 124, 184);
}
.menu .logo {
  display: inline-block;
}

.menu .logo img {
  width: 4em;
}
.article-meta {
  margin: 1em;
  padding: 1em 0;
  background-color: #dcdbeb;
}
.article-meta h1, .article-meta h2{
  margin: 0;
}
h2.date {
  font-weight: normal;
  font-size: 1.2em;
}
.menu, .article-meta, footer { text-align: center; }
footer a {
  text-decoration: none;
  color: rgb(83, 100, 116);
}
footer a:visited {
  color: rgb(83, 100, 116);
}
footer a:hover {
  text-decoration: underline;
}
footer a { text-decoration: none; }
hr {
  border-style: solid;
  color: #ddd;
}

/* code */
pre {
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px #eee;
  padding: 1em;
  overflow-x: auto;
}
code { background: #f9f9f9; }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }

.productarray {
  display: flex;
}
.productphoto {
  width: 50%;
}

.postimage-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.postimage {
  width: 75%;
}

.post-container-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.post-container {
  display: flex;
  width: 80%;
}

.post-preview {
  width: 100%;
  border-radius: 5px;
  background-color: #dcdbeb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

a.preview-photo-link {
  display: flex;
  background-color: rgb(123, 124, 184);
  align-items: center;
  justify-content: center;
}

.post-preview a img {
  margin: 1em;
  width: 50%;
  border-radius: 5px;
  background-color: rgb(123, 124, 184);
}

a.post-preview-title {
  color: rgb(27, 22, 34);
  font-size: 1.5em;
  padding-top: 0.25em;
}
a.post-preview-title:visited {
  color: #646;
}
