@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.dark-theme {
  --bg-color: #00001a; /*original: #11101d*/
  --font-color: #ffffff;
  --button-hover: rgba(255, 255, 255, 0.1);
  --button-hover-hex: #3c3c50;
  --button-active: rgba(255, 255, 255, 0.2);
  --menu-color: rgba(255, 255, 255, 0.15);
  --menu-color-hex: #26263c;
  --menu-selected: rgba(255, 255, 255, 0.15);
  --menu-input: rgba(255, 255, 255, 0.2);
  --scrollbar-color: rgba(255, 255, 255, 0.3);
  --scrollbar-bg: rgba(0, 0, 0, 0);
  --selected-indicator: #2f81f7;
  --dropdown-menu: rgba(255, 255, 255, 0.05);
  --input-accent: rgb(100, 100, 100);
  --test-color: #ff0000;
}

.black-theme {
  --bg-color: #1a1a1a; /*original: #11101d*/
  --font-color: #ffffff;
  --button-hover: rgba(255, 255, 255, 0.1);
  --button-hover-hex: #404040;
  --button-active: rgba(255, 255, 255, 0.2);
  --menu-color: rgba(255, 255, 255, 0.15);
  --menu-color-hex: #262626;
  --menu-selected: rgba(255, 255, 255, 0.15);
  --menu-input: rgba(255, 255, 255, 0.2);
  --scrollbar-color: rgba(255, 255, 255, 0.3);
  --scrollbar-bg: rgba(0, 0, 0, 0);
  --selected-indicator: #2f81f7;
  --dropdown-menu: rgba(255, 255, 255, 0.05);
  --input-accent: rgb(100, 100, 100);
  --test-color: #ff0000;
}

.blue-theme {
  --bg-color: #205ca5; /*original: #11101d*/
  --font-color: #ffffff;
  --button-hover: rgba(255, 255, 255, 0.1);
  --button-hover-hex: #5d89be;
  --button-active: rgba(255, 255, 255, 0.2);
  --menu-color: rgba(255, 255, 255, 0.15);
  --menu-color-hex: #4174b3;
  --menu-selected: rgba(255, 255, 255, 0.15);
  --menu-input: rgba(255, 255, 255, 0.2);
  --scrollbar-color: rgba(255, 255, 255, 0.3);
  --scrollbar-bg: rgba(0, 0, 0, 0);
  --selected-indicator: white;
  --dropdown-menu: rgba(255, 255, 255, 0.05);
  --input-accent: #174277;
  --test-color: #ff0000;
}

.light-theme {
  --bg-color: white; /*original: #11101d*/
  --font-color: black;
  --button-hover: rgba(0, 0, 0, 0.1);
  --button-hover-hex: #c3c3c3;
  --button-active: rgba(0, 0, 0, 0.2);
  --menu-color: rgba(0, 0, 0, 0.15);
  --menu-color-hex: #d9d9d9;
  --menu-selected: rgba(0, 0, 0, 0.15);
  --menu-input: rgba(0, 0, 0, 0.2);
  --scrollbar-color: rgba(0, 0, 0, 0.3);
  --scrollbar-bg: rgba(255, 255, 255, 0);
  --selected-indicator: white;
  --dropdown-menu: rgba(0, 0, 0, 0.05);
  --input-accent: rgb(100, 100, 100);
  --test-color: #ff0000;
}

.green-theme {
  --bg-color: #218644; /*original: #11101d*/
  --font-color: #ffffff;
  --button-hover: rgba(255, 255, 255, 0.1);
  --button-hover-hex: #5ea778;
  --button-active: rgba(255, 255, 255, 0.2);
  --menu-color: rgba(255, 255, 255, 0.15);
  --menu-color-hex: #429860;
  --menu-selected: rgba(255, 255, 255, 0.15);
  --menu-input: rgba(255, 255, 255, 0.2);
  --scrollbar-color: rgba(255, 255, 255, 0.3);
  --scrollbar-bg: rgba(0, 0, 0, 0);
  --selected-indicator: white;
  --dropdown-menu: rgba(255, 255, 255, 0.05);
  --input-accent: #175e30;
  --test-color: #ff0000;
}

