*:focus {
  outline: none;
}

h1 {
  text-align: center;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 1px 1px #000;
  margin-bottom: 120px;
}

body, html {
    height: 100%;
    margin: 0;
}

.bg-image {
    background-size: cover;
    background-position: center;
    height: 100%;
}

.form-container {
  max-width: 400px;
  margin: auto;
  position: relative;
  padding-top: 10%;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#assist {
  display: flex;
}

#assist img {
  border-radius: 100%;
  width: 64px;
  height: 64px;
}

#bubble {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: #ebeef4;
  font-size: .90rem;
  line-height: 1.2;
  margin-left: 15px;
  width: 100%;
}

#bubble:before {
  content: "";
  position: absolute;
  top: calc(100% - 0.5rem);
  left: -0.5rem;
  width: 0;
  height: 0;
  border-right: 0.5rem solid transparent;
  border-bottom: 0.5rem solid #ebeef4;
  border-left: 0.5rem solid transparent;
}

.roundbtn {
  display: block;
  border-radius: 15px;
  font-size: 1rem;
  letter-spacing: 0px;
  padding: 0.8rem 0.2rem;
  border: 0px;
  width: 100%;
  margin: 10px 0px;
}

.step {
  margin-top: 30px;
}

.d-none {
  display: none;
}

.flex {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
}

input {
  width: 100%;
  padding: 10px;
  border-radius: 0 10px 10px 0;
  border: 0px;
}

select {
  padding: 8px;
  border: none;
  border-radius: 0;
  font-size: 12px;
  height: 44px;
}

select#dayDropdown {
  width: 30%;
}

select#monthDropdown {
  width: 40%;
}

select#yearDropdown{
  width: 30%;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.flex button {
  width: 50%;
  margin: 0px 0px 0px 10px;
}

.flex i, .flex svg {
  font-size: 22px;
  padding: 11px;
  border-radius: 10px 0 0 10px;
  background: #e3e3e3;
}


input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 16px;
  line-height: 20px;
  color: white;
}

input[type="checkbox"] + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border: 2px solid #007bff;
  background-color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s, border-color 0.3s;
}

input[type="checkbox"]:checked + label:before {
  background-color: #007bff;
}

input[type="checkbox"]:checked + label:after {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #004f9d;
  border-radius: 2px;
  transition: background-color 0.3s;
}

button {
  background-color: #<?= $gbtncol ?>;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 150%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
  transition: all 1s ease;
  z-index: 0;
}

button:hover::after {
  left: 150%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0 0 0 / 75%);
}

.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ufooter {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

.ufooter li {
  margin: 0;
}


.ufooter li a {
  display: block;
  padding: 10px;
  text-decoration: none;
}

footer {
  flex-shrink: 0;
  padding: 1% 10%;
  font-size: 12px;
  background: #0f0f0f;
  color: white;
  text-align: center;
}

footer img {
  width: 125px;
  margin: 0 auto;
}

footer a {
  color: white;
  border-bottom: 1px solid transparent;
}

footer a:hover {
  color: white;
  border-bottom: 1px dotted white;
}

@media (max-width: 767px) {
  .modal h2 {
      font-size: 1.2rem;
  }

  footer {
    padding: 15px;
  }

  .form-container {
    max-width: 95%;
  }

  .bg-image, .bg-image::before {
    animation: parallax 50s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  }
}

@keyframes parallax {
  0% {
    background-position: 0 0; /* Startposition (links) */
  }
  50% {
    background-position: 100% 0; /* Endposition (rechts) */
  }
  100% {
    background-position: 0 0; /* Zurück zur Startposition (links) */
  }
}
