body {
  background-color: whitesmoke;
  font-family: monospace;
  padding: 0 32px;
  min-height: 100vh;
  font-size: 1.2em;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
}

main {
  width: 100%;
}

.content {
  max-width: 720px;
  width: 100%;
  margin-bottom: 48px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.post-grid section {
  min-height: 280px;
  border: 2px solid black;
  padding: 10px;
  background: white;
  display: flex;
  flex-direction: column;
  max-width: min(600px, 100%);
}

.post-grid a {
  text-decoration: none;
  color: black;
}

.post-grid section p.date {
  text-align: right;
  margin-top: auto;
  margin-bottom: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 4;
}

header .widgets {
  background-color: whitesmoke;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
}

header .gradient {
  color: whitesmoke;
  line-height: 1;
  margin-top: -2px;
  user-select: none;
  text-wrap: nowrap;
  overflow-x: hidden;
  overflow-y: hidden;
}

.ascii-art pre {
  margin: 0;
}

.ascii-art a {
  text-decoration: none;
  color: black;
}

.radio .controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.radio a {
  font-size: 14px;
  text-decoration: none;
  text-align: right;
  font-style: italic;
  color: black;
  opacity: 50%;
  display: block;
  margin-top: 2px;
}

.radio button {
  height: 48px;
  width: 48px;
  border-radius: 0px;
  cursor: pointer;
  font-size: 18px;
}

#live-gizmo {
  height: 8px;
  width: 8px;
  border-radius: 100%;
  background-color: black;
  opacity: 20%;
  margin-right: 10px;
}

#live-gizmo.active {
  animation: blink 2s infinite;
}

@keyframes blink {
  0% {
    background-color: black;
    opacity: 20%;
  }
  25% {
    background-color: red;
    opacity: 100%;
  }
  75% {
    background-color: red;
    opacity: 100%;
  }
}

footer {
  margin-top: auto;
  text-align: right;
  font-size: 0.7em;
  padding-bottom: 16px;
}

.draggable {
  position: absolute;
  cursor: move;
  user-select: none;
  z-index: 9;
  margin: 0;
  opacity: 25%;
  line-height: 1.2;
  transform: translate(-50%, -50%);
  pointer-events: all;
}

.drag-playground {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.drag-playground .origin {
  width: 0;
  height: 0;
  overflow: visible;
  position: absolute;
  top: 0;
  left: 50%;
}

.content p {
  cursor:
    url("/cursor.svg") 0 18,
    text;
}

::selection {
  color: black;
  background: #b9f1bb;
}

.content.article {
  margin: auto;
}
