body {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;

  color: #15162f;
  margin: 0;
  padding: 0;
}

.oben {
  background-color: #0788bd;
  padding: 20px;
  border-radius: 0;
  margin: 0;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 150px;
  margin: 20px 0;
  background: none;
  padding: 0;
}

.form {
  display: flex;
  justify-content: center;
  max-width: 85%;
  margin: 0 auto;
  padding: 0;
  background: none;
}

.formular1 {
  background-color: #c5e1ee;
  border-radius: 10px;
  border: none;
  padding: 20px;
  width: 100%;
  font-size: 16 px;
}

h1 {
  background-color: #0788bd;
  color: white;
  font-weight: 350;
  text-align: center;
  margin: 0;
}

.bluesea-logo {
  width: 250px;
  height: auto;
  position: static;
}

/* Gemeinsame Styles für Formular-Inputs */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="tel"],
input[type="email"],
select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #15162f;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus {
  background-color: lightblue;
  outline: none;
  border-color: #0788bd;
}

input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1);
}

input[type="submit"] {
  width: 100%;
  background-color: #866aac;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #c2b4d6;
}

.error-messages {
  background-color: #ffdddd;
  border: 1px solid #ffaaaa;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 15px;
}

.success-message {
  background-color: #ddffdd;
  border: 1px solid #aaffaa;
  border-radius: 4px;
  padding: 10px;
  color: #4f8a10;
  text-align: center;
}

.success-message a {
  color: #0788bd;
  text-decoration: none;
}

.success-message a:hover {
  text-decoration: underline;
}

.footer {
  background-color: #0788bd;
  padding: 20px;
  border-radius: 0;
}

.footer-content {
  background-color: #0788bd;
  color: white;
  padding: 5px;
}

a {
  color: #f3c000;
}

.formular1 legend {
  color: #0788bd;
  padding: 10px 5px;
  font-size: 1.4em;
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
  font-weight: 500;
}

label[for="interesse"] {
  display: block;
  margin-top: 30px;
  margin-bottom: 8px;
}

textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  font-family: "Poppins", sans-serif;
}

textarea:focus {
  background-color: lightblue;
  outline: none;
  border-color: #0788bd;
}

.range-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 10px 0 25px 0;
}

.range-label {
  color: #0788bd;
  font-size: 16px;
}

input[type="range"] {
  flex: 1;
  height: 8px;
  border-radius: 5px;
  background: #ffffff;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #ccc;
}

input[type="range"]::-webkit-slider-track {
  width: 100%;
  height: 8px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* mit Hilfe von ChatGPT erstellt */
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* mit Hilfe von ChatGPT erstellt */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0788bd;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  margin-top: -6px;
}

/* mit Hilfe von ChatGPT erstellt */
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0788bd;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]:hover::-webkit-slider-thumb {
  background: #0670a0;
}

input[type="range"]:hover::-moz-range-thumb {
  background: #0670a0;
}

.bluesea-wellen {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  padding: 0;
  background: none;
}

.bluesea-wellen .bluesea-logo {
  width: 100%;
  height: auto;
  margin-top: -20px;
}


/*
@media (max-width: 768px) {
  .logo {
    height: 100px;
    margin: 10px 0;
  }

  .bluesea-logo {
    width: 150px;
  }

  .form {
    flex-direction: column;
    align-items: center;
    max-width: 95%;
  }

  .formular1 {
    padding: 15px;
    font-size: 15px;
  }

  h1 {
    font-size: 1.5em;
    padding: 10px;
  }

  .range-container {
    flex-direction: column;
    align-items: stretch;
  }

  .range-label {
    text-align: center;
    font-size: 14px;
  }

  input[type="submit"] {
    font-size: 16px;
    padding: 12px;
  }

  .footer {
    padding: 15px;
    text-align: center;
  }

  .footer-content {
    font-size: 14px;
  }

  textarea {
    font-size: 15px;
  }

  .formular1 legend {
    font-size: 1.2em;
    text-align: center;
  }

  label[for="interesse"] {
    margin-top: 20px;
    margin-bottom: 6px;
  }

  .bluesea-wellen .bluesea-logo {
    width: 80%;
    margin-top: -10px;
  }
}
