:root {
  --text-font-size: 16px;
  --text-font: Orkney-Regular;
  --text-font-title: Orkney-Regular;
  --text-font-alien1: Green-Martian;
  --text-font-alien2: Modern-Destronic;
  --text-font-alien3: Modern-Iaconic;
  --text-font-alien4: Visitor-Script;
  --text-fg-color: #E1E1E1;
  --text-color-white: #FFFFFF;
  --text-color-yellow: #FFEA0E;
  --text-color-red: #FC420E;
  --text-color-gray: #8ca5b9;

  --text-color-repeat: #9fb8c4;
  --text-color-timeline: #f7af46;
  --text-color-goal: #92b9ff;
  --text-color-pedia: #c8d8da;
  --text-color-symbiosis: #98ff97;
  --text-color-debug: #a7a7a7;
  --text-color-energy: #50d6fe;

  --text-color-evolution-title: #73f3ff;
  --text-color-evolution-note: #5ebee5;
  --text-color-evolution-level-note: #4cd47b;
  --text-color-evolution-params: #13ff65;

  --text-color-organ-title: #e0e13a;
  --text-color-organ-title-inactive: #e0e13a;
  --text-color-organ-note: #5ebee5;
  --text-color-inventory-item: #8eee43;

  --text-color-skill-title: #d969e8;
  --text-color-group-title: #ff7f73;
  --text-color-group-note: #e35c3f;
  --main-menu-bg: url(./img/misc/bg1.jpg);
}

html, body {
  margin: 0;
  padding: 0;
  background-color: black;
  width: 100%;
  height: 100%;
  overflow: hidden;
  line-height: 1.3em;
  font-family: var(--text-font);
  font-size: var(--text-font-size);
}

h3 {
  margin: 0px;
}

ul {
  margin: 0.1em;
}

hr {
  width: 90%;
  border-width: 2px 0px 0px 0px;
  border-color: #aacde0;
}

.icon {
  font-size: 120%;
}

.narrative {
  font-style: italic;
}

.alien1 {
  font-family: var(--text-font-alien1);
  font-size: var(--text-font-size);
}

.alien2 {
  font-family: var(--text-font-alien2);
  font-size: var(--text-font-size);
}

.alien3 {
  font-family: var(--text-font-alien3);
  font-size: var(--text-font-size);
}

.alien4 {
  font-family: var(--text-font-alien4);
  font-size: var(--text-font-size);
}

#canvas {
  top: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  filter: saturate(0.9);
  position: absolute;
  cursor: url(img/mouse0.png) 0 1, auto;
}

#tint {
  width: 100%;
  height: 100%;
  background: rgba(0,255,255, 0.5);
}

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

#overlay {
  z-index: 200;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  position: fixed;
  margin: 0;
  padding: 0;
  pointer-events: all;
  cursor: crosshair;
}

#hud {
  z-index: 100;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  position: fixed;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.console-div {
  width: calc(100% - 20px);
  height: 1.2em;
  top: 10px;
  left: 10px;
  position: fixed;
  font-size: 80%;
}

.console-div:before {
  content: '> ';
  background: #202020aa;
  color: #A09e99;
  vertical-align: top;
}

#hud-console {
  opacity: 0.9;
  background-color: #ffffff00;
  width: calc(100% - 20px);
  color: var(--text-fg-color);
  background: #202020aa;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  appearance: none;
  font-family: var(--text-font);
  font-size: 80%;
  letter-spacing: 0.08em;
  resize: none;
}

.text {
  color: var(--text-fg-color);
  background: #202020aa;
  font-family: var(--text-font);
  font-size: var(--text-font-size);
  letter-spacing: 0.08em;
  resize: none;
  user-select: none;
}

#hud-log {
  opacity: 0.9;
  background-color: #ffffff00;
  border: 13px solid;
  width: calc(100% - 50px);
  min-height: 1.2em;
  top: calc(10px + 1.2em);
  left: 10px;
  position: fixed;
  margin: 0;
  padding: 0;
  outline: none;
  appearance: none;
  user-select: none;
  transition: 0.1s;
}

