@import url(brand.css);
aside.card {
  width: fit-content;
  margin-inline: auto;
  font-size: smaller;
}

.sidebar img {
  width: 100%;
}

button.low-emphasis, button.flat, .sidebar ul button:not(.medium-emphasis):not(.low-emphasis),
.button.low-emphasis,
.button.flat, .sidebar ul
.button:not(.medium-emphasis):not(.low-emphasis),
:link.button.low-emphasis,
:link.button.flat, .sidebar ul
:link.button:not(.medium-emphasis):not(.low-emphasis),
:visited.button.low-emphasis,
:visited.button.flat, .sidebar ul
:visited.button:not(.medium-emphasis):not(.low-emphasis),
input[type=submit].low-emphasis,
input[type=submit].flat, .sidebar ul
input[type=submit]:not(.medium-emphasis):not(.low-emphasis),
input[type=reset].low-emphasis,
input[type=reset].flat, .sidebar ul
input[type=reset]:not(.medium-emphasis):not(.low-emphasis),
.image-button.low-emphasis,
.image-button.flat, .sidebar ul
.image-button:not(.medium-emphasis):not(.low-emphasis),
.floating-action-button.low-emphasis,
.floating-action-button.flat, .sidebar ul
.floating-action-button:not(.medium-emphasis):not(.low-emphasis),
.mini-floating-action-button.low-emphasis,
.mini-floating-action-button.flat, .sidebar ul
.mini-floating-action-button:not(.medium-emphasis):not(.low-emphasis) {
  --button-text-color: var(--theme-text-button-on-dark-color-color);
}

:root {
  --theme-link-color: var(--theme-accent-color-contrasting-background, var(--theme-accent-color));
  --theme-link-color-visited: var(--theme-primary-color-contrasting-background, var(--theme-primary-color));
}

:link {
  color: var(--theme-link-color);
}

:visited {
  color: var(--theme-link-color-visited);
}

:root {
  --rainbow-background-stripe-thickness: 2in;
  --rainbow-background-stripe-angle: 120deg;
}

img[src=""] {
  display: block;
  background-color: var(--theme-background-color-at-level-3, magenta);
}

.hero {
  background-image: url("/images/heroBackground.webp");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1em;
}
.post .hero, .page .hero, .post .hero *, .page .hero * {
  color: var(--theme-text-on-accent-color-color);
  font-weight: 900;
  font-size: var(--font-size-h4);
}

