@font-face {
  font-family: "Advercase";
  src: url("../assets/fonts/Advercase-Font-Demo-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Advercase";
  src: url("../assets/fonts/Advercase-Font-Demo-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Advercase";
  src: url("../assets/fonts/Advercase-Font-Demo-Italic.otf") format("opentype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Advercase";
  src: url("../assets/fonts/Advercase-Font-Demo-BoldItalic.otf") format("opentype");
  font-weight: bold;
  font-style: italic;
}

body {
  background-color: #4C050C;
  color: #add1f2;
  font-family: "Advercase", sans-serif;
  font-size: 18px;
  line-height: 1.4;
  max-width: 640px;
  margin: 40px auto;
  padding: 0 20px;
}

.site-header {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 2em;
}

h1 {
  font-size: 3em;
  line-height: 1.1;
}

.subtitle {
  font-style: italic;
  font-size: 1em;
}

h2 {
  font-size: 1.5em;
  line-height: 1.2;
  margin: 0;
}

h3 {
  font-size: 1.1em;
  margin: 0 0 0.25em;
}

h3 svg {
  display: block;
  height: 1.1em;
  width: auto;
}

.logo-item h3 svg {
  height: 1.4em;
}

p {
  font-size: 0.85em;
  margin: 0.25em 0;
}

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

a:hover {
  opacity: 0.7;
}

h3 a {
  text-decoration: none;
}

h3 a:hover {
  font-style: italic;
}


.github-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-left: 0.4em;
  vertical-align: middle;
}

.github-icon {
  width: 1em;
  height: 1em;
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

details {
  user-select: none;
  margin-bottom: 2em;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin-top: 1em;
}

details > summary {
  cursor: pointer;
  list-style: none;
}

.summary-header {
  display: inline-flex;
  align-items: center;
}

details > summary::-webkit-details-marker {
  display: none;
}


.summary-header span.icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
  transform: rotate(-90deg);
}

details[open] .summary-header span.icon {
  transform: rotate(0deg);
}