#hud-goals {
  opacity: 0.9;
  background-color: #ffffff00;
  border: 20px solid;
  max-width: 27%;
  min-height: 1.2em;
  bottom: 5em;
  right: 10px;
  font-size: 80%;
  position: fixed;
  margin: 0;
  padding: 0;
  outline: none;
  appearance: none;
  user-select: none;
  transition: 0.1s;
}

#hud-info {
  opacity: 0.9;
  background-color: #ffffff00;
  border: 18px solid;
  min-width: 200px;
  min-height: 1.2em;
  bottom: 4em;
  left: 10px;
  position: fixed;
  margin: 0;
  padding: 0;
  outline: none;
  appearance: none;
  user-select: none;
  transition: 0.1s;
}

#hud-debug-info {
  opacity: 0.9;
  background-color: #273242d6;
  color: #9ad1ff;
  border: 1px solid #a4a4a4;
  min-width: 200px;
  max-width: 30ch;
  min-height: 1.2em;
  right: 15px;
  top: 200px;
  position: fixed;
  padding: 5px;
  outline: none;
  appearance: none;
  user-select: none;
  transition: 0.1s;

  font-size: 80%;
  line-height: 1.1;
  letter-spacing: 0.5px;
  margin: 0px;
}

.hud-name {
  color: #9eceff;
}

.hud-button {
  opacity: 0.9;
  background-color: #ffffff00;
  border: 11px solid;
  color: #a4d6ff;
  max-width: 11ch;
  min-height: 1.2em;
  margin: 0px 5px 0px 5px;
  padding: 0;
  outline: none;
  appearance: none;
  pointer-events: auto;
  user-select: none;
  cursor: url(./img/mouse-pointer.png) 0 1, pointer;
}

.hud-button:hover {
  background-color: #bde1ed;
  color: #bde4ff;
  opacity: 1;
  font-weight:bold;
}

.hud-button:active {
  color: #879ea3;
}

#hud-buttons {
  left: 0px;
  width: 100%;
  bottom: 10px;
  position: fixed;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#hud-actions {
  opacity: 0.9;
  background-color: #ffffff00;
  border: 20px solid;
  left: 50%;
  transform: translate(-50%, 0);
  max-width: 33ch;
  bottom: 4em;
  position: fixed;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.1s;
  cursor: url(./img/mouse-pointer.png) 0 1, pointer;
}

.hud-action {
  letter-spacing: 0.08em;
  color: white;
  height: 1.2em;
  padding: 0;
  outline: none;
  appearance: none;
  pointer-events: auto;
  user-select: none;
}

.hud-action:hover {
  background-color: #5f818c;
  color: white;
  opacity: 1;
  font-weight:bold;
}

.hud-action:active {
  color: #879ea3;
}

.hud-team {
  animation: 2.5s infinite team-hud;
  text-align: center;
  font-size: 50%;
  font-weight: bold;
  color: var(--text-color-red);
  height: var(--text-font-size);
  padding-top: 8px;
}
@keyframes team-hud {
  from {
    font-size: 50%;
    opacity:0.8;
  }
  50% {
    font-size: 55%;
    opacity:1.0;
  }
  to {
    font-size: 50%;
    opacity:0.8;
  }
}

.window-bg {
  z-index: 105;
  position: fixed;
  margin: 0;
  padding: 0;
  outline: none;
  appearance: none;
  position: fixed;
  pointer-events: none;
  background-color: #00000059;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  backdrop-filter: saturate(50%) blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: url(./img/mouse-pointer.png) 0 1, pointer;
}

.window {
  opacity: 0.9;
  z-index: 110;
  position: fixed;
  margin: 0;
  padding: 0;
  outline: none;
  appearance: none;
  position: fixed;
  pointer-events: none;
  background-color: #ffffff00;
  cursor: url(./img/mouse-pointer.png) 0 1, pointer;
}

.window-dialog {
  border: 30px solid;
  min-width: 20%;
  max-width: 40%;
  min-height: 1.2em;
}

.window-dialog-text {
  transform: translate(0, -10px);
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}

#window-yesno {
  width: 40%;
  height: 4em;
}

#window-difficulty {
  width: 40%;
}

#window-message {
  max-width: 30%;
}

.message-img {
  animation: fade-in 1.0s;
  border: solid 2px #6a8aa1;
  border: solid 2.5px #6a8aa18c;
  box-shadow: 0 0 0 0.2rem #88c1d81f;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1;}
}

