/* Main Styles */
html {
  height: 100%;
}
body {
  background-color: #333333;
  font-family: Merriweather;
  color: #CCCCCC;
}
header {
  position: sticky;
  top: 0px;
  text-align: center;
  font-family: MerriweatherSans;
  padding: 8px;
  margin: -8px -8px 0px;
  background-color: #222222;
  box-shadow: 5px 5px 5px #111111;
}
header nav a {
  margin: 0px 4px 0px;
}
main {
  margin: 8px auto;
  width: 60%;
}
@media screen and (max-width: 1000px) {main {
    width: 80%;
}}
main p {
  text-indent: 3%;
}
main pre {
  white-space: pre-wrap;
  font-family: Merriweather;
}
footer {
  text-align: center;
  background-color: #222222;
  padding: 8px;
  margin: 0px -8px -8px -8px;
  box-shadow: 5px -5px 5px #111111;
  clear: both;
}
footer table {
  width: 100%;
}
footer td {
  width: 50%;
}
h1, h2, h3, h4, h5, h6 {
  font-family: MerriweatherSans;
  margin: 4px;
}
a {
  text-decoration: none;
  color: #EEEEEE;
  font-size: 1em;
}
a:hover:not(header h1 a) {
  text-decoration: underline;
}
#subheading {
  margin-bottom: 16px;
  letter-spacing: 4px;
}
#blognav {
  float: right;
  text-align: left;
  width: 12%;
  padding: 8px;
  margin: 8px;
  border-left: 2px solid #CCCCCC;
}
@media screen and (max-width: 1000px) {#blognav {
  float: none;
  width: calc(100% - 32px);
  border-left: 2px solid #CCCCCC;
  border-right: 2px solid #CCCCCC;
}}

/* Writing */
main#writing h2, main#writing h6 {
  text-align: center;
}

/* Art/Gallery */
main#art img {
  height: 200px;
  transition: scale 1s;
  vertical-align: top;
  margin: 2px;
}
main#art img:hover {
  scale: 1.2;
}
#modal {
  display: none;
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgba(34,34,34,0.8);
}
#modal_content {
  width: 100%;
  height: 100%;
  text-align: center;
}
#modal_content #closeup {
  z-index: 2;
  width: 80%;
  margin-top: 32px;
}

/* Classes */
.clock {
  font-family: monospace;
  font-size: 1.2em;
}
.center {
  text-align: center;
}

/* Dropdowns */
.dropdown {
  position: relative;
  display: inline-block;
  cursor: default;
  color: #EEE;
}
.dropdown_content {
  display: none;
  position: absolute;
  padding: 2px;
  background-color: #222;
  width: max-content;
  box-shadow: 5px 5px 5px #111111;
}
.dropdown:hover .dropdown_content, .dropdown_content:hover {
  display: block;
}
.dropdown_content a {
  display: block;
  padding: 2px;
}
