:root {
  --ah-logo-color: #88739E;
  --ah-bg-color: rgb(8, 1, 30);
  --ah-text-color: silver;
  --ah-article-bg-color: rgb(33, 19, 75);
  --ah-bg-color-secondary: #341751;
  --ah-bg-color-focus: rgb(35, 20, 84);
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--ah-text-color);
  background: var(--ah-bg-color);
}

#disqus_thread {
  padding-top: 2em;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.commonheader-container {
  display: flex;
  justify-content: center;
  top: 0;
  width: 100%;
  background-color: var(--ah-bg-color);
  margin-bottom: .5em;
  border-bottom: .2em solid var(--ah-logo-color);
}

.commonheader {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  justify-content: space-between;
  align-items: center;
  -webkit-user-select: none;
  user-select: none;
  min-height: 64px;
  width: 80%;
}

.commonheader a {
  text-decoration: none;
  color: inherit;
}

.commonheader-logo {
  color: var(--ah-logo-color) !important;
  font-family: 'Grandstander', sans-serif;
  font-size: 32px;
  padding-left: 2px;
  padding-right: 32px;
}

.commonheader-category {
  font-size: 24px;
  padding-left: 12px;
  padding-right: 12px;
}

.commonheader-category:hover {
  background-color: var(--ah-bg-color-focus)
}

.commonheader-link {
  text-decoration: none;
  color: inherit;
  padding-left: 16px;
}

.commonfooter {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 32px;
  font-size: 16px;
  width: 100%;
  margin-top: 3em;
}

.commonfooter-no-underline {
  text-decoration: none;
  color: var(--ah-text-color)
}

.commonfooter-tiny-logo {
  font-family: 'Grandstander', sans-serif;
  font-size: 16px;
  color: var(--ah-logo-color) !important;
  -webkit-user-select: none;
  user-select: none;
}

article {
  width: 95%;
  border-radius: 4px;
  background-color: var(--ah-article-bg-color);
  padding: 8px;
  padding-top: 0;
}

article a {
  color: var(--ah-text-color)
}

article > h1 {
  font-size: 32px;
}

article > h1:nth-child(1) {
  font-size: 36px;
  border-radius: 4px;
  border-color: var(--ah-bg-color);
  border-style: solid;
  background-color: var(--ah-bg-color-secondary);
  text-align: center;
  margin-top: .2em;
  margin-bottom: .2em;
  padding-bottom: 8px;
}

article summary {
  border-top: 1px solid var(--ah-text-color);
  padding-top: 8px;
  padding-bottom: 8px;
}

article details:nth-child(3) summary {
  border-top: none;
  padding-top: 8px;
  padding-bottom: 8px;
}

.article-listing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.read-index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
  text-align: center;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

.read-controls {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  width: 60%;
  user-select: none;
}

.read-control {
  width: 25%;
  text-align: center;
  margin: 4px;
  border: 2px var(--ah-logo-color) solid;
}

.read-control {
  color: var(--ah-text-color);
  text-decoration: none;
  margin: 4px;
  text-overflow: clip;
  overflow: hidden;
}

.read-control:hover {
  background-color: var(--ah-bg-color-focus);
}

.sugoi-io {
  width: 100%;
  height: 8em;
  color: var(--ah-text-color);
  background-color: var(--ah-article-bg-color);
  font-family: inherit;
  border: none;
  resize: none;
  outline: none;
  overflow-wrap: normal;
  overflow-x: scroll;
  white-space: pre;
}