.red-theme {
  --bg-color: #800000; /*original: #11101d*/
  --font-color: #ffffff;
  --button-hover: rgba(255, 255, 255, 0.1);
  --button-hover-hex: #a34646;
  --button-active: rgba(255, 255, 255, 0.2);
  --menu-color: rgba(255, 255, 255, 0.15);
  --menu-color-hex: #932626;
  --menu-selected: rgba(255, 255, 255, 0.15);
  --menu-input: rgba(255, 255, 255, 0.2);
  --scrollbar-color: rgba(255, 255, 255, 0.3);
  --scrollbar-bg: rgba(0, 0, 0, 0);
  --selected-indicator: white;
  --dropdown-menu: rgba(255, 255, 255, 0.05);
  --input-accent: #600000;
  --test-color: #ff0000;
}

.purple-theme {
  --bg-color: #660066; /*original: #11101d*/
  --font-color: #ffffff;
  --button-hover: rgba(255, 255, 255, 0.1);
  --button-hover-hex: #904690;
  --button-active: rgba(255, 255, 255, 0.2);
  --menu-color: rgba(255, 255, 255, 0.15);
  --menu-color-hex: #7d267d;
  --menu-selected: rgba(255, 255, 255, 0.15);
  --menu-input: rgba(255, 255, 255, 0.2);
  --scrollbar-color: rgba(255, 255, 255, 0.3);
  --scrollbar-bg: rgba(0, 0, 0, 0);
  --selected-indicator: white;
  --dropdown-menu: rgba(255, 255, 255, 0.05);
  --input-accent: #4d004d;
  --test-color: #ff0000;
}

.orange-theme {
  --bg-color: #663300; /*original: #11101d*/
  --font-color: #ffffff;
  --button-hover: rgba(255, 255, 255, 0.1);
  --button-hover-hex: #906b46;
  --button-active: rgba(255, 255, 255, 0.2);
  --menu-color: rgba(255, 255, 255, 0.15);
  --menu-color-hex: #7d5126;
  --menu-selected: rgba(255, 255, 255, 0.15);
  --menu-input: rgba(255, 255, 255, 0.2);
  --scrollbar-color: rgba(255, 255, 255, 0.3);
  --scrollbar-bg: rgba(0, 0, 0, 0);
  --selected-indicator: white;
  --dropdown-menu: rgba(255, 255, 255, 0.05);
  --input-accent: #572c01;
  --test-color: #ff0000;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column; /* Stacks items vertically */
  height: 100vh;
}

.main-content {
  flex-grow: 1;
  box-sizing: border-box;
  overflow-y: auto;
  min-height: 100%;
  margin-left: 260px;

  transition: all 0.5s ease;
}
.main-content-wide {
  margin-left: 50px;
  min-height: 100%;

  transition: all 0.5s ease;
}
.no-transition {
  transition: none;
}

#map {
  height: var(--window-height);
  background-color: var(--bg-color);
}

/*.main-content #map {
  
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 260px;

  background-color: #11101d;

  transition: all 0.5s ease;
}

.main-content-wide #map {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50px;

  background-color: #11101d;

  transition: all 0.5s ease;
}*/

.nav-links li {
  min-height: 50px;

  background-color: var(--bg-color);

  transition: all 0.5s ease;
}

.sidebar-toggle {
  height: 50px;
  width: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  top: 0;
  right: 0;
}

.sidebar-toggle img {
  height: 30px;
  width: 30px;
  transition: all 0.6s ease;
}

.sidebar-toggle:hover {
  background-color: var(--button-hover);
}

.sidebar-toggle:active {
  background-color: var(--button-active);
}

