/*dieser Code wurde von Louisa mithilfe von ChatGPT erstellen */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  background-color: #dee0e2;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* Formularbox */
form {
  background-color: white;
  border-radius: 30px;
  max-width: 1000px;
  width: 100%;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

fieldset {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

legend {
  font-weight: bold;
  padding: 0 5px;
}

label {
  display: block;
  margin-top: 10px;
}

input,
select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  box-sizing: border-box;
}

input[type="radio"],
input[type="checkbox"],
input[type="range"] {
  width: auto;
}

input[type="submit"] {
  background-color: #0077a3;
  color: #dee0e2;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 20px;
}

input[type="submit"]:hover {
  background-color: #005f7a;
}

.wrapper {
  display: flex;
  max-width: 1000px;
  margin: 60px auto;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.image-side {
  flex: 1;
  background-image: url("../media/startseite.jpg");
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.content-side {
  flex: 1;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-side h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #000;
}

.content-side p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
}

.start-button {
  background-color: #9b89c0;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.button {
  background-color: #0477bf;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
  }

  .image-side {
    min-height: 250px;
  }
}
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: fit-content;
  margin-bottom: 20px;
}

.stepper .step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #a3cfff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 1;
  flex-shrink: 0;
  text-align: center;
}

.stepper .step.active {
  background-color: #0477bf;
}

.stepper .line {
  height: 4px;
  background-color: #0477bf;
  width: 40px;
  flex-shrink: 0;
}
.error {
  color: red;
}

footer {
  padding: 20px;
  background-color: white;
  text-align: center;
  font-size: 0.9em;
  color: black;
  border-top: 2px solid white;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;
}
footer a {
  color: #9b89c0;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}
.design-header {
  height: 20vh;
  min-height: 120px;
  max-height: 200px;
  background-image: url("../media/Gestaltungsmuster.png");
  background-repeat: no-repeat;
  background-size: cover;
}
/* responsivnes */
@media (max-width: 480px) {
  .content-side {
    padding: 20px;
  }

  .content-side h1 {
    font-size: 1.5rem;
  }

  .content-side p {
    font-size: 1rem;
  }

  .start-button,
  .button {
    font-size: 0.9rem;
    padding: 10px 20px;
    width: 100%;
  }

  form {
    padding: 20px;
  }

  fieldset {
    padding: 10px;
  }

  legend {
    font-size: 1rem;
  }

  input,
  select {
    font-size: 1rem;
  }
  .wrapper {
    margin: 20px;
    border-radius: 20px;
  }
  .start-button,
  .button {
    min-height: 48px;
    width: 100%;
    font-size: 1rem;
  }
}
/* Trennlinie Überprüfenseite */
.seperating-line {
  flex-grow: 1;
  height: 4px;
  background-color: #9b89c0;
  border-radius: 2px;
  max-width: 200px;
}
/* Link Bestätigenseite zurück auf Startseite */
.bts {
  color: #9b89c0;
}
/* Logo Footer */
.logo {
  background-image: url("../media/bluesea_logo.png");
  max-width: 70px;
}
