html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100%;
}

body {
    --bs-body-color: #232e3c;
    --bs-body-color-rgb: 35, 46, 60;

    --bs-blue: #2c7be5;
    --bs-primary: #2c7be5;
    --bs-primary-rgb: 44, 123, 229;
    --bs-link-color: #2c7be5;
    --bs-link-color-rgb: 44, 123, 229;
    --bs-link-hover-color: #2569c3;
    --bs-link-hover-color-rgb: 37, 105, 195;

  display: flex;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #f5f5f5;
  background-image: url(../img/background.jpg);
  background-size: cover;
  background-position: left;
  background-attachment: fixed;
}

.btn-primary {
    --bs-btn-bg: #2c7be5;
    --bs-btn-border-color: #2c7be5;
    --bs-btn-border-color-rgb: #2c7be5;
    --bs-btn-hover-bg: #2569c3;
    --bs-btn-active-bg: #2362b7;
}

input.form-control {
    box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 2px 0px inset;
}

@media (min-width: 1060px) {
  body {
    padding-left: calc(100vw - 100%);
  }
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.notMobile, .onlyMobile, .onlyiOS, .onlyAndroid {
  display: none;
}

.noselect {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.img-pixels {
  image-rendering: optimizeSpeed;
  image-rendering: optimizeQuality;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
  image-rendering: optimize-contrast;
}

.error-box {
  background-color: #fad7dd;
  border: 1px solid #f8c3cd;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 15px;
}

.popover {
  box-shadow: 3px 7px 15px rgba(0,0,0,1);
}

.modal-dialog {
  box-shadow: 3px 7px 15px rgba(0,0,0,.7);
}

.logo-img {
  width: 120px;
  margin: auto;
  display: block;
}

@media (min-height: 650px) {
  .logo-img {
    width: 200px;
  }
}

.imprint {
  font-size: small;
  color: grey;
  text-align: center;
}

main {
    background-color: #ffffff;
    border-radius: 0.375rem;
    box-shadow: rgba(65, 69, 88, 0.1) 0px 7px 14px 0px, rgba(0, 0, 0, 0.07) 0px 3px 6px 0px;
}

.main-signin {
  max-width: 350px;
  padding: 30px;
}

.main-info {
  width: 95%;
  max-width: 1024px;
  padding: 30px;
}

.form-floating:focus-within {
  z-index: 2;
}

.form-floating {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin-top: 10px;
}

.form-floating {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  margin-bottom: 10px;
}

.form-floating input[type="text"], .form-floating input[type="email"], .form-floating input[type="password"] {
  margin-bottom: -1px;
  border-radius: inherit;
}

#floatingInvitation, #floatingEMailVerification, #floatingMXIDVerification {
  font-family: monospace;
  font-weight: bold;
  font-size: x-large;
  text-align: center;
}

#floatingEMail, #floatingEMailRepeat, #floatingNewMXID, #floatingPass {
  font-weight: bold;
  text-align: center;
}

#floatingMXID {
  text-align: center;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

#faq-accordion .accordion-header .accordion-button {
  font-weight: 600;
}

.phonescreen {
  width: 40%;
  min-width: 200px;
  float: left;
  margin: 0 10px 20px 0;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, .3);
}

.code-input-container {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin-bottom: 15px;
}

.code-input-container input {
    appearance: textfield; /* Firefox: Pfeile in Nummernfeld ausblenden */
    border: 1px solid #ccc;
    font-family: monospace;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    width: 3em;
    padding: 1.0em 0;
    border-radius: 5px;
}

/* Chrome, Safari: Pfeile in Nummernfeld ausblenden */
.code-input-container input[type=number]::-webkit-inner-spin-button,
.code-input-container input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
