body {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Höhe des Viewports */
    margin: 0;
    background-color: #f4f4f4; /* Optionaler Hintergrund */
    flex-direction: column; /* Zeilenweise Anordnung der Elemente */
}

h2 {
    margin: 0;
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px; /* Ein bisschen Abstand unter dem h2 */
}
 

form {
border: 0px solid #f1f1f1; 
}

input[type=text], input[type=email], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 5px;
}
 

button {
  background-color: #6183dd;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 5px;
}

button:hover {
  opacity: 0.8;
	color:black;
}

.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
}

img.avatar {
  width: 150px;
  border-radius: 50%;
}

.container {
  padding: 16px;
}

span.psw {
  float: right;
  padding-top: 16px;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
  
}

/* Allgemeines Styling für das Select-Element */
select {
    width: 100%; /* Volle Breite, damit es sich an die Containergröße anpasst */
    padding: 12px;
    font-size: 14px; /* Standard Schriftgröße */
    border: 1px solid #ccc; /* Leichter Rand */
    border-radius: 5px; /* Abgerundete Ecken */
    background-color: #fff; /* Weißer Hintergrund */
    color: #333; /* Dunkler Text */
    appearance: none; /* Entfernt die Standard-Dropdown-Pfeil */
    -webkit-appearance: none; /* Entfernt das Standard-Pfeil in Webkit-Browsern */
    -moz-appearance: none; /* Entfernt das Standard-Pfeil in Firefox */
    cursor: pointer; /* Zeigt die Hand als Cursor */
    transition: border-color 0.3s ease, background-color 0.3s ease; /* Sanfte Übergänge */
}

/* Styling für das Select-Element bei Hover und Focus */
select:hover {
    border-color: #5c9df0; /* Blauer Rand bei Hover */
}

select:focus {
    border-color: #5c9df0; /* Blauer Rand bei Focus */
    outline: none; /* Entfernt die standardmäßige Umrandung */
}

/* Pfeil für das Select (benutzerdefiniert) */
select::-ms-expand {
    display: none; /* Versteckt den Standard-Pfeil in Internet Explorer */
}

/* Styling für das Select-Element auf kleinen Bildschirmen */
@media (max-width: 768px) {
    select {
        padding: 14px;
        font-size: 14px; /* Etwas größere Schrift auf mobilen Geräten */
    }
}
