body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
  color: #333;
}

.steuerung {
  max-width: 700px;
  height: auto;
  background-color: #007BFF;
  color: white;
  margin: 20px auto;
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.steuerung h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.steuerung button {
  background-color: white;
  color: #007BFF;
  border: 1px solid #007BFF;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.steuerung button:hover {
  background-color: #0056b3;
  color: white;
}

.contain {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contain:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footerlinks {
  list-style: none;
}

.wrapper {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.l1 {
  width: 40%;
  min-width: 500px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.l1 form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.l1 form label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.l1 form input[type="text"],
.l1 form input[type="number"],
.l1 form input[type="email"],
.l1 form input[type="tel"],
.l1 form input[type="color"],
.l1 form select,
.l1 form textarea {
  width: 30%;
  max-width: 400px;
  /* Begrenze die maximale Breite */
  padding: 8px;
  /* Reduziere das Padding */
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.l1 form input[type="text"]:focus,
.l1 form input[type="number"]:focus,
.l1 form input[type="email"]:focus,
.l1 form input[type="tel"]:focus,
.l1 form input[type="color"]:focus,
.l1 form select:focus,
.l1 form textarea:focus {
  border-color: #007BFF;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;

}

.l1 form button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.l1 form button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.l1 form button.zurücksetzten {
  background-color: red;
  /* Hintergrundfarbe Rot */
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.l1 form button.zurücksetzten:hover {
  background-color: darkred;
  /* Dunkleres Rot beim Hover */
  transform: scale(1.05);
}

.l1 form textarea {
  resize: vertical;
  min-height: 100px;
}

.sehen {
  display: inline-block;
  width: 80%;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  margin-left: 10px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sehen header {
  max-width: 100%;
  /* Begrenze die Breite des Headers */
  margin: 0 auto;
  /* Zentriere den Header innerhalb des Containers */
  box-sizing: border-box;
  /* Stelle sicher, dass Padding und Border berücksichtigt werden */
  overflow: visible;

}

header {
  position: relative;
  top: 0;
  width: 100%;
  /* Stellt sicher, dass der Header die gesamte Breite einnimmt */
  max-width: 1200px;
  /* Begrenze die maximale Breite */
  margin: 0 auto;
  /* Zentriere den Header */
  background-color: #007BFF;
  color: white;
  padding: 15px 20px;
  text-align: center;
  border-radius: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header>div>img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  border-radius: 5px;
  border: 2px solid white;
}

.class {
  display: flex;
}

.logohalter {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  /* Begrenze die maximale Breite */
  margin: 0 auto;
  /* Zentriere den Logohalter */
}

.navline {
  display: none;
}

#nav2ck {
  display: none;
}

input[type="range"],
input[type="file"] {
  width: 50%;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

input[type="text"] {
  height: 30px;
  border-radius: 10px;
  border: 1px solid #ddd;
  padding-left: 10px;
  width: 95%;
}

.uldesk {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

#links {
  display: block;
}

.xbild {
  overflow: scroll;
}

@media only screen and (max-width: 600px) {
  /* .ulhandy > li {
    padding: 10px;
    list-style: none;
    color: black;
    text-decoration: none;
    font-size: 1.3rem;

    margin: 10px;
  }
  .ulhandy a {
    color: black;
    text-decoration: none;
  }
  .navline {
    display: flex;
    justify-content: space-evenly;
    background-color: black;
    width: 20px;
    height: 4px;
    margin: 4px;
  }
  #nav2ck:checked + .ulhandy {
    display: flex;
    flex-direction: column;
  } */
}

.checkhidden {
  display: none;
}

.inhalt>* {
  display: block;
  margin: 10px;
  padding: 5px;
  border: 1px solid black;
}

.inhalt div {
  display: flex;
  justify-content: space-between;
}

.inhalt>form {
  display: grid;
  grid-template-columns: auto;
  gap: 10px;
}

.place {
  width: 100%;
  height: 200px;
  background-color: #f9f9f9;
  border: 1px dashed #ddd;
  border-radius: 5px;
  text-align: center;
  padding: 10px;
}

.steuerungx2 {
  position: sticky;
  bottom: 30px;
  left: 33%;
  width: 33%;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 10px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.steuerungx2 button {
  background-color: white;
  color: #007BFF;
  border: 1px solid #007BFF;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.steuerungx2 button:hover {
  background-color: #0056b3;
  color: white;
}

#upload-image :open {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  max-height: 80%;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Verhindert, dass Inhalte überlaufen */
}

#upload-image>div {
  flex: 1;
  overflow-y: auto;
  /* Ermöglicht Scrollen im inneren div */
  padding: 15px;
}

#upload-image button {
  position: sticky;
  bottom: 0;
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
}

#upload-image button:hover {
  background-color: #0056b3;
}

#upload-image img {
  width: 80px;
  /* Reduziere die Breite */
  height: 80px;
  /* Reduziere die Höhe */
  margin: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  object-fit: cover;
  /* Sorgt dafür, dass das Bild proportional bleibt */
}

.inhalt img {
  width: 50px !important;
  height: 50px !important;
  outline: none;
  border-radius: 5px;
  border: 1px solid #ddd;
}

#aleiste {

  max-width: 1200px;
  /* Begrenze die maximale Breite */
  margin: 0 auto;
  /* Zentriere die Ankündigungsleiste */
  height: 40px;
  background-color: #0056b3;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  border-radius: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#aleiste>div {
  height: 30px;
  min-width: 250px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 20px;
}

a {
  text-decoration: none;
}

.sliderxx {
  height: 300px;
}

.log {
  color: white;
  background-color: #007BFF;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
}

.log:hover {
  background-color: #0056b3;
}

#loghh {
  width: 80px;
  height: 80px;
}

.headerhead {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.headerhead .logo {
  height: 80px;
  width: 80px;
}

.headerhead nav {
  flex-grow: 1;
  margin-left: 20px;
}

.headerhead ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
}

.headerhead ul li a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
}