.window-dialog-button {
  border: 11px solid;
  position: absolute;
  bottom: -49px;
  color: white;
  left: 50%;
  opacity: 1;
  text-align: center;
  width: 7ch;
  -webkit-transform: translate3d(-50%, 0, 0);
}

#window-yesno-yes {
  left: 34%;
}

#window-yesno-no {
  left: 63%;
}

#window-difficulty-easy {
  left: 23%;
}

#window-difficulty-normal {
  left: 49%;
}

#window-difficulty-hard {
  left: 75%;
}

#window-goals {
  border: 39px solid;
  width: calc(100% - 80px);
  height: calc(100% - 90px);
  pointer-events: all;
}

#window-goals-text {
  transform: translate(0, -10px);
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}

.window-common-close {
  border: 11px solid;
  position: absolute;
  bottom: -13px;
  left: 50%;
  opacity: 1;
  text-align: center;
  width: 5ch;
  transform: translate(-50%, 0);
}

div::-webkit-scrollbar {
  width: 1em;
}
 
div::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0,0,0,0.1);
  border: 1px solid #ccc;
}
 
div::-webkit-scrollbar-thumb {
  background-color: #96aebc;
  border-radius: 10px;
  border: 1px solid #aaa;
}

fieldset {
  border-color: #abc4ea;
}

.scroller {
  overflow-y: auto;
  width: 100%;
  height: 100%;
}

#window-goals-current {
  height: 30%;
  margin-bottom: 10px;
}

#window-goals-completed {
  height: 45%;
  margin-bottom: 10px;
}

#window-goals-failed {
  height: 20%;
}

#window-about {
  border: 30px solid;
  width: 60%;
  min-height: 30em;
  pointer-events: all;
}

#window-about-title {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  padding-bottom: 10px;
}

#window-about-cont {
  display: flex;
  flex-direction: row;
}

#window-about-left {
  flex: 1;
  padding-right: 1%;
  font-size: 80%;
}

#window-about-right {
  flex: 0.8;
  margin-right: 2%;
}

#window-about-fieldset {
  height: 100%;
}

#window-log {
  border: 39px solid;
  width: calc(100% - 90px);
  height: calc(100% - 90px);
  pointer-events: all;
}

#window-log-text {
  transform: translate(-10px, -10px);
  width: 102%;
  height: calc(100% - 50px);
  display: flex;
  flex-direction: column;
}

#window-log-fieldset {
  height: 100%;
}

#window-timeline {
  border: 39px solid;
  width: calc(100% - 80px);
  height: calc(100% - 90px);
  pointer-events: all;
}

#window-timeline-fieldset {
  height: 100%;
}

#window-timeline-text {
  transform: translate(-10px, -10px);
  width: 101.5%;
  height: calc(100% - 50px);
  display: flex;
  flex-direction: column;
}

.window-timeline-event-title {
  color: white;
  text-decoration: underline;
}

.window-timeline-event-note {
  color: var(--text-color-timeline);
  font-style: italic;
}

.window-timeline-event-npc-title {
  color: #ffcdbf;
}

.window-timeline-event-npc {
  color: #ff8f6f;
}

#window-inventory {
  border: 39px solid;
  width: 90%;
  height: 90%;
  pointer-events: all;
}

#window-inventory-text {
  transform: translate(0, -10px);
  height: 94%;
}

#window-skills {
  border: 39px solid;
  width: 90%;
  height: 90%;
  pointer-events: all;
}

#window-skills-text {
  transform: translate(0, -10px);
  height: 94%;
}

#window-organs {
  border: 39px solid;
  width: 90%;
  height: 90%;
  pointer-events: all;
}

#window-organs-text {
  transform: translate(0, -10px);
  height: 94%;
}

#window-document {
  border: 39px solid;
  width: 90%;
  height: 90%;
  pointer-events: all;
}

#window-document-text {
  transform: translate(0, -10px);
  height: 94%;
}

#window-options {
  border: 30px solid;
  width: 50ch;
  pointer-events: all;
  display: flex;
  flex-direction: column;
}

#window-options-title {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  padding-bottom: 10px;
}

