/* Design */
#banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000; /* Set the background color */
  height: 120px; /* Set the height of the banner */
  width: 100%; /* Make the banner span the entire width */
}
@media (orientation: portrait) {
#banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000; /* Set the background color */
  height: 120px; /* Set the height of the banner */
  width: 100%; /* Make the banner span the entire width */
  margin-bottom: 80px;
}}
#banner img {
  max-height: 60%; /* Ensure the logo doesn't exceed the banner's height */
  left: 30px;
  position: absolute;
  width: 140px;
}
#bannertext {
  display: flex;
  font-size: 120%;
  margin: 20px;
  font-weight: bold;
  font-family: "Baloo Thambi", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Schriftart */
  color: white;
  text-align: center; /* Center the text horizontally */
}
@media (orientation: portrait) {
#bannertext {
  display: flex;
  translate: 0px 110px;
  font-size: 120%;
  margin: 20px;
  font-weight: bold;
  font-family: "Baloo Thambi", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Schriftart */
  color: black;
  text-align: center; /* Center the text horizontally */
}}
#bannertext2 {
  display: flex;
  font-size: 200%;
  margin: 20px;
  font-weight: bold;
  font-family: "Baloo Thambi", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Schriftart */
  color: white;
  text-align: center; /* Center the text horizontally */
}
@media (orientation: portrait) {
#bannertext2 {
  display: flex;
  translate: 0px 155px;
  font-size: 200%;
  margin: 20px;
  font-weight: bold;
  font-family: "Baloo Thambi", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Schriftart */
  color: black;
  text-align: center; /* Center the text horizontally */
}}

#contact-button,
#aktion-button {
  background-color: #f20c90;
  color: white;
  border: none;
  padding: 8px 30px;
  right: 30px;
  position: absolute;
  text-decoration: none;
  border-radius: 5px;
  font-size: 17px;
}
@media (orientation: portrait) {
#aktion-button {
  padding: 8px 10px;
}}
#contact-button:hover {
  background-color: #f0750b;
  color: white;
}

#goback-button {
  background-color: #f0750b;
  color: white;
  border: none;
  padding: 8px 30px;
  top: 135px;
  left: 30px;
  position: absolute;
  text-decoration: none;
  border-radius: 5px;
  font-size: 17px;
}
#goback-button:hover {
  background-color: #f20c90;
  color: white;
}
#startseite,
#unternehmensseite {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14vh;
}
@media (orientation: portrait) {
#startseite,
#unternehmensseite{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
}}
#company-button,
.nameButton {
  background-color: #f0750b;
  color: Black;
  border: none;
  width: 300px;
  height: 15vh;
  margin: 20px;
  position: static;
  text-decoration: none;
  border-radius: 20px;
  font-size: 35px;
  font-weight: bold;
}
@media (orientation: portrait) {
#company-button,
.nameButton {
  background-color: #f0750b;
  color: Black;
  border: none;
  width: 35vh;
  height: 10vh;
  margin: 15px;
  position: static;
  text-decoration: none;
  border-radius: 20px;
  font-size: 30px;
}}
#company-button:hover {
  background-color: #f20c90;
  color: white;
}
#anfrage-button {
  background-color: #f20c90;
  color: white;
  border: none;
  padding: 8px 30px;
  right: 30px;
  position: absolute;
  text-decoration: none;
  border-radius: 5px;
  font-size: 17px;
}
#anfrage-button:hover {
  background-color: #f0750b;
  color: white;
}

body {
  font-family: Arial, sans-serif;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
}

bodypasswordpage {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  background-color: black;
}

.center-content {
  text-align: center; /* Text im Seiteninhalt zentrieren */
  padding: 40px; /* Abstand um den Seiteninhalt hinzufügen */
  margin-top: 15vh;
}

h1 {
  font-size: 40px;
  margin: 20px;
  font-family: "Baloo Thambi", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Schriftart */
}

h2 {
  color: white;
  font-size: 40px;
  margin: 20px;
  font-family: "Baloo Thambi", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Schriftart */
}

h3 {
  font-size: 25px;
  margin: 20px;
  font-family: "Baloo Thambi", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Schriftart */
}
h4 {
  font-size: 25px;
  margin: 20px;
  display: flex;
  flex-wrap: wrap;
  font-family: "Baloo Thambi", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Schriftart */
}
@media (orientation: portrait) {
h4 {
  font-size: 25px;
  margin-top: 40px;
  margin-bottom: -35px;
  display: flex;
  flex-wrap: wrap;
  font-family: "Baloo Thambi", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Schriftart */
}}

#products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.product {
  border: 2px solid #ccc;
  border-radius: 15px;
  padding: 20px;
  margin: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
}
@media (orientation: portrait) {
  .product {
    border: 2px solid #ccc;
    border-radius: 15px;
    padding: 20px;
    margin: 7px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
  }}

.product:hover {
  background-color:#ef8843;
}

/* CSS für Tabelle im Warenkorb */
table {
  width: 80%; /* Breite der Tabelle */
  border-collapse: collapse; /* Entfernt doppelte Ränder */
}
th, td {
  border: 1px solid #ccc; /* Ränder für Zellen */
  text-align: center; /* Textausrichtung */
  padding: 8px; /* Innenabstand */
}
@media (orientation: portrait) {
th, td {
  border: 1px solid #ccc; /* Ränder für Zellen */
  text-align: center; /* Textausrichtung */
  padding: 3px; /* Innenabstand */
}}

