:root {
  --color-main-a: #007399; /* Base color */
  --color-main-b: #339bb2; /* Lighter shade of base color */
  --color-main-c: #66b6cc; /* Even lighter shade of base color */
  --color-main-d: #d8f6ff; /* Very light shade of base color */
  --color-main-e: #d7e9ed; /* Almost white shade of base color */

  --color-sub-a: #1e1e1e;
  --color-sub-b: #464646;
  --color-sub-c: #aeaeae;
  --color-sub-d: #cccccc;
  --color-sub-e: #f5f5f5;
  --color-sub-f: #ffffff;
  --color-sub-g: #f1f1f1;

  --color-aux-a: #afb7c0;
  --color-aux-b: #dbe7f0;
}

h1,
h2 {
  color: var(--color-main-a);
}

select {
  background-image: url(../img/select-chevron_swav.png);
}

#content {
  background-image: url(../img/bg_content_swav.png);
}

@keyframes glow {
  0% {
    -webkit-box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0);
    -moz-box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0);
    box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0);
    background: #c0b4af;
  }
  100% {
    -webkit-box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0.8);
    -moz-box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0.8);
    box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0.8);
    background: #e9531d;
  }
}


@-webkit-keyframes glow {
  0% {
    -webkit-box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0);
    -moz-box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0);
    box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0);
    background: #c0b4af;
  }
  100% {
    -webkit-box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0.8);
    -moz-box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0.8);
    box-shadow: 0px 0px 5px 3px rgba(255, 137, 46, 0.8);
    background: #e9531d;
  }
}

.page-wrap {
  /* load background that is sticky to the right */
  background: url(../img/bg_wave_swav.png);
  background-repeat: no-repeat;
  background-position: top right -180px;
  background-size: 100%;
  position: relative;
  z-index: 1;
  padding: 20px;
  margin: 0 auto;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: var(--color-sub-a);
}

/* ≡≡≡ Responsive ≡≡≡ */

.left-wrap {
  max-width: 300px;
  display: block;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 300px;
  height: 100%;
  background: var(--color-main-d);
}

/* small logo top right */
.logo {
  position: absolute;
  top: 20px;
  right: 10%;
  width: 300px;
  height: 300px;
  /* white Glow so that it is visible on dark background */
  filter: drop-shadow(0 0 10px white);
}

/* AI generated CSS */

/* Container für Hauptinhalt */
.container {
  max-width: 600px;
  margin: 100px auto;
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  /* add the bg_form.png as background */
  background-image: url(../img/bg_form.png);
  background-size: cover;
  background-position: center;
}

.container-postal-teaser {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  margin: 20px auto;
  max-width: 600px;
}

.asterix.right-side {
  float: right;
}

.postal-certificates {
  display: block;
  margin: 20px auto;
}

/* Styling für die postalische Option */
.postal-option {
  text-align: center;
  margin: 20px 0;
}
.postal-option label {
  font-weight: bold;
}
/* Formulargestaltung */
form {
  margin-top: 20px;
}
form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 3px;
  opacity: 0.8;
}
form input[type="submit"] {
  padding: 10px 20px;
  background-color: var(--color-main-a);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin: 0 auto;
  display: block;
}
form input[type="submit"]:hover {
  background-color: var(--color-main-b);
}

/* Readonly felder will be greyed out */
form input[readonly] {
  background-color: #f1f1f1;
  color: #666;
}

#postalButton {
  padding: 10px 20px;
  background-color: var(--color-main-a);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin: 40px auto;

  display: block;
}
#postalButton:hover {
  background-color: var(--color-main-b);
}

/* AI generated CSS END */

/* Zusätzliche Stile für die Erfolgsseite (createcertificate) */
.certificate-links {
  margin: 30px 0;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.certificate-button {
  display: inline-block;
  padding: 12px 20px;
  background-color: var(--color-main-a);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin: 10px;
  transition: background-color 0.3s ease;
  text-align: center;
  min-width: 200px;
}

.certificate-button:hover {
  background-color: var(--color-main-b);
  text-decoration: none;
  color: white;
}

.certificate-info {
  background-color: var(--color-main-d);
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
  font-size: 0.9em;
  border-left: 4px solid var(--color-main-a);
}

.text-center {
  text-align: center;
}

@media (max-width: 1399.98px) {
}

@media (max-width: 1199.98px) {
}

@media (max-width: 991.98px) {
}

@media (max-width: 767.98px) {
}

@media (max-width: 575.98px) {
}