@font-face {
  font-family: "Deadass Simple One";
  src: url("/fonts/Deadass_Simple_One_Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  unicode-range: U+0020, U+0041-005A, U+2022;
  font-display: block;
}
:root {
  --font-size-aside: calc(var(--font-size-body, 11pt) * 0.9);
}

ol,
ul {
  margin-block: 1em;
  margin-inline: 2em;
}
ol > li,
ul > li {
  margin-block-start: 0.5ex;
}
ol > li > ol:first-of-type, ol > li > ol > li:first-child, ol > li > ul:first-of-type, ol > li > ul > li:first-child,
ul > li > ol:first-of-type,
ul > li > ol > li:first-child,
ul > li > ul:first-of-type,
ul > li > ul > li:first-child {
  margin-block-start: 1pt;
}

p {
  line-height: 1.333;
  font-weight: 400;
}
p em {
  font-style: italic;
  text-decoration: underline;
}
p.big, p .big {
  font-size: larger;
}
p:not(:last-child) {
  margin: 0 0 1em;
}

:root {
  --font-family-primary: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Roboto, sans-serif;
  --font-family-titles: "Passion One", Roboto, sans-serif;
  --font-family-title: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Roboto, sans-serif;
  --font-family-major-headings: var(--font-family-titles);
  --font-family-minor-headings: "Roadgeek 2005 Series C", "Roboto Condensed", Roboto, sans-serif;
  --font-family-h1: var(--font-family-titles);
  --font-family-h2: var(--font-family-major-headings);
  --font-family-h3: var(--font-family-major-headings);
  --font-family-h4: var(--font-family-minor-headings);
  --font-family-h5: var(--font-family-minor-headings);
  --font-family-h6: var(--font-family-minor-headings);
  --font-size-body: 16px;
  --font-size-title: calc(1.10 * var(--font-size-h1));
  --font-size-h1: calc(4.50 * var(--font-size-body));
  --font-size-h2: calc(3.75 * var(--font-size-body));
  --font-size-h3: calc(2.25 * var(--font-size-body));
  --font-size-h4: calc(1.75 * var(--font-size-body));
  --font-size-h5: calc(1.50 * var(--font-size-body));
  --font-size-h6: calc(1.25 * var(--font-size-body));
  --line-height: 1.2;
  --paragraph-spacing: 0.75em;
  --spacing-before-title: 1em;
  --spacing-after-title: 1em;
  --spacing-before-h1: min(1.5em, 25vh);
  --spacing-after-h1: calc(3.00 * var(--font-size-body));
  --spacing-before-h2: min(1em, 25vh);
  --spacing-after-h2: calc(2.00 * var(--font-size-body));
  --spacing-before-h3: min(1em, 25vh);
  --spacing-after-h3: calc(1.50 * var(--font-size-body));
  --spacing-before-h4: min(1em, 25vh);
  --spacing-after-h4: calc(1.00 * var(--font-size-body));
  --spacing-before-h5: min(1em, 25vh);
  --spacing-after-h5: calc(1.00 * var(--font-size-body));
  --spacing-before-h6: min(1em, 25vh);
  --spacing-after-h6: calc(1.00 * var(--font-size-body));
  --font-weight-title: bold;
  --font-weight-h1: bolder;
  --font-weight-h2: bolder;
  --font-weight-h3: normal;
  --font-weight-h4: normal;
  --font-weight-h5: normal;
  --font-weight-h6: normal;
  --text-alignment-titles: center;
  --text-alignment-major-headings: center;
  --text-alignment-minor-headings: leading;
  --text-alignment-h1: var(--text-alignment-titles);
  --text-alignment-h2: var(--text-alignment-minor-headings);
  --text-alignment-h3: var(--text-alignment-minor-headings);
  --text-alignment-h4: var(--text-alignment-minor-headings);
  --text-alignment-h5: var(--text-alignment-minor-headings);
  --text-alignment-h6: var(--text-alignment-minor-headings);
}
.post h1::before, .page h1::before {
  bottom: 0.06ex !important;
}
.app-bar {
  --font-size-title: calc(1.25 * var(--font-size-body));
}
.app-bar :root {
  --spacing-before-h1: unset;
  --spacing-after-h1: unset;
}

h1 {
  margin-block-end: var(--spacing-after-h1);
}
h1:not(:first-child) {
  padding-block-start: var(--spacing-before-h1);
}

h2 {
  margin-block-end: var(--spacing-after-h2);
}
h2:not(:first-child) {
  padding-block-start: var(--spacing-before-h2);
}

h3 {
  margin-block-end: var(--spacing-after-h3);
}
h3:not(:first-child) {
  padding-block-start: var(--spacing-before-h3);
}

h4 {
  margin-block-end: var(--spacing-after-h4);
}
h4:not(:first-child) {
  padding-block-start: var(--spacing-before-h4);
}

h5 {
  margin-block-end: var(--spacing-after-h5);
}
h5:not(:first-child) {
  padding-block-start: var(--spacing-before-h5);
}

h6 {
  margin-block-end: var(--spacing-after-h6);
}
h6:not(:first-child) {
  padding-block-start: var(--spacing-before-h6);
}

h1 + h1, h2 + h1, h3 + h1, h4 + h1, h5 + h1, h6 + h1, h1 + h2, h2 + h2, h3 + h2, h4 + h2, h5 + h2, h6 + h2, h1 + h3, h2 + h3, h3 + h3, h4 + h3, h5 + h3, h6 + h3, h1 + h4, h2 + h4, h3 + h4, h4 + h4, h5 + h4, h6 + h4, h1 + h5, h2 + h5, h3 + h5, h4 + h5, h5 + h5, h6 + h5, h1 + h6, h2 + h6, h3 + h6, h4 + h6, h5 + h6, h6 + h6 {
  margin-block-start: 0 !important;
  padding-block-start: 0 !important;
}

p {
  margin-block: var(--paragraph-spacing);
  line-height: var(--line-height);
}
h1 {
  text-align: var(--text-alignment-h1);
}
h1.title, title h1 {
  text-align: var(--text-alignment-titles);
}

h2 {
  text-align: var(--text-alignment-h2);
}

h3 {
  text-align: var(--text-alignment-h3);
}

h4 {
  text-align: var(--text-alignment-h4);
}

h5 {
  text-align: var(--text-alignment-h5);
}

h6 {
  text-align: var(--text-alignment-h6);
}

/*
 * Rules used on all pages:
 */
:root {
  min-width: 17em;
}

*:not(.color-swatch) {
  corner-shape: notch;
}

.app-bar .title-text {
  text-transform: none;
}

.big {
  font-size: var(--font-size-h6);
}

.container {
  max-width: var(--desktop-medium-min-width);
}

.avatar {
  border-radius: 99in;
  max-width: 100%;
}
.sidebar .avatar {
  height: 4cm;
}

a[name]:not([href])::before,
a[id]:not([href])::before {
  content: "";
  display: block;
  height: 0;
  padding-block-start: var(--pure-anchor-top-offset);
  margin-block-start: calc(0px - var(--pure-anchor-top-offset));
}
:root {
  --pure-anchor-top-offset: calc(2 * var(--app-bar-height-auto));
}

hr {
  margin: 1cm 20%;
}

ol.inline > li, ul.inline > li {
  display: inline-block;
}

:root {
  --light-theme-background-color: var(--brand-color-primary);
  --dark-theme-background-color: var(--brand-color-primary-dark);
  --light-theme-foreground-color: var(--dark-theme-foreground-color);
  --light-theme-foreground-color--original: hsl(0, 0%, 13%);
  --intro-animation-duration: 4s;
}
.brightness-light.sidebar-shown.full-height-sidebar .app-bar .show-sidebar-button,
.brightness-light.sidebar-shown.full-height-sidebar .app-bar .back-to-root-link,
.brightness-white.sidebar-shown.full-height-sidebar .app-bar .show-sidebar-button,
.brightness-white.sidebar-shown.full-height-sidebar .app-bar .back-to-root-link {
  --light-theme-foreground-color: var(--light-theme-foreground-color--original) !important;
  color: var(--theme-foreground-color);
}

:root {
  background-color: var(--theme-background-color);
  background-image: url("/images/heroBackground.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.logo {
  --hero-logo-side-length: calc(min(6in, 75vmin));
  width: var(--hero-logo-side-length);
  height: var(--hero-logo-side-length);
}

body {
  margin: 0;
}

main {
  padding: 0;
  margin: 0;
}

.app-bar {
  background: 0;
  box-shadow: none;
  position: fixed;
  transition-property: background-color, color, height, padding, margin, z-index;
}
.app-bar,
.app-bar * {
  color: var(--dark-theme-foreground-color);
}
.sidebar-shown.full-height-sidebar .app-bar, [data-sidebar="shown"].full-height-sidebar .app-bar {
  z-index: calc((var(--sidebar-z-index) * 7) + 1);
}

.sidebar-scrim {
  z-index: calc(min(var(--z-index-app-bar), var(--z-index-sidebar)) - 1);
  z-index: calc(var(--z-index-app-bar) - 1);
}

svg g[fill="#fff"] {
  fill: var(--dark-theme-foreground-color);
}

.full-viewport-size {
  min-height: 100vh;
  min-width: 100vw;
  margin: 0;
}

#homepage-background {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  min-width: 100vw;
  min-height: 100vh;
  pointer-events: none;
}

#portal-list {
  --button-border-radius: 0.5ex;
  --button-margin: 1ex;
  --font-size-large-button: 36px;
  position: relative;
  z-index: 3;
}
#portal-list .button {
  background: var(--button-text-color);
  color: var(--button-background);
}
#portal-list .big.button {
  font-family: "Deadass Simple One", "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Helvetica Neue", "Roboto", sans-serif;
  text-transform: uppercase;
}

