* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
}

.hidden {
  display: none;
}

.error {
  color: red;
}

body {
  font-family: Arial, sans-serif;
  background-image: url(/img/box_programmierung_jpg_l.png);
  background-attachment: fixed;
  background-position: center center;
  background-repeat: repeat-y;
  width: calc(100vw - var(--scrollbar-width));
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

header {
  padding-top: 1rem;
  align-self: center;
}

.main_css {
  width: 90%;
  max-width: 30rem;
  padding: 2rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(30px);
  border-radius: 20px;
  border: 2px solid black;
  box-shadow: inset 3px 3px 20px white;
}

.dropzone {
  border: #959595 dotted;
}

/* Grünes Häkchen bei einem erfolgreichen Upload */
.dz-success-mark svg path {
  stroke: green !important; /* Randfarbe */
  fill: green !important; /* Flächenfarbe */
}

/* Rotes Kreuz bei einem fehlgeschlagenen Upload */
.dz-error-mark svg g {
  stroke: red !important; /* Randfarbe */
  fill: red !important; /* Flächenfarbe */
}

/* Verstecke die "Remove"-Schaltfläche */
.dz-remove {
  display: none !important;
}

h1 {
  color: #e8e8e8;
  font-size: 24px;
  margin-bottom: 20px;
}

h2 {
  color: #e8e8e8;
  font-weight: 100;
  font-size: 18px;
}

p {
  color: #e8e8e8;
  line-height: 1.5rem;
}

.p_highlight {
  color: #69ee39;
  text-decoration: underline;
}

.text_underline {
  text-decoration: underline;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #e8e8e8;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.red_dot {
  color: #fe1212;
}

.textarea {
  width: 100%;
  height: 6rem;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

button {
  width: 100%;
  background-color: #28a745;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.button {
  background-color: #28a745;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

button:hover {
  background-color: #218838;
}

.button:hover {
  background-color: #218838;
  text-decoration: none;
}

a {
  color: #00ffff;
  display: block;
  margin-top: 15px;
}

a:hover {
  text-decoration: underline;
}

.success-message {
  color: #28a745;
  font-weight: bold;
  margin-bottom: 20px;
}

img {
  width: 90%;
  max-width: 50rem;
  margin: auto;
  display: block;
  padding: 1rem;
  background-color: transparent;
  backdrop-filter: blur(30px);
  border-radius: 20px;
  margin-bottom: 1rem;
  border: 2px solid rgb(72, 72, 72);
  box-shadow: inset 5px 5px 20px white;
}

.link_logo_admin_area {
  position: relative;
  justify-content: end;
  width: 100%;
  max-width: 50rem;
  margin: auto;
  display: block;
  padding: 0;
  background-color: none;
  backdrop-filter: none;
  border-radius: 0px;
  margin-bottom: 1rem;
  border: none;
  box-shadow: none;
}
.logo_div_admin_area {
  text-align: center;
}

/* Schalter */
/* Grundstil für den Schalter */
.toggle-switch,
.toggle-switch-light-mode {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/*Schalter für die dark- lightmode Einstellung im Admin Bereich*/
.switch-label-light-mode {
  display: block;
  width: 60px;
  height: 30px;
  background-color: #28a745;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
}

.switch-label-light-mode::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

/* Wenn der Schalter aktiviert ist */
.toggle-switch-light-mode:checked + .switch-label-light-mode {
  background-color: rgb(0, 215, 21);
}

.toggle-switch-light-mode:checked + .switch-label-light-mode::before {
  transform: translateX(30px);
}

/* Schalter zum ein- und ausblenden des Kontakt formulares */
.switch-label {
  display: block;
  width: 60px;
  height: 30px;
  background-color: red;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
  rotate: 180deg;
}

.switch-label::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

/* Wenn der Schalter aktiviert ist */
.toggle-switch:checked + .switch-label {
  background-color: #28a745;
}

.toggle-switch:checked + .switch-label::before {
  transform: translateX(30px);
}

/* Stil für das Container-Element */
.toggle-content-container {
  margin-top: 20px;
  background-color: #fe1212;
}

.toggle_div_display_contact_form {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* CSS für das kleine Augen Symbol in den Passwort Formular Feldern */
.password-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.password {
  padding-right: 30px; /* Platz für das Icon */
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
}

@media (min-width: 1000px) {
  body {
    background-repeat: repeat;
    background-position: left top;
  }
  .main_css_admin_area {
    width: 90%;
    max-width: 110rem;
  }
  .admin_area_h1 {
    padding: 0 2rem 1rem;
    margin: 0;
  }

  .main_div {
    display: flex;
  }
  .admin_div {
    display: flex;
    padding: 2rem;
    justify-content: space-between;
    flex: 1;
    flex-direction: column;
  }

  .link_logo_admin_area {
    margin-top: 100%;
  }

  .border1 {
    padding: 2rem;
    flex: 1;
    border: 2px solid green;
    border-right: none;
    border-radius: 20px 0 0 20px;
  }
  .border2 {
    padding: 2rem;
    flex: 1;
    border: 2px solid green;
    border-left: none;
    border-radius: 0 20px 20px 0;
  }
}
