body {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

header,
footer {
  width: 100%;
}

.form-container {
  flex: 1;
  width: 100%;
  max-width: 800px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

form {
  width: 100%; /* Make the form take the full width of its container */
  justify-content: center;
}

/* Style the form content */
.form-content {
  overflow: hidden;
  clear: both;
}

/* Style the labels */
label {
  font-size: 1em;
}

/* error messages */
.error-text {
  color: rgb(0, 92, 204);
  grid-column-start: 2;
}

/* footer */
footer {
  background-color: #bbddf2;
  padding-left: 2%;
}
a {
  color: black;
  text-decoration: none;
  margin-top: none;
}
.column {
  float: left;
  width: 50%;
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* header */
header {
  background-color: #bbddf2;
}

/* Style the hamburger menu */
.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #bbddf2;
  height: 50px;
  padding: 1em;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: rgb(0, 0, 0);
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: "";
  margin-top: -8px;
}

.menu-button::after {
  content: "";
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(0, 0, 0, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

/* Style the input fields */
button,
datalist,
fieldset,
input,
legend,
optgroup,
option,
output,
select,
textarea {
  display: inline-block;
  padding: 10px 20px;
  background-color: #d8ebf2; /* Default button color */
  color: black;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

label,
input,
select,
textarea {
  width: 100%;
}

input[type="radio"] {
  width: 2%;
}

input[type="submit"] {
  width: 35%;
  text-align: center;
}

/* hover input fields */
button:hover,
datalist:hover,
fieldset:hover,
input:hover,
legend:hover,
optgroup:hover,
option:hover,
output:hover,
select:hover,
textarea:hover {
  background-color: #bbddf2;
}

/* Bild index */
body,
html {
  box-sizing: border-box;
}

.container {
  position: relative;
  text-align: center;
}

.background-image {
  width: 100%;
  height: 45vh;
  object-fit: cover;
}

.centered-text {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

/* consideration */
.checkicon {
  width: 30%;
  height: auto;
}

.grouppicture {
  width: 100%;
  height: auto;
}

/* Fortschritt */
.progress-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step .step-icon {
  width: 30px;
  height: 30px;
  z-index: 1;
  background-color: #d8ebf2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.step img {
  width: 100%;
  height: 100%;
}

.progress-line-container {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: black;
  z-index: 0;
}

.step.active .step-icon {
  width: 50px;
  height: 50px;
  background-color: #bbddf2;
}

.range {
  text-align: left;
}

/* h1 */
h1 {
  font-size: 50px;
  text-transform: uppercase;
}

/* desktop */
@media (min-width: 1025px) {
  input[type="submit"] {
    width: 20%;
  }
}

/* Eingabegruppenstil für Desktop */
.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

/* Eingabegruppenstil für Label */
.input-group label {
  width: 25%; /* Breite des Labels auf Desktop */
  margin-right: 10px; /* Abstand zwischen Label und Input */
}

/* Eingabegruppenstil für Input */
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%; /* Breite des Input-Feldes auf Desktop */
}

/* Media Query für kleinere Bildschirme */
@media (max-width: 700px) {
  .input-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .input-group label {
    width: 100%;
    margin-top: 15px;
  }

  .input-group input,
  .input-group select,
  .input-group textarea {
    width: 100%;
  }
  body {
    margin-left: 10px;
  }

  header,
  footer {
    width: 108%;
  }
}
