@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/Atkinson_Hyperlegible/AtkinsonHyperlegible-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: #fafafa;
  max-width: 900px;
  font-family: "Atkinson Hyperlegible", sans-serif;
  padding: 16px;
  margin: auto;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
}

p {
  margin: 5px 0;
}

#greeter {
  display: inline-block;
  background: rgba(0, 0, 0, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top:120px;
  border: 1px solid rgba(0,0,0,0.4);
}

#greeter p {
  max-width: 70ch;
}

#greeter #actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#greeter p {
  margin: 8px 0px;

}

.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  font-size: 0.8em;
  font-weight: bold;
  border: 1px solid rgba(0,0,0,0.4);

  transition: background-color 300ms ease;

  margin-right: 16px;
}

.box:hover {
  background-color: #EE802F;
}

a {
  color: inherit;
}

a:visited {
  color: inherit;
}

iframe {
  width: 100%;
}

article.post-preview {
  margin: 10px 0px;
}

.post-preview header{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-preview h2 {
  margin-top: 10px;
}

a:has(article) {
  text-decoration: inherit;
}

article:hover{
  background-color: rgba(0,0,0,0.05);
}

article {
  display: inline-block;
  max-width: 70ch;
  padding: 8px;
  border-radius: 5px;
  transition: background-color 200ms ease;
}

article .date {
  font-family: sans-serif;
  opacity: 40%;
}