:root {
  --main-color: rgba(0, 0, 0, 0.75);
  --second-color: rgb(21, 21, 21);
  
  --font-color: #fff7dd;
  --logo-color: #fff;
  --subtext-color: rgba(252, 175, 10, 0.5);
  --subtext-color-hover: rgb(255, 229, 144);
  --link-color: rgb(249, 212, 131);
  --shadow-color: #000;

  --light-color: rgb(255, 221, 134);

  --border-color: #484848;
}

@font-face {
  font-family: "ScienceGothic";
  src: url("Fonts/ScienceGothic.ttf"), sans-serif;
}

@font-face {
  font-family: "Ubuntu";
  src: url("Fonts/UbuntuMono.ttf"), sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*PAGE*/

body {
  background: url("Images/Background.jpg")  center center/cover no-repeat fixed;
  background-color:rgb(0, 0, 0);
  font: 16px "Ubuntu";
  overflow: hidden;
}

.main {
  display: flex;
  flex-direction: row;
  gap: 8px;

  color: var(--font-color);

  width: 100%;
  height: 100%;

  margin: auto;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  position: absolute;

  contain: size;
}

.logo {
  display: flex;
  font: 0 "ScienceGothic";
  text-decoration: none;
  text-align: left;
  color: var(--logo-color);
  font-size: 52px;
  height: 36px;
  font-weight: bold;
  width: 100%;
  align-items: center;
  margin-top: 4px;
}

.panel {
  font-size: 24px;
  font-weight: 300;
  align-items: center;

  width: 100%;
  height: 32px;

  display: flex;
  flex-direction: row;
  justify-content: right;

  column-gap: 36px;
}

.page {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  max-height: auto;
  contain: layout;
}

.navigation {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
  padding: 4px;
}

/*TEXT STYLE*/

.subtext {
  font-size: 12px;
  font-weight: 300;
  color: var(--subtext-color);
  transition: all 0.2s ease-in-out;
}

.subtext:hover {
  color: var(--subtext-color-hover);
}

/* Types */

.border {
  backdrop-filter: blur(2px);
  background: var(--main-color);
  background: var(--main-color);

  border-radius: 4px;
  border: var(--border-color) solid 1px;
  
  box-shadow: var(--shadow-color) 0 0 24px;

  padding: 8px;
  box-sizing: border-box
}

.frame {
  background: var(--second-color);
  border-radius: 0px;
  border: var(--border-color) solid 1px;
  
  box-shadow: inset var(--shadow-color) 0 0 4px;

  padding: 8px;
  box-sizing: border-box
}

.scrolling {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width:none;
  scrollbar-color: var(--border-color) transparent;
  scroll-padding: 8px;
}

.test-scroll {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-y: hidden;
  overflow-x: auto;
  scrollbar-width: thin;
}

.item {
  height: 128px;
  width: 128px;
  background-color: #000;
}

.nav-button {
  align-items: center;
  width: 100%;
  height: 24px;
}

.line {
  align-items: center;
  width: 100%;
  height: 0px;
  border-bottom: var(--border-color) solid 1px;
}

/* Elements */

h1, h2 {
  color: var(--link-color);
  line-height: 32px;
  font-weight: 300;
  text-align: left;
  padding: 0;
  margin: 0;
  text-shadow: var(--subtext-color) 2px 0 4px,
  var(--subtext-color) -2px 0 4px,
  var(--subtext-color) 0 0 2px;
}

h2 {
  text-align: left;
}

p {
  margin: 0;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: all 0.2s ease-in-out; 
}

a:hover {
  text-decoration:underline;
  text-shadow: var(--light-color) 0 0 8px;
}

details::marker {
  padding-right: 0px;
}