:root {
  color-scheme: light dark;
  --black: #1b1212;
  --white: #fff;
  --gray: #4f4949;
  --silver: #a4a0a0;
  --platinum: #e1e0e0;
  --red: #b22222;
}

@media (prefers-color-scheme: dark) {
  :root {
    --black: #e8e3e3;
    --white: #1b1212;
    --gray: #a49e9e;
    --silver: #5a5454;
    --platinum: #332b2b;
    --red: #e06b6b;
  }
}

body {
  font-family: "CMU Serif", "Latin Modern Roman", "TeX Gyre Termes", Georgia, serif;
  background-color: var(--white);
  color: var(--black);
  font-size: 1.05rem;
  line-height: 1.89rem;
  margin: 0;
  padding: 2rem 0;
}

.wrapper {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.8rem;
  padding-right: 2.8rem;
  width: 46.62rem;
  max-width: 100%;
}

@media all and (max-width: 46.62rem) {
  .wrapper {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
    width: 100%;
  }
}

a, a:visited {
  color: inherit;
  text-decoration: underline;
}

a:hover {
  color: var(--red);
}

a.external, a:visited.external {
  text-decoration-color: var(--silver);
  text-decoration-style: dotted;
}

h1, h2, h3 {
  font-weight: normal;
  clear: both;
}

h1 {
  font-size: 2.1rem;
  margin-bottom: 1.4rem;
}

h2 {
  margin-top: 2.8rem;
  font-size: 1.68rem;
}

.header {
  text-align: center;
  margin-bottom: 2rem;
}

.header .photo {
  border-radius: 50%;
  
  height: 80px;
  width: 80px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0.8rem 0 1.2rem;
}

.socials a {
  color: var(--black);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

.socials a:hover {
  opacity: 1;
  color: var(--red);
}

.socials svg {
  display: block;
}

.menu {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0;
}

.menu li {
  display: inline;
  margin-right: 0.4rem;
}

.menu a {
  text-decoration: none;
}

.menu a:hover,
.menu .selected a {
  color: var(--red);
}

.lang-switch {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer {
  margin-top: 4rem;
  font-size: 1.19rem;
  color: var(--gray);
  text-align: center;
}

blockquote {
  border-left: 4px solid var(--silver);
  margin-left: 2.1rem;
  padding-left: 0.7rem;
}

code, pre {
  font-family: "CMU Typewriter", "Courier New", monospace;
}

.subline {
  color: var(--gray);
  font-size: 1.19rem;
  list-style: none;
  padding-left: 0;
}

.subline li {
  display: inline-block;
  margin-right: 0.7rem;
}

/* Album cover floated top-right */
.album-cover {
  float: right;
  max-width: 160px;
  width: 30%;
  height: auto;
  margin: 0 0 1rem 1.2rem;
  border-radius: 4px;
}

@media all and (max-width: 46.62rem) {
  .album-cover {
    float: none;
    display: block;
    max-width: 200px;
    width: 50%;
    margin: 0 auto 1.2rem;
  }
}

.listen-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.4rem;
  background-color: var(--red);
  color: var(--white) !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-size: 1.1rem;
}

.listen-button:hover {
  opacity: 0.9;
}
