
body {
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
    background-image: url("../images/bg.jpg"); 
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

header {
    width: 80%;
    max-width: 840px;
    margin: 20px auto;
    background: #4A4A4A;
    color: #fff;
    padding: 8px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

header img {
    max-width: 200px;
}

main {
    width: 80%;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 3px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


/* Stil für das übergeordnete Element, um den Button zu zentrieren */
.container {
  text-align: center; /* Zentriert den Inhalt */
}

form {
    display: flex;
    flex-direction: column;
}

form label, 
form select, 
form input[type="submit"] {
    margin-bottom: 18px;
    
}

form input[type="text"], 
form input[type="email"]  {
     font-size: 20px;
     padding: 2px;
     border: 3px solid #ddd;
}

form label {
    margin-bottom: 5px;
    /*font-weight: bold; @@@@@*/
}

form select, 
form input[type="submit"] {
    font-size: 20px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form input[type="submit"]:hover {
    background: #555;
}

form button[type="submit"] {
    background: #4A4A4A;
    color: #fff;
    cursor: pointer;
}

form button[type="submit"]:hover {
    background: #0056b3;
}

#result {
    font-family: Arial, sans-serif;
    font-size: 18px;
    /*font-weight: bold; @@@*/
    font-color: #000000;	
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background: #e7f4e4;
    border: 2px solid #b2d8b2;
}

footer {
    width: 80%;
    max-width: 840px;
    margin: 20px auto;
    background: #4A4A4A;
    color: #fff;
    padding: 8px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Neuer CSS-Stil für den Zurück-Button */
.back-button {
  background-color: #4A4A4A; /* Blaue Farbe */
  left: 20px;
  color: #fff; /* Weiße Textfarbe */
  padding: 10px 20px; /* Platz um den Text */
  border: none; /* Kein Rand */
  border-radius: 10px; /* Runde Ecken */
  cursor: pointer; /* Zeiger beim Überfahren des Buttons */
  margin-bottom: 20px; /* Abstand vom vorherigen Element */
  width: 100px; /* Breite des Buttons */
  text-align: center; /* Zentrierte Ausrichtung des Textes */
  text-decoration: none; /* Keine Unterstreichung */
  display: inline-block; /* Als Blockelement behandeln */
  font-weight: bold
}

.back-button:hover {
  background-color: #0056b3; /* Dunklere blaue Farbe beim Überfahren */
}

/* Neuer CSS-Stil für den Berechnen-Button */
calc-button {
  font-family: Arial; /* Schrifttyp */
  font-size: 18px; /* Schriftgroesse */
  font-weight: bold; /* Schriftstaerke */
  background-color: #4A4A4A; /* Blaue Farbe */
  vertical-align: middle;
  left: 20px;
  color: #fff; /* Weiße Textfarbe */
  padding: 10px 20px; /* Platz um den Text */
  border: none; /* Kein Rand */
  border-radius: 10px; /* Runde Ecken */
  cursor: pointer; /* Zeiger beim Überfahren des Buttons */
  margin-bottom: 20px; /* Abstand vom vorherigen Element */
  margin-top: 10px; /* Abstand zum nachfolgenden Element */
  width: 100%; /* Breite des Buttons */
  height: 65px; /* Höhe des Buttons */
  text-align: center; /* Zentrierte Ausrichtung des Textes */
  text-decoration: none; /* Keine Unterstreichung */
  display: inline-block; /* Als Blockelement behandeln */
}

calc-button:hover {
  background-color: #0056b3; /* Dunklere blaue Farbe beim Überfahren */
}


/* Neuer CSS-Stil für den Standard-Button */
button {
  font-family: Arial; /* Schrifttyp */
  font-size: 18px; /* Schriftgroesse */
  font-weight: normal;
  background-color: #4A4A4A; /* Blaue Farbe */
  left: 20px; 
  color: #fff; /* Weiße Textfarbe */
  padding: 10px 20px; /* Platz um den Text */
  border: none; /* Kein Rand */
  border-radius: 10px; /* Runde Ecken */
  cursor: pointer; /* Zeiger beim Überfahren des Buttons */
  margin-bottom: 20px; /* Abstand vom vorherigen Element */
  margin-top: 10px; /* Abstand zum nachfolgenden Element */
  width: 100%; /* Breite des Buttons */
  height: 65px; /* Höhe des Buttons */
  text-align: center; /* Zentrierte Ausrichtung des Textes */
  text-decoration: none; /* Keine Unterstreichung */
  display: inline-block; /* Als Blockelement behandeln */
}

button:hover {
  background-color: #0056b3; /* Dunklere blaue Farbe beim Überfahren */
}