html, body {
  max-width: 1600px;
  height: 100%;
  margin: auto;
}

body {
  background-color: #000000;
  display: flex;
  flex-direction: column;
}

/* Header */

#MainNavbar {
  flex: 0 0 auto;
}

#MainNavbar::before {
  content: "";
  position: absolute!important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7)!important;
}

.navbar-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  margin: auto;
}

#BrandLogo {
  position: relative;
  max-height: 70px;
}

#navcol {
  position: relative;
}

.navbar-nav {
  font-family: 'Kanit';
  color: rgba(9,162,255,0.85);
}

.nav-item {
  /*margin: 8px 16px;*/
}

.nav-link-extra {
  min-width: 50px;
  color: rgba(9,162,255,0.85);
  text-shadow: 3px 3px 6px rgb(0,0,0);
  padding: 0.5rem 0.5rem;
  width: auto;
}

.nav-logo {
  height: auto;
  width: clamp(200px, 10vw, 250px);
}

/* Main */

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.index {
  margin: 2px 0px;
}

.page {
  margin: 2px 0px;
  background-color: var(--bs-tertiary-bg);
}

.clean-block.clean-hero {
  flex-direction: column;
  color: rgba(9, 162, 255, 0.85);
  width: 100%;
  gap: 20px;
  padding: 40px 15px;
}

#Hero {
  flex: 1 0 auto;
}

.page-title {
  text-align: center;
  margin: 0 0 8px 0;
  color: #000000;
  text-transform: uppercase;
  z-index: 1020;
}

/* Footer */

footer {
  flex: 0 0 auto;
}

#Heart {
  -webkit-text-stroke: 1px transparent;
  font-size: 12px;
  color: var(--bs-white);
}

/* Modals */

.modal-body {
  width: 95%;
  margin-right: auto;
  margin-left: auto;
  background-color: #212529;
}

.ModalContent {
  width: 100%;
}

.h1-modal {
  margin: auto;
  /*width: 798px;*/
  text-align: center;
}

.h2-modal {
  padding-bottom: 20px;
  padding-top: 20px;
  width: 100%;
}

.text-modal {
  color: #cccccc;
  text-align: justify;
  font-family: Kanit, sans-serif;
}

.carousel-control-prev, .carousel-control-next {
  height: 50px;
  margin-top: 8px;
}

@media (max-width: 991.98px) {
  .modal-fullscreen-lg-down {
    background-color: #212529;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    height: 100.1vh;
    /*box-sizing: border-box;*/
    overflow: hidden;
  }
}

/* Standard: Modal immer unten fixiert */

.modal-dialog-bottom {
  position: fixed;
  bottom: 0;
  top: auto !important;
  margin: 0;
  width: 100%;
  max-width: none;
  border-radius: 0;
}

.modal-dialog-bottom .modal-content {
  border-radius: 0;
}

@media (max-width: 991.98px) {
  .modal-dialog-bottom {
    border-radius: 1rem 1rem 0 0;
  }
}

@media (max-width: 991.98px) {
  .modal-dialog-bottom .modal-content {
    border-radius: 1rem 1rem 0 0;
  }
}

/* Radio als Switch stylen */

.form-check-input[type="radio"] {
  opacity: 0;
  position: absolute;
}

.form-check-label {
  position: relative;
  padding-right: 25px;
  cursor: pointer;
}

.form-check-label::before {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 16px;
  background-color: #212529;
  border-style: solid;
  border-radius: 10px;
  border-width: thin;
  border-color: var(--bs-primary);
  transition: background-color 0.3s;
}

.form-check-label::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  border-color: #212529;
  transition: right 0.5s;
}

.form-check-input[type="radio"]:checked + .form-check-label::before {
  background-color: #0d8cdb;
}

.form-check-input[type="radio"]:checked + .form-check-label::after {
  right: -15px;
}

/* Klassen alphabetisch */

*:focus {
  outline: 0;
}

a {
  text-decoration: none;
}

a:focus, button:focus {
  outline: none;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, .navbar, .brand, .btn-simple, a, .td-name, td, legend {
  -webkit-font-smoothing: antialiased;
}

h1, .h1, h2, .h2, legend, .legend {
  font-family: 'Monoton';
}

li {
  font-family: Kanit, sans-serif;
  font-size: 18px;
  width: auto;
  padding-top: 0;
  margin-bottom: 0;
  padding-right: 8px;
  padding-left: 8px;
}

.link-info {
  text-shadow: 2px 2px 5px rgb(0,0,0);
  font-family: 'Kanit';
}

.reflow {
  width: 95%;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  font-family: Kanit, sans-serif;
}

/* XS: <576px */

@media (min-width: 200px) {
  #MainNavbar {
    max-height: none;
  }
}

@media (min-width: 200px) {
  .navbar-brand {
    width: 75%;
    max-height: 70px;
  }
}

@media (max-width: 575.98px) {
  #quadcontainer .quad-container {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 575.98px) {
  .quad {
    width: auto;
    height: auto;
  }
}

/* SM: ≥576px */

@media (min-width: 576px) and (max-width: 767.98px) {
  .nav-logo {
    width: auto;
    height: 70px;
  }
}

/* MD: ≥768px */

@media (min-width: 768px) and (max-width: 991.98px) {
  .nav-logo {
    width: auto;
    height: 70px;
  }
}

@media (max-width: 991.98px) {
  #navcol {
    padding-top: 1vh;
  }
}

@media (max-width: 991.98px) {
  .nav-item {
    padding-bottom: 0.3rem;
  }
}

/* LG: ≥992px */

@media (min-width: 992px) {
  #MainNavbar {
    height: 80px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-brand {
    width: 30%;
    margin: auto;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  #navcol {
    width: 70%;
    margin: auto;
  }
}

/* XL: ≥1200px */

@media (min-width: 1200px) {
  .navbar-brand {
    width: 30%;
    margin: auto;
  }
}

@media (min-width: 1200px) {
  #navcol {
    width: 70%;
    margin: auto;
  }
}

/* XXL: ≥1400px */

