@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400;0,700;1,400;1,700');
@font-face {
    font-family: Coelacanth;
    src: url('/font/Coelacanth.otf') format('opentype');
}

body * {
    font-family: "Alegreya", serif;
}

h1, h2, h1 *, h2 *, summary, header {
    font-family: "Coelacanth", serif !important;
}

header {
    max-width: 640px;
    margin: 0 auto;
}

header * {
    font-family: "Coelacanth", serif !important;
    text-align: left;
}

header h3 {
    padding-top: 1rem;
    margin-bottom: -0.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

header h1 {
    font-weight: 700;
}

header h2 {
    padding-top: 0.75rem;
    position: relative;
    font-weight: 400;
}

header h2:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    border-top: 1px solid black;
} 

.dark-mode header h2:after {
    border-top: 1px solid #eee;
}

.next {
    font-family: sans-serif !important;
    display: block;
    margin: 0.5rem auto 1rem auto;
    font-size: 40pt;
    text-align: center;
    text-decoration: none;
}
.phantom {
    visibility: hidden;
}

.works dt {
  font-size: 20pt;
  background: linear-gradient(90deg, rgba(127, 127, 127, 0.1), rgba(127, 127, 127, 0.07));
}

.works dt .author {
  display: none;
}

.works dd {
  background: linear-gradient(90deg, rgba(127, 127, 127, 0.05), transparent);
}