.headerhead ul li a:hover {
  background-color: #f0f0f0;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: #000;
  border-radius: 2px;
}

@media screen and (max-width: 768px) {
  .headerhead {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .hamburger {
    margin-left: 20px;
    display: flex;
    margin-right: 15px;
  }

  .headerhead .logo {
    margin-left: 10px;
  }

  .headerhead nav {
    flex-grow: 1;
    margin-left: 20px;
  }

  .headerhead ul {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .headerhead ul.active {
    display: flex;
  }

  .headerhead ul li {
    width: 100%;
  }

  .headerhead ul li a {
    padding: 10px;
    display: block;
    width: 100%;
  }
}

.klappbar>* {
  display: block;
}

.klappbar>button {
  background-color: red;
  font-weight: bold;
  color: white;
  float: right;
  margin-bottom: 10px;
  display: block;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
}

.action {
  background-color: #007BFF;
  color: white;
  transition: transform 0.3s ease;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
}

.action:hover {
  transform: scale(1.1);
  background-color: #0056b3;
}

.textcenter {
  text-align: center;
}

.clear {
  clear: both;
}

.lbild {
  background-color: red;
  /* Hintergrundfarbe Rot */
  color: white;
  font-weight: bold;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
}

.zurücksetzten {
  background-color: red;
  color: white;
  font-weight: bold;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
}

#handyx {
  display: none;
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 20px auto;
  max-width: 90%;
}

#handyx h1 {
  font-size: 20px;
  color: #007BFF;
  margin-bottom: 15px;
  font-weight: bold;
}

#handyx p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

@media screen and (max-width: 1000px) {
  #handyx {
    display: block !important;
  }

  .wrapper {
    display: none !important;
  }

  .steuerung {
    display: none;
  }

  .steuerungx2 {
    display: none;
  }
}

dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-height: auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  overflow: auto;
}

dialog button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
}

dialog button:hover {
  background-color: #0056b3;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-5px);
  }
}

.speichernicht {
  animation: shake 0.5s ease-in-out infinite;
  background-color: red !important;
  color: white !important;
}

#xxheader {
  overflow: visible !important;
}

#vors {
  border: 1px solid #ddd;
  background-color: #fff;
  padding: 10px;
}