#brand-name {
  font-size: 9vh;
  text-align: center;
  padding: var(--app-bar-height-auto) 0.5ex 0.5ex;
  position: static;
  z-index: 1;
  --base-offset: 0.4ex;
  --half-offset: calc(var(--base-offset) / 2);
  --fg-offset-x: 0px;
  --fg-offset-y: var(--base-offset);
  --bg-offset-x: 0px;
  --bg-offset-y: calc(var(--fg-offset-y) / 2);
  --gap-color: var(--theme-background-color);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.15, 0, 0, 1);
}
@media (max-aspect-ratio: 1 / 2) {
  #brand-name {
    font-size: 15vw;
  }
}
@media (min-aspect-ratio: 2 / 1) {
  #brand-name {
    font-size: 16vh;
  }
}
.ready-for-intro-animation:not(.go-for-intro-animation) [class~=" has-"][class~="-intro-animation "]#brand-name, .ready-for-intro-animation:not(.go-for-intro-animation) [class~=" has-"][class$="-intro-animation"]#brand-name, .ready-for-intro-animation:not(.go-for-intro-animation) [class^="has-"][class~="-intro-animation "]#brand-name, .ready-for-intro-animation:not(.go-for-intro-animation) [class^="has-"][class$="-intro-animation"]#brand-name {
  transition-duration: 0s !important;
}

.ready-for-intro-animation.go-for-intro-animation [class~=" has-"][class~="-intro-animation "], .ready-for-intro-animation.go-for-intro-animation [class~=" has-"][class$="-intro-animation"], .ready-for-intro-animation.go-for-intro-animation [class^="has-"][class~="-intro-animation "], .ready-for-intro-animation.go-for-intro-animation [class^="has-"][class$="-intro-animation"] {
  transition-duration: var(--intro-animation-duration) !important;
}
.ready-for-intro-animation .has-slide-in-from-bottom-left-animation {
  transition-property: transform;
  transition-duration: calc(var(--intro-animation-duration) * 0.75) !important;
}
.ready-for-intro-animation:not(.go-for-intro-animation):not(.intro-animation-complete) .has-slide-in-from-bottom-left-animation {
  transition-property: none;
  transform: translate(-260vmax, 150vmax);
}
.ready-for-intro-animation.go-for-intro-animation .has-slide-in-from-bottom-left-animation {
  --base-offset: 0vh !important;
}
.ready-for-intro-animation .has-shadow-intro-animation {
  --base-offset: 100vh !important;
  --gap-color: transparent !important;
}
.ready-for-intro-animation:not(.go-for-intro-animation) .has-shadow-intro-animation {
  transition-property: color, font-size;
  --logo-effect-color-1: var(--theme-background-color);
  --logo-effect-color-2: var(--theme-background-color);
  --logo-effect-color-3: var(--theme-background-color);
  --logo-effect-color-4: var(--theme-background-color);
  --logo-effect-color-5: var(--theme-background-color);
}
.ready-for-intro-animation.go-for-intro-animation .has-shadow-intro-animation {
  --base-offset: 0vh !important;
}
