@counter-style tel {
  system: cyclic;
  symbols: '\2315';
  suffix: " ";
}

body {
  color: #0F0F0F;
  background-color: #1E1C1C;
  font-family: "Noto Serif", serif;
}

#togcon {
  height: 52px;
  width: 52px;
  background: linear-gradient(#F4F4F4, #DBDBDB);
  position: fixed;
  bottom: 2em;
  right: 2ex;
  display: flex;
  align-items: center;
  border-radius: 4px;
}

#toggle {
  height: 32px;
  width: 32px;
  margin: auto;
  transform: translate(-1px, -1px);
  filter: invert(91%) sepia(7%) saturate(105%) hue-rotate(211deg)
    brightness(105%) contrast(85%)
      drop-shadow(2px 1px 1px #1C1318);
  padding: 6px;
  background: linear-gradient(#999992, #8E8E86);
  border-radius: 2px;
}

#page {
  background-color: #FFF7F2;
  padding: 1.8vw;
  width: 37vw;
  border-radius: 2px 12px 2px 12px;
  margin:  auto;
}

#container {
  min-height: 80vh;
  padding: 2em 3ex;
  display: flex;
  flex-direction: column;
  border: 3px solid #0F0F0F;
  border-radius: 2px 12px 2px 12px;
}

#logo {
  display: block;
  width: 82%;
  margin: auto;
}

#content {
  margin: 0 4ex 0 4ex;
}

h1 {
  font-style: italic;
  font-size: 1.7em;
  margin: 0.2em 0;
}

h2 {
  font-style: italic;
  margin-left: 0.5ex;
  font-size: 1.4em;
  margin: 0.4em 0 0.3em 0;
}

p {
  margin: 0;
}

.tab {
  margin-left: 2ex;
  display: block;
}

ul {
  list-style: tel;
  margin-bottom: 0.4em;
  margin: 0 0 0.2em 1ex;
}

#part2 {
  display: flex;
  justify-content: space-between;
}

#it {
  font-style: italic;
}

a {
  color: inherit;
}

a:hover {
  color: #B16954
}

.printonly {
  display: none;
}

#photo {
  display: flex;
  align-content: center;
  margin-top: 1em;
}

#photo > img {
  height: 9em;
  width: 9em;
  border-radius: 5px;
  border: solid #FFF7F2 0.5em;
  filter: drop-shadow(1px 1px 1px #1C1318);
  transform: rotate(-0.1rad)
}

#toggle:active {
  transform: translate(0px, 0px);
  filter: invert(91%) sepia(7%) saturate(105%) hue-rotate(211deg)
    brightness(105%) contrast(85%)
      drop-shadow(0 0 0 black);
}

@media (max-width: 992px) {

  #page {
    width: 80vw;
    margin-bottom: 6em;
  }

  img {
    width: 100%;
    margin: 1em auto;
  }

  #container {
    padding: 1em 1ex;
  }

  #content {
    margin: 0 2ex 0 2ex;
  }

  h1 {
    font-weight: 500;
    font-size: 1.5em;
  }

  h2 {
    font-weight: 500;
    font-size: 1.2em;
  }

  #part2 {
    flex-direction: column;
  }
}