th {
  background-color: #f2f2f2; /* Hintergrundfarbe für Header */
}
/* Spaltenbreiten */
th:nth-child(1), td:nth-child(1) {
  width: 40%;
}
th:nth-child(2), td:nth-child(2) {
  width: 20%;
}
th:nth-child(3), td:nth-child(3) {
  width: 7.5%;
}
th:nth-child(4), td:nth-child(4) {
  width: 15%;
}
th:nth-child(5), td:nth-child(5) {
  width: 7.5%;
}


/* CSS für nebeneinander stehende Felder im Warenkorb */
/* CSS für das Formularfeld */
.form-field {
  display: flex;
  align-items: center;
  margin: 10px 0;
  margin-right: 10px;
}
@media (orientation: portrait) {
.form-field {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 5px 0;
  margin-right: 10px;
}}

.form-field label {
  font-weight: bold;
}

/* CSS für das Dropdown-Menü */
.styled-select select {
  background-color: #ffffff;
  border: 2px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  appearance: none; /* entfernt die Standard-Pfeile im Dropdown */
  -webkit-appearance: none;
  -moz-appearance: none;
}
@media (orientation: portrait) {
  .styled-select select {
    background-color: #ffffff;
    border: 2px solid #ccc;
    border-radius: 5px;
    margin: 10px;
    padding: 10px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    appearance: none; /* entfernt die Standard-Pfeile im Dropdown */
    -webkit-appearance: none;
    -moz-appearance: none;
  }}

.order-form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
@media (orientation: portrait) {
.order-form {
  display: grid;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 40px;
}}
.order-form label, .order-form input, .order-form button {
  margin: 0 10px;
}

button {
  background-color: #f0750b;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #f20c90;
  color: black;
}
#besteller {
  padding: 10px;
  margin: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
}
img {
  width: 100px;
  height: 100px;
  padding-bottom: 10px;
}

button[type='submit'] {
  background-color: #f20c90;
  color: white;
  font-size: 16px;
  border-radius: 5px;
}
button[type='submit']:hover {
  background-color: #f0750b;
  color: white;
} 

input[type="password"] {
  /* Hier kannst du die gewünschten Stilattribute hinzufügen */
  padding: 10px;
  margin: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
  /* Weitere Stilattribute nach Bedarf hinzufügen */
}

.error-message {
  color: red;
}

/* Stile für das Popup-Fenster */
#popup {
  display: none;
  position: static;
  color: black;
  font-family: "Baloo Thambi", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Schriftart */
  text-align: center;
}
@media (orientation: portrait) {
  #popup {
    display: none;
    position: static;
    font-size: 15px;
    color: black;
    font-family: "Baloo Thambi", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Schriftart */
    text-align: center;
  }}
#popup-content {
  background: #ef8843;
  height: 400px;
  width: 950px;
  flex-direction: column;
  border-radius: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (orientation: portrait) {
  #popup-content {
  background: #ef8843;
  height: 70%;
  min-height: 600px;
  width: 80%;
  flex-direction: column;
  border-radius: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}}

/* CSS-Stil für die Formulargruppen */
.form-group {
  margin-left: 20px;
  text-align: left;
}
@media (orientation: portrait) {
  .form-group {
    margin-left: 20px;
    text-align: left;
  }}

/* CSS-Stil für Labels */
.form-group label {
  display: inline;
  font-weight: bold;
  margin-bottom: 5px;
}

@media (orientation: portrait) {
  .form-group label {
    display: grid;
    font-weight: bold;
    margin-bottom: 5px;
  }}

input[type="tel"],
input[type="email"],
input[type='text'] {
  padding: 10px;
  margin: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
}
@media (orientation: portrait) {
input[type="tel"],
input[type="email"],
input[type='text'] {
  width: 80%;
  padding: 15px;
  margin: 5px;
  border: 2px solid #ccc;
  border-radius: 5px;
}}

/* CSS-Stil für den Abbrechen-Button */
#close-popup {
  background-color: #f20c90;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  position: absolute;
  bottom: 20px;
  left: 20px;
}
#close-popup:hover {
  background-color: #f0750b;
  color: white;
}

#submit_anfrage {
  background-color: #f20c90;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  position: absolute;
  bottom: 20px;
  right: 20px;
}
#submit_anfrage:hover {
  background-color: #f0750b;
  color: white;
}

/* CSS-Stil für das Textarea-Feld */
#anliegen {
  height: 25%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  position: absolute;
  bottom: 80px;
  left: 20px;
  right: 20px;
}
@media (orientation: portrait) {
#anliegen {
  height: 22%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  position: absolute;
  bottom: 80px;
  left: 20px;
  right: 20px;
}}

.productBox {
  border: 2px solid #ccc;
  border-radius: 15px;
  padding: 20px;
  margin: 10px;
  margin-top: 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  position: relative;
  cursor: pointer;
  transition: filter 0.3s;
}
@media (orientation: portrait) {
.productBox {
  border: 2px solid #ccc;
  border-radius: 15px;
  padding: 20px;
  top: 50px;
  margin: 7px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
}}

.productBox img {
  max-width: 100px;
  display: block;
  margin: 0 auto;
}

.productBox p {
  text-align: center;
  margin-top: 0px;
}
#totalPrice {
  font-weight: bold;
  margin-top: 80px;
}
.productBox.selected {
  filter: blur(3px);
}

.productBox.selected::after {
  content: '✓';
  font-size: 150px;
  color: #f20c90;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

#kassiertButton {
  background-color: #f0750b;
  color: white;
  width: 100%;
  padding: 15px 40px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 17px;
  margin-bottom: 40px; 
}

#startseite,
#unternehmensseite,
#bestellungsdetailseite,
#donutOverview {
display: flex;
flex-wrap: wrap;
justify-content: center;
}