#window-options-subtitle {
  font-weight: bold;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 5px;
}

#window-options-contents {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#window-spoon {
  border: 30px solid;
  width: 40ch;
  height: 16em;
  pointer-events: all;
}

#window-spoon-title {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  padding-bottom: 10px;
}

#window-spoon-contents {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#window-mainmenu {
  border: 30px solid;
  width: 25ch;
  pointer-events: all;
  display: flex;
  flex-direction: column;
}

#window-mainmenu-title {
  font-size: 2.0em;
  font-weight: bold;
  font-family: Alternity;
  text-align: center;
  padding-bottom: 10px;
  color: #d6a5d6;
}

#window-mainmenu-contents {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.window-mainmenu-cont {
  justify-content: center;
  display: flex;
}

.window-mainmenu-item {
  background: #3a4f71;
  color: white;
  width: 80%;
  border-radius: 2px;
  border: solid 2px #abc4ea;
  text-align: center;
  padding: 8px;
  margin-bottom: 10px;
  font-size: 1.5em;
}

@keyframes button-animation {
  0%{
    background-position: left 0%;
  }
  100%{
    background-position: left 100%;
  }
}

.window-mainmenu-item:hover {
  background-color: #5f818c;
  font-weight:bold;
  background: #c4838347 url(./img/event/death.jpg);
  animation: button-animation 20s linear infinite;
}

.window-mainmenu-item:active {
  color: #879ea3;
}

.window-mainmenu-item-disabled {
  background: #3a4f71;
  color: #5e738787;
  width: 80%;
  border-radius: 2px;
  border: solid 2px #abc4ea;
  text-align: center;
  padding: 8px;
  margin-bottom: 10px;
}

#window-newgame {
  border: 30px solid;
  width: 25ch;
  height: 23em;
  pointer-events: all;
}

#window-newgame-title {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  padding-bottom: 10px;
}

#window-newgame-contents {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.window-newgame-cont {
  justify-content: center;
  display: flex;
}

.window-newgame-item {
  background: #3a4f71;
  color: white;
  width: 80%;
  border-radius: 2px;
  border: solid 2px #abc4ea;
  text-align: center;
  padding: 8px;
  margin-bottom: 10px;
}

.window-newgame-item:hover {
  background-color: #5f818c;
  font-weight:bold;
}

.window-newgame-item:active {
  color: #879ea3;
}

.slider-contents {
  display: flex;
  padding-bottom: 4px;
  align-items: center;
}

.slider-wrapper {
  width: 50%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  background: #ccdef4;
}

.slider::-webkit-slider-thumb {
  border-radius: 50%;
  background: #68b2e5;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
}

.slider-title {
  flex-basis: 21ch;
}

.slider-value {
  width: 7ch;
  text-align: center;
}

.checkbox-contents {
  display: flex;
  padding-bottom: 4px;
}

.checkbox-title {
  cursor: url(./img/mouse-pointer.png) 0 1, pointer;
  width: 100%;
}

.checkbox-element {
  cursor: url(./img/mouse-pointer.png) 0 1, pointer;
  width: 16%;
  text-align: center;
  display: none;
}

.checkbox-span {
  height: 1em;
  width: 1em;
  top: 3px;
  right: -9%;
  border: 2px solid #7d92a2;
  border-radius: 3px;
  display: inline-block;
  position: relative;
}

[type=checkbox]:checked + span:before {
  content: '\2714';
  position: absolute;
  top: -4px;
  left: 2px;
}

input[type=checkbox] {
  transform: scale(1.5);
}

.blinking-red {
  animation: blinking-red-text 2s infinite;
}

@keyframes blinking-red-text {
  0% { color: #f59393; }
  50% { color: #f54040; }
  100% { color: #f59393; }
}


#blinking-text {
  animation: blinking-red-text 2s infinite;
  transition: opacity 1s ease-in-out;
  font-size: 200%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0);
  pointer-events: none;
}

#window-evolution {
  border: 39px solid;
  width: calc(100% - 90px);
  height: calc(100% - 90px);
  pointer-events: all;
}

#window-evolution-text {
  transform: translate(0, -10px);
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}

#window-evolution-contents {
  transform: translate(-10px, -10px);
  width: 102%;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}

