@import url("font.css");
@import url("theme.css");

.header-body {
  border-bottom: 4px solid #6495ed;
  border-radius: 2px;
  color: var(--em-color);
  font-family: "EBGaramond", sans-serif;
  font-size: 16px;
  font-variant: small-caps;
  margin: 0 auto;
  padding: 0;
}

.header-body a:link,
.header-body a:visited {
  color: #6495ed;  /* cornflower blue */
  text-decoration: none;
}

.header-button {
  background-color: var(--em-color);
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
  position: relative;
  right: 0;
  top: 0;
  width: 2em;
  height: 2em;
}

.header-image {
  height: 2em;
  width: 2em;
}

.header-info {
  align-items: center;
  display: flex;
  margin-bottom: 1em;
}

.header-name {
  color: var(--em-color);
  flex-grow: 1;
  margin: 0;
  padding: 0;
  text-align: center;
}

.header-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
  margin-top: 0;
}

.header-nav-left, .header-nav-right {
  display: flex;
  gap: 1em;
}

.header-row {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
}

.header-sep {
  padding-left: 1ch;
  padding-right: 1ch;
}

.header-spc {
  flex: 1;
}

.header-tooltip {
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.header-tooltip .header-tooltiptext {
  background-color: var(--fg-color);
  color: var(--bg-color);
  border-radius: 0.5em;
  padding: 0.5em;
  position: absolute;
  text-align: center;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  visibility: hidden;
}

.header-tooltip:hover .header-tooltiptext {
  opacity: 1.0;
  visibility: visible;
}
