h1,
h2,
h3,
h4,
h5,
h6,
a,
div,
th,
tr,
td,
pre{
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    'Open Sans',
    'Helvetica Neue',
    sans-serif;
  color: white;
  padding: inherit;
  hyphens: auto;
}
.force_front {
  z-index: 32767;
  position: relative;
}

.centered {
  height: fit-content;
  align-items: center;
  margin: auto;
  text-align: center;
}

.rounded {
  border-radius: 1rem;
}

.logo {
  max-height: 3cm;
}

.gridbody {
  display: grid;
}
.ref-img {
  width: 45vmin;
  min-width: 330px;
}

.glass {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.58);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1rem;
  z-index: 10;
  color: whitesmoke;
  height: fit-content;
}

.glass_edge {
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.5rem;
  color: whitesmoke;
}

.darkened {
  background-color: rgba(31, 38, 135, 0.58);
}

.dark_font {
  color: rgb(105, 105, 105);
}

.menu {
  display: flex;
  align-items: center;
  height: 2cm;
  height: fit-content;
}

.menu-item {
  display: flex;
  position: relative;
  width: max-content;
  cursor: pointer;
  user-select: none;
}

/* Dropdown hidden by default */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: max-content;
  background: inherit;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 100;
}

.dropdown a {
  display: flex;
  vertical-align: middle;
  width: fit-content;
  padding: 1rem 1rem;
  cursor: pointer;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Show dropdown on hover */
.menu-item:hover .dropdown {
  display: block;
}

.big_button {
  padding: 3.5rem;
  font-size: 25px;
  font-weight: 900;
}

/*
Basic page
*/
html,
body {
  height: 100%;
  display: block;
}

pre {
  text-overflow: ellipsis;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

body {
  background-attachment: fixed;
  height: 100vh;
  margin: 0;

  --x: calc(var(--posX, 0) * 1px);
  --y: calc(var(--posY, 0) * 1px);

  background-image:
    /* Light cyan to deep navy diagonal base layer */
    linear-gradient(115deg, rgb(180 255 255), rgb(0 30 60)),

    /* Large radial: pale aqua center → dark teal edges */
    radial-gradient(90% 100% at calc(50% + var(--x)) calc(0% + var(--y)),
      rgb(150 220 240),
      /* light aqua */
      rgb(0 40 80)),
    /* deep teal/navy */

    /* Radial: bright cyan center → muted blue edge */
    radial-gradient(100% 100% at calc(80% - var(--x)) calc(0% - var(--y)),
      rgb(0 255 255),
      /* neon cyan */
      rgb(0 60 90)),
    /* dark blue/teal */

    /* Radial: teal center → indigo edge */
    radial-gradient(150% 210% at calc(100% + var(--x)) calc(0% + var(--y)),
      rgb(0 180 200),
      /* teal */
      rgb(0 50 130)),
    /* indigo blue */

    /* Radial: sky blue center → muted ocean blue edge */
    radial-gradient(100% 100% at calc(100% - var(--x)) calc(30% - var(--y)),
      rgb(50 200 255),
      /* sky blue */
      rgb(0 80 120)),
    /* ocean blue */

    /* Overlay gradient: bright cyan → soft blue */
    linear-gradient(60deg,
      rgb(0 200 255),
      /* bright cyan */
      rgb(80 150 255));
  /* light azure */

  background-blend-mode:
    overlay,
    /* blends light cyan diagonal */
    overlay,
    /* blends pale aqua radial */
    difference,
    /* adds contrast from neon cyan */
    difference,
    /* adds contrast from teal-indigo */
    difference,
    /* adds contrast from sky blue radial */
    normal;
  /* final bright cyan → azure gradient */

}

a {
  text-decoration: none;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}