/* ================================================================ */
/* ================================================================ */

/* Font Faces */

/* ================================================================ */
/* ================================================================ */
@font-face {
  font-family: Roboto-Regular;
  src: url("/media/fonts/roboto/Roboto-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Monaspace-Neon-Regular-Italic;
  src: url("/media/fonts/monaspace/MonaspaceNeon-Italic.woff");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: Monaspace-Neon-Bold;
  src: url("/media/fonts/monaspace/MonaspaceNeon-Bold.woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: Monaspace-Neon-Bold-Italic;
  src: url("/media/fonts/monaspace/MonaspaceNeon-BoldItalic.woff");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: Monaspace-Krypton-Regular;
  src: url("/media/fonts/monaspace/MonaspaceKrypton-Regular.woff");
}

@font-face {
  font-family: Monaspace-Krypton-Regular-Italic;
  src: url("/media/fonts/monaspace/MonaspaceKrypton-Italic.woff");
}

@font-face {
  font-family: Monaspace-Krypton-Bold;
  src: url("/media/fonts/monaspace/MonaspaceKrypton-Bold.woff");
}

@font-face {
  font-family: Monaspace-Krypton-Bold-Italic;
  src: url("/media/fonts/monaspace/MonaspaceKrypton-BoldItalic.woff");
}

/* ================================================================ */
/* ================================================================ */

/* Color Palette */

/* ================================================================ */
/* ================================================================ */

@media (prefers-color-scheme: light) {
  html {
    --primary-color: var(--bui-color-gray-900);
    --secondary-color: var(--bui-color-gray-1000);
    --tertiary-color: var(--bui-color-gray-500);
    --foreground-color: var(--bui-color-gray-50);
    --secondary-accent-color: #123524;
  }
}

@media (prefers-color-scheme: dark) {
  html {
    --primary-color: var(--bui-color-gray-100);
    --secondary-color: var(--bui-color-gray-0);
    --tertiary-color: var(--bui-color-gray-500);
    --foreground-color: var(--bui-color-gray-900);
    --primary-accent-color: var(--bui-color-blue-300);
    --secondary-accent-color: var(--bui-color-gray-100);
    --tertiary-accent-color: #636363;
  }
}

/* ================================================================ */
/* ================================================================ */

/* Base Rules */

/* ================================================================ */
/* ================================================================ */

:defined {
  opacity: 1;
  transition: opacity 256ms;
}

:not(:defined) {
  opacity: 0;
  visibility: hidden;
}

* {
  margin: 0;
  padding: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  min-width: 100%;
  min-height: 100%;
}

body {
  min-width: 100%;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  height: 100%;
  padding: 0;
  margin: 0;
  line-height: 1.5;
  color: var(--foreground-color);
  caret-color: var(--foreground-color);
  background: var(--primary-color);
  font-family: Monaspace-Neon-Regular, system-ui;
  -webkit-font-smoothing: antialiased;
}

footer {
  padding: var(--bui-spacing-x-small);
  text-align: center;
}

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

/* ================================================================ */

/* Header */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: var(--bui-spacing-x-small);
  margin-bottom: var(--bui-spacing-x-small);
  line-height: 1.2;
  font-family: Monaspace-Krypton-Regular, system-ui;
  text-wrap: balance;
}

/* Header */

/* ================================================================ */

/* Paragraph */

p {
  text-wrap: pretty;
}

/* Paragraph */

/* ================================================================ */

/* Text */

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* Text */

/* ================================================================ */

/* Table */

table thead tr {
  text-align: left;
  background-color: var(--tertiary-color);
}

table tr > * {
  padding: 0.5em;
}

/* Table */

/* ================================================================ */

/* Image */

img {
  width: 100%;
  object-fit: contain;
}

/* Image */

/* ================================================================ */

/* Media */

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Media */

/* ================================================================ */

/* Icon */

bui-icon::part(svg) {
  display: unset;
}

/* Icon */

/* ================================================================ */

/* Card */

bui-card {
  margin: 1em;
}

bui-card > .header {
  border-bottom: 1px solid var(--primary-accent-color);  
}

/* Card */

/* ================================================================ */

/* Input */

input, button, textarea, select {
  font: inherit;
}

/* Input */

/* ================================================================ */

/* List */

ul, ol {
  padding-left: 30px;
}

/* List */

/* ================================================================ */
/* BUI Input */


bui-input {
  width: 100%;
  margin: 0.25em;
  padding: 0.1em;
}

/* BUI Input */

/* ================================================================ */

/* BUI Text Area */

bui-textarea {
  width: 100%;
  margin: 0.25em;
  padding: 0.1em;
}

/* BUI Text Area */

/* ================================================================ */

/* BUI Select */

bui-select {
  width: 100%;
  margin: 0.25em;
}

/* BUI Select */

/* ================================================================ */

.container {
  height: 100%;
  width: 100%;
}

.logo {
  text-wrap: nowrap;
}

.logo h1 {
  font-size: 1.5em;
}

.logo img {
  width: auto;
  min-height: 12px;
  height: auto;
  max-height: 72px;
  padding: 2px;
}

.navigation a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition-property: border-bottom;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: var(--bui-transition-fast);
}

