
/* Resources */
@font-face {
    font-family: 'RoundedMplus1c';
    src: url('/fonts/RoundedMplus1c.eot');
    src: url('/fonts/RoundedMplus1c-Bold.eot?#iefix') format('embedded-opentype'),
         url('/fonts/RoundedMplus1c-Bold.woff2') format('woff2'),
         url('/fonts/RoundedMplus1c-Bold.woff') format('woff'),
         url('/fonts/RoundedMplus1c-Bold.ttf') format('truetype'),
         url('/fonts/RoundedMplus1c-Bold.svg#rodin') format('svg');
    font-weight: bold;
    font-style: normal;
}
@media (pointer: coarse) {
    .gb-container {
        background-attachment: inital !important;
    }
}


/* Page Background */
body::before {
  content: '';
  position:fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  background-image: url(/WebUI/Images/checker1.png);
  animation: bgScroll 50s linear infinite;
  transform: 
    perspective(820px) 
    rotate3d(-2, 0, 0, 45deg) 
    scale(2.7) 
    translate3d(0, 255px , -64px);
  background-position: center;
  background-size: 512px;
  image-rendering: pixelated;
  z-index: -1;
}

:root {
  --color-aero: 60, 60, 115; /* Color of Aero Glass */
  --color-aero-light :120, 120, 230; /* Light aero color for use in gradients */
  --aero-alpha: 0.15; /* Transparency of Aero Glass */
  --color-content: 245, 245, 245; /*main color of content*/
}

.selector {
  /* Use the variable inside the rgba() function with a specific alpha value */
  background-color: rgba(var(--color-aero), 0.5); 
}

/* Cursor and universal settings */
body, html, main {
  cursor: url("/WebUI/Cursor/Arrow.png") 1 1, auto;
  font-family: RoundedMplus1c, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 12pt;
}
 * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-color: rgba(var(--color-aero), 1) rgba(255, 255, 255, 1);
}

/* Text Styling */
a {
  color: rgb(120,120,230);
  cursor: url("/WebUI/Cursor/Hand.png") 12 3, auto;
  transition: all 0.2s;
}
a:hover {
  color: rgb(var(--color-aero));
  text-shadow: 
    0 0 1px rgb(255,255,255), 
    0 0 2px rgb(255,255,255), 
    0 0 3px rgb(255,255,255), 
    0 0 4px rgb(255,255,255), 
    0 0 5px rgb(255,255,255), 
    0 0 6px rgb(255,255,255), 
    0 0 7px rgb(255,255,255);
}
p {
  color: #000000;
  font-smooth:never;
  margin:5px;
}
h1 {
  color: Black;
  font-size: 5em;
  margin: auto;
  padding: 10px;
}
h2 {
  color: black;
  font-size: 3em;
  margin: auto;
  padding: 10px;
}

/* top scroller styling */
.scroller {
  position:fixed;
  background-image: url(/WebUI/GlassTransparent.png),
  linear-gradient( rgba(0, 0, 0, 0) 10px, rgba(255, 255, 255, .65) 24px
  );
  background-color: rgba(var(--color-aero), var(--aero-alpha));
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position:center;
  background-size: cover;
  border-bottom:solid 1px rgba(0, 0, 0, 0.35);
    box-shadow:
    inset 0 -1px 0 0.5px rgba(255, 255, 255, 0.45);
  top: 0%;
  left: 0%;
  z-index: 1;
  width: 100%;
  height: 24px;
  overflow: hidden;
  --gap: 24px;
  gap: var(--gap);
  display: flex;
  user-select: none;
  margin: 0;
  padding: 5px;
  backdrop-filter: blur(2px);
}
.scroller ul {
  text-shadow: 
    0 0 1px rgba(255,255,255,0.65), 
    0 0 2px rgba(255,255,255,0.65), 
    0 0 3px rgba(255,255,255,0.65), 
    0 0 4px rgba(255,255,255,0.65), 
    0 0 5px rgba(255,255,255,0.65), 
    0 0 6px rgba(255,255,255,0.65), 
    0 0 7px rgba(255,255,255,0.65);
  list-style: none;
  flex-shrink: 0;
  min-width: 100%;
  display: flex;
  justify-content:  space-around;
  align-items: center; 
  gap: var(--gap);
  animation: scroll 10s linear infinite;
}