#window-evolution-list {
  display: flex;
  height: 34%;
}

#window-evolution-bottom {
  display: flex;
  flex-direction: row;
  height: 67%;
  min-height: 67%;
}

#window-evolution-bottom-left {
  width: 70%;
  height: 94%;
}

#window-evolution-bottom-right {
  width: 40%;
  margin: 10px 0px 0px 0px;
  padding: 5px 10px 0px 10px;
}

#window-evolution-img {
  width: 100%;
}

#window-evolution-info {
  height: 30%;
  max-height: 7.1em;
  margin-top: 10px;
}

#window-evolution-actions {
  margin-top: 10px;
  flex-grow: 1;
  height: 59%;
}

.window-evolution-list-row {
  display: flex;
  flex-direction: row;
  margin: 5px;
  padding: 5px;
}

.window-evolution-list-item {
  width: 47.5%;
  margin: 0px 5px 0px 5px;
  padding: 5px;
  border: solid 2px;
  border-radius: 6px;
  border-color: #4f688e;
}

.window-evolution-list-notes {
  font-size: 80%;
  line-height: 1.2em;
  letter-spacing: 0.1ch;
  margin: 5px 5px 0px 5px;
}

#window-ovum {
  border: 39px solid;
  width: calc(100% - 90px);
  height: calc(100% - 90px);
  pointer-events: all;
}

.small {
  font-family: var(--text-font);
  font-size: 80%;
  line-height: 1.2em;
  letter-spacing: 0.1ch;
  margin: 0px;
}

.gray {
  color: var(--text-color-gray);
}

.actions-item {
}

.actions-item:hover {
  background-color: #5f818c;
  color: white;
  opacity: 1;
  font-weight:bold;
}

.actions-item:active {
  color: #879ea3;
}

#window-body {
  border: 39px solid;
  width: calc(100% - 90px);
  height: calc(100% - 90px);
  pointer-events: all;
  display: flex;
  flex-direction: row;
}

#window-body-col1 {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin-right: 10px;
  height: calc(100% - 40px);
}

#window-body-col2 {
  display: flex;
  flex-direction: column;
  width: 49%;
  height: calc(100% - 40px);
}

#window-inventory-contents {
  height: 45%;
  margin-bottom: 10px;
  border-color: #475c7ab5;
  border-width: 3px;
}

#window-inventory-list {
  margin-bottom: 10px;
  height: 35%;
}

#window-inventory-actions {
  height: 30%;
  display: flex;
  flex-grow: 1;
}

#window-skills-contents {
  flex-grow: 1;
  border-color: #475c7ab5;
  border-width: 3px;
  height: 100%;
}

#window-skills-parasite {
  margin-bottom: 10px;
  height: 43%;
}

#window-skills-host {
  flex-grow: 1;
  height: 50px;
}

.host-attr-title {
  color: #c9e289;
}

.host-attr-notes {
  color: #a1c66f;
  font-size: 80%;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

#window-organs-contents {
  border-color: #475c7ab5;
  border-width: 3px;
  flex-grow: 1;
  height: 97%;
}

#window-organs-list {
  margin-bottom: 10px;
  height: 26%;
}

.window-organs-list-item {
  margin: 0px 5px 5px 5px;
  padding: 5px;
  border: solid 2px;
  border-radius: 6px;
  border-color: #4f688e;
}

#window-organs-available {
  margin-bottom: 10px;
  height: 26%;
}

#window-organs-info {
  margin-bottom: 10px;
  height: 15%;
}

#window-organs-actions {
  flex-grow: 1;
  height: 50px;
}

#window-pedia {
  border: 39px solid;
  width: calc(100% - 90px);
  height: calc(100% - 90px);
  pointer-events: all;
  display: flex;
  flex-direction: row;
}

#window-pedia-list {
  margin-bottom: 10px;
  height: 90%;
  width: 22ch;
}

#window-pedia-contents {
  width: 70%;
  height: 90%;
  display: flex;
  flex-grow: 1;
}

.window-pedia-group-item {
  font-weight: bold;
  color: var(--text-color-gray);
}

.window-pedia-topic-item {
}

.window-contents-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.window-disabled {
  background: #3b4451;
  color: #626262;
  border-color: #323e503b !important;
  filter: blur(4px);
}

