@font-face {
  font-family: angel;
  src: url(/assets/font/AngelicWar.ttf);
}
* {box-sizing: border-box;}
html {
  height: 100vh;
  font-size: 17px;
  background: var(--html-bg);
  font-family: Georgia, 'Times New Roman', Times, serif;
}
body {
  background: var(--body-bg);
  max-width: 700px;
  margin: auto;
  color: var(--body-color);
  background-clip: content-box;
  border: 25px solid transparent;
  border-image: url('/graphics/other/border_lace.png') 13 repeat;
  border-top: none;
}
header {
  width: 100%;
  height: 150px;
  background: var(--header-bg);
  filter: blur(1px) brightness(1);
  transition: all 0.2s;
  &:hover {filter: blur(0) brightness(2);}
}
  h1 {
    position: absolute;
    top: -55px;
    margin-left: 35px;
    color: var(--h1-color);
    font-family: angel;
    font-weight: normal;
    font-size: 5.5rem;
    & span {
      position: absolute;
      font-size: 2rem;
      top: 90px;
      margin-left: -15px;
    }
  }
nav {
  display: flex;
  justify-content: space-around;
  padding: 5px 0 10px;
  border-bottom: dashed 1px var(--body-color);
  & a {
    display: block;
    width: 120px;
    padding: 5px 7px;
    text-align: center;
    text-decoration: none;
    color: var(--nav-a-color);
    background: var(--nav-a-bg);
    border: outset 2px var(--nav-a-bg);
    &:hover {
      border: inset 2px var(--nav-a-bg);
      box-shadow: inset 0 0 7px 2px #0000008d;
    }
  }
}
#container {display: flex;}
#container > main {width: 70%;}
aside {width: 30%;text-align: center;}
h2, h3, h4, summary:has(h3) {
  margin: 0;
  padding: 3px 5px;
  text-align: left;
  color: var(--h2-color);
  font-size: 1.4rem;
  font-weight: normal;
  background: var(--h2-bg);
}
h3 {font-size: 1.3rem;}
h4 {font-size: 1.2rem;}
summary {cursor: pointer;}
summary > h3 {display: inline;background: none;}
.a {
  margin: 5px 10px;
  overflow-y: auto;
}
a {color: var(--a-color);}
footer {
  margin: 5px;
  padding: 5px;
  text-align: center;
}
::selection {background-color: var(--selection-bg);}
time {font-weight: bold;}
p {margin: 5px 0;}
img {max-width: 100%;}
hr {border: dashed 1px var(--body-color);}
/*
a[href^=https]::after {
  content: “ ↗️”;
}*/

@media (max-width: 500px) {
body {width: 100vw;border-left: none;border-right: none;}
  h1 {
    position: absolute;
    top: -55px;
    color: var(--h1-color);
    font-family: angel;
    font-weight: normal;
    font-size: 5rem;
    & span {
      position: absolute;
      font-size: 2rem;
      top: 95px;
      right: 0px;
    }
  }
nav {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  & a {margin: 2px 0;width: 100vw;}
}
#container {display: block;}
#container > main, aside {width: 100%;}
}