:root {
  background-color: #f7f8fc;
  font-family: "Inter", sans-serif;
  justify-content: center;
  display: flex;
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: 'Inter var', 'Open Sans', Arial, sans-serif;
  }
}

body {
  padding: 10px 50px;
  margin: 0.5rem auto;
  max-width: 640px;
  overflow: visible;
}

h1 {
  display: block;
  font-size: 2em;
  font-weight: bold;
  margin-block-start: 0.0em;
  margin-block-end: 0.5em;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

h2 {
  font-size: 1em;
}

details {
  --shadow: hsla(0, 0%, 0%, 0.05);
  --shadow-light: hsla(0, 0%, 95%, 0.1);
  --shadow-dark: hsla(0, 0%, 0%, 0.055);
  background-color: white;
  border-radius: 0.5rem;
  box-sizing: border-box;
  transition: box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 225ms cubic-bezier(0.45, 0, 0.55, 1);
  width: auto;
  padding: 0.5rem 1.5rem;
}

details:hover {
  box-shadow: -0.375rem -0.375rem 0.75rem var(--shadow-light, transparent), 0.375rem 0.375rem 0.75rem var(--shadow, transparent);
}

details:active {
  box-shadow: -0.25rem -0.25rem 0.5rem var(--shadow-light, transparent), 0.25rem 0.25rem 0.5rem var(--shadow, transparent);
}

details:active {
  transform: scale(0.995);
}

details[open] {
  box-shadow: -0.75rem -0.75rem 1.5rem var(--shadow-light, transparent), 0.75rem 0.75rem 1.5rem var(--shadow, transparent);
  border: 1px solid var(--shadow-dark);
}

details+details {
  margin-top: 1.5rem;
}

details summary {
  cursor: pointer;
  font-weight: 400;
  outline: none;
  margin: 0.5rem 0;
}

details summary h1 {
  display: inline;
  font-size: 1rem;
}

details summary>header {
  margin-top: 0.5rem;
}

details p,
details ul {
  color: #555;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

article {
  background-color: white;
  width: auto;
  padding: 1rem 2rem;
}

article h1 {
  font-size: 1.25em;
}

article h2 {
  font-size: 1.1em;
}

article p,
article ul {
  color: #555;
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

.social {
  border: none;
  height: 1rem;
  filter: brightness(0);
}

.social:hover {
  filter: brightness(1);
}

.button {
  border: none;
  height: 1rem;
  opacity: 0.5;
}

.button:hover {
  opacity: 1.0;
}

.bio {
  margin: 1rem 0;
}

.profile {
  display: inline-block;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin-right: 1rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-image: url('profile.jpg');
}

.mini {
  width: 3.4rem;
  height: 3.4rem;
}

.reading-time {
  color: #888;
  margin: 0.2em 0;
  font-size: 0.8em;
}

.flex-container {
  display: flex;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

.reference {
  text-decoration: none;
  color: #888;
}

.reference:hover,
.reference:active {
  text-decoration: underline;
  color: #888;
}

.more {
  float: right;
  color: #888;
  top: -1rem;
  position: relative;
  font-size: 0.8em;
}

details[open] .more {
  visibility: hidden;;
}

.more-articles {
  display: inline-block;
  margin: 1rem 2rem;
  height: 2.5em;
  border-radius: 1rem;
  background-color: #8af;
  color: #fff;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}