.select-contents {
  align-items: center;
  display: flex;
}

.select-title {
  flex-basis: 21ch;
}

.button-container {
  display: flex;
}

#options-presets {
  font-size: 60%;
  border: 2px solid #98aed1;
  color: #c7e6ff;
  border-radius: 3px;
  background: #364967;
}

.energy {
  font-size: 80%;
  color: var(--text-color-energy);
}

.select-element {
  width: 50%;
  padding: 1px 3px 0px 3px;
  background: #ccdef4c2;
  border-radius: 6px;
  color: #303c48;
  font-family: var(--text-font);
}

.highlight-text {
  animation: 2.5s infinite text-highlight;
}
@keyframes text-highlight {
  from {
    font-size: var(--text-font-size);
    opacity:0.8;
  }
  50% {
    font-size: 101%;
    opacity:1.0;
  }
  to {
    font-size: var(--text-font-size);
    opacity:0.8;
  }
}

.highlight-button {
  animation: 1.2s 2 button-highlight;
}
@keyframes button-highlight {
  from {
    opacity: 0.1;
  }
  50% {
    opacity: 1.0;
  }
  to {
    opacity: 0.1;
  }
}

/* ==== PRESETS ==== */

#window-presets {
  border: 30px solid;
  width: 30ch;
  pointer-events: all;
  display: flex;
  flex-direction: column;
}

#window-presets-title {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  padding-bottom: 10px;
}

.basic-select {
    width: 100%;
    margin-bottom: 10px;
}

.basic-button {
  appearance: none;
  background: #364967;
  border-radius: 3px;
  border: 2px solid #98aed1;
  color: #c7e6ff;
  margin: 0.5em 5px 0px 5px;
  max-width: 10ch;
  min-height: 1.2em;
  max-height: 2em;
  outline: none;
  padding: 2px 4px 2px 4px;
  pointer-events: auto;
  user-select: none;
  vertical-align: middle;
  cursor: url(./img/mouse-pointer.png) 0 1, pointer;
}

.basic-button:hover {
  background-color: #bde1ed;
  color: #bde4ff;
  opacity: 1;
  font-weight:bold;
}

.basic-button:active {
  color: #879ea3;
}

.basic-input-text {
  background: #364967;
  border: 2px solid #98aed1;
  border-radius: 3px;
  color: #c7e6ff;
  min-height: 1.2em;
  margin: 5px;
  outline: none;
  pointer-events: auto;
  user-select: none;
  cursor: url(./img/mouse-pointer.png) 0 1, pointer;
}

.basic-radio {
  justify-self: center;
  cursor: url(./img/mouse-pointer.png) 0 1, pointer;
}

input[type="radio"] {
  appearance: none;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 50%;
  display: grid;
  place-content: center;
}

input[type="radio"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  background-color: #95accd;
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

input[type="radio"]:focus {
  outline: max(2px, 0.15em) solid currentColor;
  outline-offset: max(2px, 0.15em);
}

.window-presets-grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  grid-gap: 10px;
  align-items: center;
  padding-bottom: 4ch;
}

#preset-select {
  width: 66%;
}

.preset-header {
    display: contents;
    font-size: 60%;
}

.preset-header > div {
    text-align: center;
}

.setting-row {
    display: contents;
}

.setting-title {
    grid-column: 1;
    text-align: left;
}

.header-title {
    text-align: right;
}

.window-title {
  font-family: var(--text-font-title);
  font-size: 1.5em;
  text-shadow: -0.05ch -0.05ch 0px rgb(255 255 255 / 15%), 0.1ch 0.1ch 0px rgb(11 24 36 / 80%);
}

@keyframes background-animation {
  0%{
    transform: scale(1.0);
  }
  50%{
    background-position-x: center;
    transform: scale(1.2) translate3d(1%, 0%, 1%);
  }
  100%{
    transform: scale(1.1) translate3d(1%, 1%, 1%);
  }
}

.window-swirl::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--main-menu-bg);
  background-size: cover;
  filter: url(#swirl) brightness(80%) blur(0.5px) saturate(90%);
  animation: fade-in 5s, background-animation 200s infinite alternate;
}
