/* CSS-Stile für alle Formular */


body {
	
  font-family: Arial;
  background-color: white;
  
}



h1, h3, h5 {
  text-align: center;
  color: grey;
}



/*div class container */
.container {
    position: relative;
	background-color: grey;
	display: grid;
	grid-template-columns: 2fr 1fr; /* Drei Spalten: 1 Anteil, 2 Anteile, 1 Anteil */
	gap: 10px; /* Optional: Abstand zwischen den Spalten */
	justify-content: center;
	padding-left: 20px;
    padding-right: 20px;
	padding-top: 20px;
	margin-left: 20%;
	margin-right: 20%;
	
}


/* Media Query für noch kleinere Bildschirme (z.B., bis 480px Breite) */
@media screen and (max-width: 720px) {
    .container {
        padding-left: 5px;  /* Noch weiter reduziertes Padding */
        padding-right: 5px; /* Noch weiter reduziertes Padding */
        padding-top: 20px;    /* Noch weiter reduziertes Padding */
        margin-left: 0;     /* Keine Margins */
        margin-right: 0;    /* Keine Margins */
    }
}

/* Media Query für noch kleinere Bildschirme auf klick */
.container.mobile-view {
        padding-left: 1px;
        padding-right: 1px;
        padding-top: 20px;
        margin-left: 0;
        margin-right: 0;
    }


/*
form {
	max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
	border-color: white;
	background-color: darkgrey;
    border-radius: 5px;
	margin-bottom: 150px; } Abstand zum Bild + Bildhöhe */ 



/*Formular Button*/
button[type="submit"] {
  background-color: lightblue; /* Hintergrundfarbe */
  border: 1px solid #ccc; /* Rahmen */
  border-color: white; /* Rahmenfarbe */
  border-radius: 8px; /* Abgerundete Ecken */
  color: black; /* Schriftfarbe */
  padding: 15px 32px; /* Innenabstand */
  text-align: center; /* Text zentrieren */
  text-decoration: none; /* Keine Unterstreichung */
  display: inline-block; /* Als Inline-Block anzeigen */
  font-size: 16px; /* Schriftgröße */
  margin: 4px 2px; /* Außenabstand */
  cursor: pointer; /* Cursor als Zeiger */
  position: center;
  display: block; /* wird zum Block und nimmt ganze Breite ein */
  margin: 0 auto; /*automatische Berechnung horizontaler Ränder, um btn in der Mitte */
}

button {
  background-color: lightblue; /* Hintergrundfarbe */
  border: 1px solid #ccc; /* Rahmen */
  border-color: white; /* Rahmenfarbe */
  border-radius: 8px; /* Abgerundete Ecken */
  color: black; /* Schriftfarbe */
  padding: 15px 32px; /* Innenabstand */
  text-align: center; /* Text zentrieren */
  text-decoration: none; /* Keine Unterstreichung */
  display: inline-block; /* Als Inline-Block anzeigen */
  font-size: 16px; /* Schriftgröße */
  margin: 4px 2px; /* Außenabstand */
  cursor: pointer; /* Cursor als Zeiger */
  position: center;
  display: block; /* wird zum Block und nimmt ganze Breite ein */
  margin: 0 auto; /*automatische Berechnung horizontaler Ränder, um btn in der Mitte */
}


/*
.spalte1 {
	margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
	border-color: white;
	background-color: darkgrey;
    border-radius: 5px;
	margin-bottom: 150px;  Abstand zum Bild + Bildhöhe */ 
}


.spalte2 {
	max-width: 700px;
	margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
	border-color: white;
	background-color: darkgrey;
    border-radius: 5px;
	margin-bottom: 150px; /* Abstand zum Bild + Bildhöhe */ 
}

/*
.spalte3 {
	position: fixed;
	max-width: 500px;
	margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
	border-color: white;
	background-color: darkgrey;
    border-radius: 5px;
	margin-bottom: 150px;   }*/


.spalte3 {
    position: sticky;
    top: 20px;
	right: 20px;
    max-width: 500px;
	max-height: 400px;
    padding: 20px;
    border: 1px solid #ccc;
    border-color: white;
    background-color: darkgrey;
    border-radius: 5px;
    margin-bottom: 150px;
	z-index: 1000;
}


/* einzelner Fragebereich*/
.element {
	padding: 15px;
	border: 1px solid #ccc;
	border-color: white;
	border-radius: 5px;
	background-color: darkgrey;
	  	
}

/* einzelner Hilfetext*/
.elementhilfetext {
	padding: 15px;
	border: 2px solid #ccc;
	border-color: lightblue;
	border-radius: 5px;
	background-color: darkgrey;
	color: darkslategrey;
	  	
}


.zahlbox {
	padding: 5px;
	border: 1px solid #ccc;
	border-color: white;
	border-radius: 5px;
	background-color: darkgrey;
	margin-left: 85%;
	text-align: center;
	color: #8B0000;
}


.zahlboxges {
	padding-top: 3px;
	padding-bottom: 3px;
	text-align: center;
	border: 1px solid #ccc;
	border-color: white;
	border-radius: 5px;
	color: darkslategrey;
}



label {
  display: block;
  margin-bottom: 5px;
  color: darkslategrey;
  }
  
 

input[type="text"],
input[type="date"],
 {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-color: white;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: lightblue;
  
}

input[type="checkbox"],
{
	transform: scale(1.5);
	accent-color: lightblue;
}

/*p klasse textfragen im fragetext, direktes umfeld an den html elementen */
.textfragen {
	text-align: left;
    padding: 5px;
    font-size: 16px;
    line-height: 1.5;
	border: 1px solid #ccc;
	border-color: white;
	border-radius: 8px;
	/*box-sizing: border-box;*/
	width: 70px;
    background-color: lightblue;
}


/*wenn im fragetext listenelemente sind*/
ul li {
  margin-bottom: 10px; /* Fügt 10px Abstand unter jedem Listenelement hinzu */
}



/*Für Select-Felder */
.klasse_auswahl {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-color: white;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: lightblue;
  font-size: 16px;
  font-weight: bold;
  
}

textarea {
  resize: none;  /*Größenänderung durch Ziehen verhindern */
  width: 95%; /* Breite auf 50% des Elternelements festlegen */
  height: auto; /* Höhe auf 200 Pixel festlegen */
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
  font-weight: bold; 
  background-color:lightblue;  
  border: none;
  font-size: 16px;
  font-family: arial;
}


/*Möglichkeit der KUndentexteingabe*/
.textareal {
	text-align: left;
    padding: 5px;
    font-size: 16px;
    line-height: 1.5;
	border: 1px solid #ccc;
	border-color: white;
	border-radius: 8px;
	box-sizing: border-box;
	/*width: 70px;*/
    background-color: lightblue;
}

/*
.Bild-oben-zentriert {
    position: relative;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%); 
    width: 180px; 
    height: auto; 
	} */


/*Bild in spalte3 im hilfebereich*/
picture img{
  max-width: 100%;
  height: auto;
  object-fit: contain;
} 