/* Bottom Navbar Styling */
nav {
  position: fixed;
  bottom:0%;
  left:0%;
  background-image: url(/WebUI/GlassTransparent.png), 
    -webkit-linear-gradient(bottom, 
      rgba(255, 255, 255, 0) 36px,
      rgba(255, 255, 255, .5) 64px);
  background-color: rgba(var(--color-aero), var(--aero-alpha));
  image-rendering: auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position:center;
  background-size: cover;
  border-top:solid 1px rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  z-index: 2;
  height: 72px;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items:center;
  backdrop-filter: blur(2px);
}
nav div {
  padding-top: 4px;
  padding-left: 16px;
  height: 72px;
  width: 96px;
  border-left:1px solid rgba(0, 0, 0, .35);
  border-right:1px solid rgba(0, 0, 0, .35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  background-image: 
    radial-gradient(ellipse farthest-corner at 100% 100%, 
      rgba(255, 255, 255, 0) 65%,
      rgba(255, 255, 255, .5) 75%);
}
nav div:hover {
  background-image: 
    radial-gradient(ellipse farthest-corner at 100% 100%, 
      rgba(255, 255, 255, .4) 65%,
      rgba(255, 255, 255, .75) 75%);
}
.select:hover {
  box-shadow: 
    0 0 1px rgb(255,255,255), 
    0 0 2px rgb(255,255,255), 
    0 0 3px rgb(255,255,255), 
    0 0 4px rgb(255,255,255), 
    0 0 5px rgb(255,255,255), 
    0 0 6px rgb(255,255,255), 
    0 0 7px rgb(255,255,255);
  border-radius: 150px ;
  scale: 1.1;
  cursor: url("/WebUI/Cursor/Hand.png"), auto;
  transition: all 0.2s;
}
.select:not(:hover) {
  transition: all 0.2s;
}

/* Content Styling */
.full {
  flex-flow:row wrap;
  display:flex;
  justify-content: center;
  align-items:center;
  height: 100%;
  margin:64px;
  }
.window {
  background-image: url(/WebUI/GlassTransparent.png);
  background-color: rgba(var(--color-aero), var(--aero-alpha));
  image-rendering: auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position:center;
  background-size: cover;
  box-shadow: inset 
    0 0 0 1px rgba(255, 255, 255, 0.65), 
    0 0 5px 5px rgba(0, 0, 0, 0.35);
  border-radius: 5px;
  text-align: center;
  margin: 15px;
  height:clamp(320px, fit-content, 640px);
  width:clamp(320px, fit-content, 1024px);
  backdrop-filter: blur(2px);
}
.gloss { 
  background-image: linear-gradient(to bottom, 
    rgba(255,255,255,0) 32px,
    rgba(255,255,255,0.75) 30% 35%, 
    rgba(255,255,255,0) 36%), 
    radial-gradient(ellipse farthest-corner at 50% 100%, 
    rgba(255, 255, 255, 0) 75%,
    rgba(255, 255, 255, 0.5) 90%);
  background-repeat: no-repeat;
  border-radius: 5px;
  padding: 10px 10px 10px 10px;
}
.title {
  text-align: left;
  margin: auto auto 10px 1px;
  text-shadow: 
    0 0 1px rgba(255,255,255,0.65), 
    0 0 2px rgba(255,255,255,0.65), 
    0 0 3px rgba(255,255,255,0.65), 
    0 0 4px rgba(255,255,255,0.65), 
    0 0 5px rgba(255,255,255,0.65), 
    0 0 6px rgba(255,255,255,0.65), 
    0 0 7px rgba(255,255,255,0.65);
}
.section{
  color: #000000;
  width: 100%;
  height:32px;
  background-image: linear-gradient(to bottom in oklab, 
    rgba(var(--color-content), 1) 50%, 
    rgba(var(--color-aero), 0.25) 55% , 
    rgba(var(--color-content), 1));
  border-top: solid 1px rgba(255, 255, 255, 0.65);
  border-bottom: solid 1px rgba(255, 255, 255, 0.65);
  box-shadow: 
    inset 0 2px 0 -1px #888, 
    inset 0 -2px 0 -1px #888;
  display: flex;
}
.content {
  background-image: linear-gradient(to left, 
    rgb(var(--color-content)), 
    rgb(var(--color-content)), 
    rgb(var(--color-content)));
  image-rendering: pixelated;
  background-repeat: repeat;
  background-position:center;
  background-size: cover;
  border:
    solid 1px rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  border-radius: 3px;
  padding: 0 1px 20px 1px;
  overflow-y:auto; 
  overflow-x:hidden; 
  resize:both;
  max-height: 583px;
  min-height: 128px;
  max-width: 1024px;
  min-width: 300px;
  cursor: url("/WebUI/Cursor/Arrow.png") 1 1, auto;
}
.subcontent {
  overflow-y:hidden; 
  overflow-x:auto;
  max-height: 320px;
  display: flex;
  flex-flow: column wrap;
  align-items: start;
  justify-content: space-evenly;
}
.content img {
  padding: 5px;
}
.subcontent img {
  height: 256px;
  object-fit:scale-down
}
.handle {
  cursor:url("/WebUI/Cursor/SizeAll.png") 16 16, move;
}

/* Animation Styling */

@keyframes scroll {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}
@keyframes bgScroll {
  0% {
    background-position : 0 0;
  }
  100% {
    background-position : 0 -512px;
  }
}

@keyframes HeadAnim {
  0% {
    transform: translateY(30px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(30px);
  }
}

/* Gallery Styling*/
.filter-buttons {
  position: fixed;
  top:64px;
  z-index: 999;
  display: flex;
  flex-direction: row;
  gap: 5px;
  background-color: rgba(var(--color-aero), var(--aero-alpha));
  border-radius: 5px;
  backdrop-filter: blur(2px);
  box-shadow: inset 
    0 0 0 1px rgba(255, 255, 255, 0.45), 
    0 0 5px 5px rgba(0, 0, 0, 0.35);
  background-image: linear-gradient(to bottom in oklab, 
    rgba(228, 164, 255, 0.25) 50%, 
    rgba(152, 55, 137, 0.25) 55% , 
    rgba(228, 164, 255, 0.25));
    border: solid 1px rgba(var(--color-aero),0.45);
}

.filter-buttons img {
  width: 48px; /* icon size */
  height: 48px;
  object-fit:contain;
  border-radius: 5px;
  cursor: url("/WebUI/Cursor/Hand.png"), auto;
  transition: all 0.2s;
}

.filter-buttons img:hover {
  transform: scale(1.1);
  background-image: linear-gradient(to bottom in oklab, 
    rgba(255, 255, 255, 0.75) 50%, 
    rgba(133, 133, 133, 0.75) 55% , 
    rgba(255, 255, 255, 0.75));
  box-shadow: 
    0 0 1px rgb(255,255,255), 
    0 0 2px rgb(255,255,255), 
    0 0 3px rgb(255,255,255), 
    0 0 4px rgb(255,255,255), 
    0 0 5px rgb(255,255,255), 
    0 0 6px rgb(255,255,255), 
    0 0 7px rgb(255,255,255);
  transition: all 0.2s;
}

.filter-buttons img.active {
  background-image: linear-gradient(to bottom in oklab, 
    rgba(var(--color-aero-light), 0.75) 50%, 
    rgba(var(--color-aero), 0.75) 55% , 
    rgba(var(--color-aero-light), 0.75));
  border: solid 1px rgba(var(--color-aero-light),0.65);
  box-shadow: 
    0 0 1px rgb(255,255,255), 
    0 0 2px rgb(255,255,255), 
    0 0 3px rgb(255,255,255), 
    0 0 4px rgb(255,255,255), 
    0 0 5px rgb(255,255,255), 
    0 0 6px rgb(var(--color-aero-light)), 
    0 0 7px rgb(var(--color-aero-light));
}

.sidebar {
  display: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery .item {
  image-rendering: pixelated;
  display: block;
  cursor: url("/WebUI/Cursor/Hand.png"), auto;
  margin: 15px;
}

.gallery img {
  max-width: 256px;
  border-radius: 5px;
  box-shadow: inset 
    0 0 0 1px rgba(255, 255, 255, 0.65), 
    0 0 5px 5px rgba(0, 0, 0, 0.35);
  background-color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 
  0 0 1px rgb(255,255,255), 
  0 0 2px rgb(255,255,255), 
  0 0 3px rgb(255,255,255), 
  0 0 4px rgb(255,255,255), 
  0 0 5px rgb(255,255,255), 
  0 0 6px rgb(255,255,255), 
  0 0 7px rgb(255,255,255);
  transition: all 0.2s;
}

#lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: -3%;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

#lightbox img {
  scale: 1.5;
  backdrop-filter: blur(2px) saturate(25%);
  box-shadow: inset 
    0 0 0 1px rgba(255, 255, 255, 0.65), 
    0 0 5px 5px rgba(0, 0, 0, 0.35);
  border-radius: 5px;
  background-color: rgba(var(--color-aero),var(--aero-alpha));
}

#lightbox #close {
  position: relative;
  top: -150px;
  right: 10px;
  z-index: 9999;
  scale: 0.25;
  cursor: url("/WebUI/Cursor/Hand.png"), auto;
  transition: all 0.2s;
}

#lightbox #close:hover {
    box-shadow: 
    0 0 51px rgb(255, 0, 0), 
    0 0 52px rgb(255, 89, 0), 
    0 0 53px rgb(255, 149, 0), 
    0 0 54px rgb(255, 208, 0), 
    0 0 55px rgb(255,255,255), 
    0 0 56px rgb(255,255,255), 
    0 0 27px rgb(255,255,255);
  filter: brightness(1.1);
  transform: scale(1.1);
  transition: all 0.2s;
}

@media (max-width: 640px) {
  #lightbox {
    width: 320px;
    left: -12%;
  }
  #lightbox img {
    max-width: 240px;
  }
  #close {
    top:50px;
    right: -20px;
  }
}

/* Media player */
#audio-container {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
}

.Head {
  transform-origin: center;
  animation: HeadAnim 10s ease-in-out infinite;
}