.navigation a:hover {
  border-bottom: 1px solid var(--foreground-color);
  cursor: pointer;
}

.navigation.horizontal {
  width: 100%;
}

.navigation.horizontal > bui-column {
  width: 100%;
}

.header {
  display: flex;
  margin: 0;
  padding: 0.25em;
  width: 100%;
}

.header > .title bui-icon {
  padding: 0.25em;
}

/* ================================================================ */

/* Data Object */

.data.object {
  width: fit-content;
  border: 1px solid var(--secondary-accent-color);
  flex: 1;
}

.data.object:nth-child(n+1) {
    margin-left: -1px;
    margin-top: -1px;
}

/* Data Object */

/* ================================================================ */

/* Keyword Animations */

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

/* Keyword Animations */

/* ================================================================ */
/* ================================================================ */

/* smartphones, portrait iPhone, portrait 480x320 phones (Android) */

/* ================================================================ */
/* ================================================================ */


@media only screen and (min-width:320px)  { 

}

/* ================================================================ */
/* ================================================================ */

/* smartphones, portrait iPhone, portrait 480x320 phones (Android) */

/* ================================================================ */
/* ================================================================ */
/* ================================================================ */
/* ================================================================ */

/* smartphones, Android phones, landscape iPhone */

/* ================================================================ */
/* ================================================================ */

@media only screen and (min-width:480px)  { 

}

/* ================================================================ */
/* ================================================================ */

/* smartphones, Android phones, landscape iPhone */

/* ================================================================ */
/* ================================================================ */
/* ================================================================ */
/* ================================================================ */

/* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ 

/* ================================================================ */
/* ================================================================ */

@media only screen and (min-width:600px)  { 

}

/* ================================================================ */
/* ================================================================ */

/* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ 

/* ================================================================ */
/* ================================================================ */
/* ================================================================ */
/* ================================================================ */

/* tablet, landscape iPad, lo-res laptops ands desktops */

/* ================================================================ */
/* ================================================================ */

@media only screen and (min-width: 801px)  {
}

/* ================================================================ */
/* ================================================================ */

/* tablet, landscape iPad, lo-res laptops ands desktops */

/* ================================================================ */
/* ================================================================ */
/* ================================================================ */
/* ================================================================ */

/* big landscape tablets, laptops, and desktops */

/* ================================================================ */
/* ================================================================ */

@media only screen and (min-width: 1025px) {
}

/* ================================================================ */
/* ================================================================ */

/* big landscape tablets, laptops, and desktops */

/* ================================================================ */
/* ================================================================ */
/* ================================================================ */
/* ================================================================ */

/* hi-res laptops and desktops */

/* ================================================================ */
/* ================================================================ */

@media only screen and (min-width: 1281px) { 
}

/* ================================================================ */
/* ================================================================ */

/* hi-res laptops and desktops */

/* ================================================================ */
/* ================================================================ */
