*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', monospace;
  max-width: 760px;
  margin: 2rem auto;
  padding: 0 1rem;
  line-height: 1.6;
  color: #000;
  overflow-wrap: break-word;
  word-break: break-word;
  text-transform: uppercase;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

#home-screen {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background-color: #111;
  background-size: cover;
  background-position: center;
}

#home-screen.hidden {
  display: none;
}

#home-screen .logo-mark {
  width: min(70vw, 350px);
  height: auto;
}

#home-screen .logo-mark path {
  fill: #fff;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
}

#reveal-link {
  color: #fff;
  text-decoration: underline;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.potd-credit {
  text-transform: none;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  margin: 0;
  font-size: 0.75rem;
  color: #fff;
  text-align: right;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.potd-credit a {
  color: #fff;
}

#page-content header {
  text-align: center;
  padding: 32vh 0 3rem;
  text-transform: uppercase;
}

#page-content header #page-title {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 0 2rem;
}

#page-content header #page-intro,
#page-content header .quote,
#page-content header .contact {
  margin: 0 0 2rem;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin: 0;
}
@media screen and (max-width: 640px) {
  .social-links {
    display: flex;
	    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2em;
    margin: 0;
  }
}

.divider,
#latest-heading {
  text-align: center;
  margin: 0 0 2rem;
}

#latest-heading {
  font-size: 1rem;
  font-weight: bold;
}

main {
  text-align: center;
}

footer {
  margin-top: 3rem;
  padding-bottom: 2rem;
  font-size: 0.75rem;
  color: #000;
  text-align: center;
  text-transform: none;
}

.entry {
  margin-bottom: 2rem;
}

.edit-toolbar {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  align-items: center;
  background: #222;
  padding: 0.5rem;
  border-radius: 0.5rem;
  z-index: 20;
}

.edit-toolbar button {
  cursor: pointer;
}

.edit-toolbar .edit-message {
  color: #fff;
  font-size: 0.85rem;
}

body.edit-mode #page-content {
  outline: 2px dashed #999;
  outline-offset: 4px;
}