.sidebar.close .sidebar-toggle img {
  transform: scaleX(-1);
  transition: all 0.6s ease;
}

@keyframes spin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}
.icon {
  /*animation: spin 1.5s linear infinite;*/
  animation: none;
}

.dropdownicon {
  animation: none;
}
.no-rotation {
  animation: none;
}

.icon-box {
  height: 50px;
  width: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menutitle-box {
  height: 50px;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: left;
}

.arrow-box {
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow {
  transform: rotate(-180deg);
  height: 20px;
}

.sidebar.close .arrow-box {
  display: none;
  transition: all 0.6s ease;
}

.icon {
  height: 30px;
}
.hideMenu .menu-box {
  /*display: none;*/
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.2s ease-out;
}
.menu-box {
  color: var(--font-color);
  position: relative;

  opacity: 1;
  max-height: 350px;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.hideMenu .menu-button {
  background-color: var(--bg-color);

  transition: all 0.5s ease;
}
.hideMenu .icon {
  animation: none;
}
.hideMenu .arrow {
  transform: rotate(0deg);
  height: 20px;
}

.sidebar.close .menu-box {
  display: none;
}

.menu-button {
  background-color: var(--bg-color);
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  transition: all 0.5s ease;
}
.menu-button:hover {
  background-color: var(--button-hover);
}

.real_link_menu_btn {
  background-color: var(--bg-color);
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-top: 25px;

  transition: all 0.5s ease;
}
.real_link_menu_btn:hover {
  background-color: var(--button-hover);
}

.link_name {
  font-size: 16px;
  font-weight: bold;
  color: var(--font-color);
  transition: all 0.4s ease;
}

.real_link {
  text-decoration: underline;
}

label {
  font-size: 10pt;
  cursor: pointer; /* Changes cursor to pointer on hover */
}

.menu-normal-box {
  display: flex;
  flex-direction: column; /* Stack radio buttons vertically */
  gap: 0px; /* Adds space between the radio buttons */
  margin-left: 25px; /* Optional padding */
  margin-right: 25px;
  margin-top: 5px;
  margin-bottom: 5px;
  border-radius: 5px;
  background-color: var(--menu-color);
}

.menu-normal-div {
  background-color: transparent;
  border: none;
  color: var(--font-color);
  display: flex;
  flex-direction: column;
  font-size: 10pt;
  position: relative;
  padding: 5px 10px;
  border-radius: 4px;
  text-align: left;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
.menu-one-line-div {
  background-color: transparent;
  border: none;
  color: var(--font-color);
  display: flex;
  align-items: center;
  font-size: 10pt;
  position: relative;
  padding: 5px 10px;
  border-radius: 4px;
  text-align: left;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.menu-input-color {
  appearance: none;
  display: inline-block;
  text-align: center;
  padding: 0;
  border: 2px solid white;
  outline: none;
  cursor: pointer;
  width: 19px;
  height: 19px;
  margin-left: 3px;
  margin-right: 10px;
  margin-top: 0px;
  border-radius: 15px;
  background-color: #ffffff; /* Set a solid background color to remove the grey */
  box-shadow: inset 0px 0px 0px 1000px #ffffff; /* Fill inside with solid color */
}

.menu-input-color::-moz-color-swatch {
  border: none;
}
.menu-input-color::-webkit-color-swatch {
  border: none;
}
.menu-input-color::-webkit-color-swatch-wrapper {
  padding: 0;
}

.menu-input-range {
  width: 100%;
  margin-top: 5px;
  accent-color: var(--input-accent);
}

.menu-radiobtn-box {
  display: flex;
  flex-direction: column; /* Stack radio buttons vertically */
  gap: 0px; /* Adds space between the radio buttons */
  margin-left: 25px; /* Optional padding */
  margin-right: 25px;
  margin-top: 5px;
  margin-bottom: 5px;
  border-radius: 5px;
  background-color: var(--menu-color);
}

.menu-grenzen-box {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.radiobtn {
  background-color: transparent;
  border: none;
  color: var(--font-color);
  display: flex;
  cursor: pointer;
  font-size: 10pt;
  position: relative;
  padding: 5px;
  border-radius: 4px;
}

/*.radiobtn:not(:active):hover,
.radiobtn:focus {
  background-color: #21262c;
}
.radiobtn:focus,
.radiobtn:active {
  background-color: #1a1f24;
  outline: none;
}*/

.radiobtn:hover {
  /*background-color: #21262c;*/
  background-color: var(--button-hover);
}
.radiobtn::before {
  content: "";
  position: relative;
  left: -12px;
  width: 5px;
  min-height: 100%;
  min-height: 21px;
  background-color: var(--selected-indicator);
  border-radius: 5px;
  opacity: 0;
}
/*.radiobtn:focus::before,
.radiobtn:active::before {
  opacity: 1;
}*/

.btn-selected::before {
  opacity: 1;
}

.btn-selected:hover {
  background-color: var(--menu-selected);
}

.btn-selected {
  /*background-color: #21262c;*/
  background-color: var(--menu-selected);
}

.menu-select-box {
  background-color: var(--menu-color);
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-left: 25px;
  margin-right: 25px;
  margin-top: 5px;
  margin-bottom: 5px;
  border-radius: 5px;
}

.menu-select {
  background-color: transparent;
  color: var(--font-color);
  border: none;
  display: flex;
  cursor: pointer;
  font-size: 10pt;
  position: relative;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
}

.menu-select:hover {
  background-color: var(--button-hover-hex);
}
/*.menu-select option {
  background-color: rgb(38, 38, 60);
}*/

.menu-dropdown-box {
  /*display: flex;
  flex-direction: column; 
  gap: 0px; */

  display: inline-block;
  width: 100%;
  position: relative;

  margin-top: 5px;
  margin-bottom: 5px;
  border-radius: 5px;
  background-color: transparent;
}

.dropdownbtn {
  background-color: var(--menu-color);
  border: none;
  border-radius: 4px;
  color: var(--font-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 10pt;
  font-weight: bold;
  white-space: nowrap;
  width: calc(100% - 50px);
  padding: 5px 10px;
  margin: 0 25px;
}

.dropdownicon {
  height: 15px;
}

.dropdownbtn:hover {
  background-color: var(--button-hover-hex);
}

.dropdown {
  border-radius: 6px;
  background-color: var(--menu-color-hex);
  margin-right: 25px;

  position: absolute;
  top: 100%;
  left: 25px;
  width: calc(100% - 50px);
  z-index: 100;
  border: 1px solid var(--button-hover);
  max-height: 500px;
  overflow-y: auto;
  box-shadow: 5px 5px 5px var(--bg-color);
}

.dropdown-hidden {
  display: none;
}

.dropdown-menu-btn {
  background-color: transparent;
  color: var(--font-color);
  border: none;
  cursor: pointer;
  font-size: 9.5pt;
  text-align: left;
  border-radius: 4px;

  padding: 2px 10px;
  width: 100%;
}

.dropdown-menu-btn:hover {
  background-color: var(--button-hover-hex);
}

/*.menu-select {
  background-color: transparent;
  color: var(--font-color);
  border: none;
  display: flex;
  cursor: pointer;
  font-size: 10pt;
  position: relative;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;

  -ms-overflow-style: none;
  scrollbar-width: none; 
}

.menu-select::-webkit-scrollbar {
  display: none;
}

.menu-select option {
  background-color: rgb(38, 38, 60);
  border: none;
}
.menu-select option:focus {
  background-color: var(--test-color);
  border: none;
}

.menu-select:hover {
  background-color: var(--button-hover);
}*/

.menu-input {
  display: inline-block;
  text-align: center;
  padding: 0;
  border: none;
  outline: none;
  width: 25px;
  height: 19px;
  margin-left: 4px;
  margin-right: 4px;
  -moz-appearance: textfield;
  background-color: var(--menu-input);
  color: var(--font-color);
}

.btn-top-x {
  display: flex;
  align-items: end;
}

.menu-input::-webkit-outer-spin-button,
.menu-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.menu-input:focus-visible {
  outline: none;
}

.btn-theme {
  height: 20px;
  width: 20px;
  min-height: 20px;
  min-width: 20px;
  margin-right: 5px;
  border-radius: 6px;
  cursor: pointer;
}
.btn-black-theme {
  background-color: #1a1a1a;
  border: 2px solid white;
}
.btn-light-theme {
  background-color: white;
  border: 2px solid black;
}
.btn-blue-theme {
  background-color: #205ca5;
  border: 2px solid white;
}
.btn-green-theme {
  background-color: #218644;
  border: 2px solid white;
}
.btn-red-theme {
  background-color: #800000;
  border: 2px solid white;
}
.btn-purple-theme {
  background-color: #660066;
  border: 2px solid white;
}
.btn-orange-theme {
  background-color: #663300;
  border: 2px solid white;
}

/*
* sidebar
*
*/
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 260px;
  background: var(--bg-color);
  z-index: 100;
  transition: all 0.5s ease;
}
.sidebar.close {
  width: 50px;
}

.sidebar.close .menutitle-box {
  display: none;
}

.sidebar .nav-links {
  max-height: 100%;
  margin: 50px 0 50px 0;
  padding-bottom: 100px;

  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar .nav-links li a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

@-moz-document url-prefix() {
  .sidebar .nav-links {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-color) var(--scrollbar-bg);
  }
  .sidebar .nav-links:hover {
    scrollbar-color: var(--scrollbar-color) var(--scrollbar-bg);
  }
}

.sidebar .nav-links::-webkit-scrollbar {
  width: 6px;
}
.sidebar .nav-links::-webkit-scrollbar-button {
  display: none;
}
.sidebar .nav-links::-webkit-scrollbar-track {
  background: var(--scrollbar-bg);
}
.sidebar .nav-links::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-color); /* Scrollbar thumb color */
  border-radius: 10px; /* Optional rounded corners */
}
/*
@media (max-width: 400px) {
  .sidebar.close .nav-links li .sub-menu {
    display: none;
  }
  .sidebar {
    width: 78px;
  }
  .sidebar.close {
    width: 0;
  }
  .home-section {
    left: 78px;
    width: calc(100% - 78px);
    z-index: 100;
  }
  .sidebar.close ~ .home-section {
    width: 100%;
    left: 0;
  }
}
*/

.text-box {
  box-sizing: border-box;
  position: relative;

  height: 100%;
  max-height: 100%;
  background-color: var(--menu-color-hex);
  padding: 10px;

  color: var(--font-color);

  transition: all 0.5s ease;

  overflow-y: auto;
}

.text-box * {
  font-family: ui-sans-serif, -apple-system, system-ui, Segoe UI, Helvetica,
    Apple Color Emoji, Arial, sans-serif, Segoe UI Emoji, Segoe UI Symbol;
  font-feature-settings: normal;
  font-variation-settings: normal;
}

.text-box-text {
  max-width: 800px; /* Fixed width for each paragraph */
  font-size: 16px;
  line-height: 24px;
}
.text-box-text p {
  margin-bottom: 10px;
}
.text-box-text a {
  color: white;
}
.text-box-text h3 {
  font-size: 24px;
  line-height: 32px;

  margin-bottom: 4px;
}
.text-box-text ul {
  margin-left: 10px;
  margin-bottom: 10px;
}
.text-box-text b {
  font-weight: bold;
}

.text-box-hidden {
  display: none;
}

@media (max-width: 400px) {
  .text-box-text {
    width: 100%;
  }
}
