body {
  margin: 0;
}

/* Style the form */
form {
  margin: 100px auto;
  padding: 50px;
  width: 25%;
  min-width: 300px;
}

/* Style the form content */
.form-content {
  overflow: hidden;
  clear: both;
}

/* Style the fieldsets */
fieldset {
  background-color: #eef;
}

/* Style the input fields */
datalist,
input,
legend,
optgroup,
option,
output,
select,
textarea {
  padding: 10px;
  font-size: 1em;
  font-family: "Inter", Tahoma, Geneva, Verdana, sans-serif;
  border: none;
  background-color: #e4f2f1;
  border-radius: 4px;
}

fieldset {
  padding: 20px;
  font-size: 1em;
  font-family: "Inter", Tahoma, Geneva, Verdana, sans-serif;
  border: none;
  background-color: white;
}

button {
  padding: 10px;
  font-size: 1em;
  font-family: "Inter", Tahoma, Geneva, Verdana, sans-serif;
  border: none;
  color: white;
  background-color: black;
}

/* Style the labels */
label {
  font-size: 1em;
  font-family: "Inter", Tahoma, Geneva, Verdana, sans-serif;
  padding-bottom: 5px;
}

.back-button {
  float: left;
  color: white;
  background-color: black;
}

.next-button {
  float: right;
  color: white;
  background-color: black;
}

.start-button {
  float: left;
  color: white;
  background-color: black;
  text-decoration: none;
}

/* Style the error messages */
.error-text {
  color: #f00;
  grid-column-start: 2;
}

.table {
  width: 100%;
}

footer {
  background-color: black;
  color: white;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  padding: 20px;
  position: fixed;
  bottom: 0;
  width: 98%;
}

.header {
  position: absolute;
  width: 90px;
  height: auto;
  padding: 10px;
  padding-left: 90%;
}

.padding {
  padding-top: 90px;
  padding-bottom: 90px;
}

.link {
  color: white;
}

.text-right {
  text-align: right;
}

.text-middle {
  text-align: center;
}

/*progress bar*/
.container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-container::before {
  content: "";
  background: black;
  position: absolute;
  top: 50%;
  left: -50px;
  transform: translateY(-50%);
  height: 4px;
  width: 130%;
}

.progress-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 30px;
  max-width: 100%;
  width: 350px;
}

.progress {
  background: black;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 4px;
  width: 0%;
  z-index: -1;
  transition: 0.4s ease;
}

.box {
  background: white;
  color: #999;
  border-radius: 15%;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid black;
  transition: 0.4s ease;
  transform: rotate(45deg);
}

.box.active {
  border-color: black;
  background: black;
}

.btn {
  background-color: black;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  border: 0;
  border-radius: 6px;
  padding: 8px 30px;
  margin: 5px;
  font-size: 14px;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus {
  outline: 0;
}

.btn:disabled {
  background-color: black;
  cursor: not-allowed;
}

/*field widths*/

input[type="number"],
input[type="range"],
input[type="text"],
input[type="date"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
}

/*startseite*/
.index-text {
  padding-left: 20px;
  font-family: "Inter", Tahoma, Geneva, Verdana, sans-serif;
}

.index-button {
  margin-left: 20px;
  margin-bottom: 40px;
  border-radius: 3px;
  text-decoration: none;
  color: white;
  font-family: "Inter", Tahoma, Geneva, Verdana, sans-serif;
}

.index.button:hover,
.index-button:active,
.index-button:focus {
  color: white;
}

.index-picture {
  float: right;
  width: 90%;
  height: auto;
}

.logo {
  width: 150px;
  height: auto;
  padding: 20px;
}

/*Slider Stylen*/
/* General styles for range input */
input[type="range"] {
  width: 100%;
  margin: 6.5px 0;
}

/* Specific styles for the track */
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #ddd;
  border-radius: 5px;
  border: 1px solid #aaa;
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #ddd;
  border-radius: 5px;
  border: 1px solid #aaa;
}

input[type="range"]::-ms-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #ddd;
  border-radius: 5px;
  border: 1px solid #aaa;
  /* Remove the default track appearance */
  color: transparent;
}

/* Specific styles for the thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 1px solid #aaa;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  margin-top: -8px; /* Centers the thumb with the track */
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-moz-range-thumb {
  border: 1px solid #aaa;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

input[type="range"]::-ms-thumb {
  border: 1px solid #aaa;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  margin-top: 0; /* Centers the thumb with the track */
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #ccc;
}

input[type="range"]:focus::-moz-range-track {
  background: #ccc;
}

input[type="range"]:focus::-ms-track {
  background: #ccc;
}
