/*Farbdefinitionen*/
:root {
  --green: #349485;
  --darkgreen: #167667;
  --gray: #b1b1b1;
  --darkgray: #4f5b59;
  --bs-body-color: white;
  --bs-primary: #349485;
  --bs-primary-bg-subtle: #167667;
  --bs-primary-border-subtle: #167667;
}

/*Allgemeine Definitionen*/
html,
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

h1 {
  text-transform: uppercase;
  font-size: 25px;
}

p {
  font-weight: 300;
  font-size: 20px;
  line-height: 130%;
  margin: 0;
}

.form-flex-wrapper .form-wrapper.data-display p {
  margin-bottom: 15px;
  color: gray;
  color: var(--green);
}

.form-flex-wrapper .form-wrapper.data-display p strong {
  font-weight: 600;
  margin-bottom: 10px;
  color: gray;
}

footer p {
  font-size: 15px;
}

.box-content {
  padding: 33px 10vw;
}

input {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  padding: 6px 15px;
  font-size: 20px;
  border-radius: 8px;
  border: 1px solid gray;
}

label {
  color: var(--green);
  margin-bottom: 10px;
  display: inline-block;
  border-radius: 3px;
  font-size: 20px;
  font-weight: 300;
}

label[for="tätigkeit1"] {
  color: gray;
}

label[for="tätigkeit2"] {
  color: gray;
}

label[for="tätigkeit3"] {
  color: gray;
}

/*Bilder*/
.img-dog {
  width: 100vw;
  height: 35vh;
  background-image: url("../media/dog.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bestaetigung {
  width: 100vw;
  height: 35vh;
  background-image: url("../media/hamster_edited.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.picture-box {
  display: none;
}

/*Logo*/
.logo {
  height: 13vh;
  margin-bottom: 3vh;
}

.logo-header {
  height: 5vh;
}

.logo-header-without-text {
  height: 7vh;
}

/*Header Formular-Seiten*/
.header {
  position: relative;
  top: 0%;
  right: 0%;
  left: 0%;
  display: flex;
  justify-content: center;
  padding-top: 1vh;
  padding-bottom: 1vh;
  background-color: var(--green);
}

/*Test Start- und Schlusseiten*/
.text-wrapper {
  background-color: var(--green);
  color: white;
  padding: 4vh 4vh 6vh 4vh;
}

/*Inhalt Formular*/
.form-flex-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  overflow: hidden;
  /*max-width: 900px;*/
}

.form-wrapper {
  width: 100vw;
  padding-right: 33px;
}

/*Button*/
.button {
  background-color: var(--green);
  color: white;
  padding: 0.5em 1em 0.5em 1em;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all;
  transition-duration: 200ms;
}

.button:hover {
  background-color: var(--darkgreen);
}

.button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8vh;
}

/*Footer*/
footer {
  bottom: 8px;
  margin-bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--gray);
  margin-top: 8px;
}

.special-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 10px;
  z-index: 1000;
}

/* Toggle Switch Style */
.form-check-input {
  position: absolute;
  opacity: 0;
}

.form-check-label {
  display: inline-block;
  width: 60px;
  height: 34px;
  background-color: gainsboro;
  border-radius: 17px; /* Make it round */
  position: relative;
  cursor: pointer;
}

.form-check-input:checked + .form-check-label {
  background-color: var(--green); /* Green color for checked state */
}

.form-check-label::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%; /* Round slider */
  background-color: white;
  top: 4px;
  left: 4px;
}

.form-check-input:checked + .form-check-label::after {
  left: 30px; /* Adjust as necessary based on your design */
}

/* Slieder */
.custom-slider {
  -webkit-appearance: none; /* Remove default appearance for cross-browser compatibility */
  appearance: none;
  width: 20%; /* Full width */
  height: 10px; /* Height of the slider track */
  background: gainsboro;
  border: none;
  outline: none; /* Remove outline on focus */
  border-radius: 5px; /* Rounded corners for the track */
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Remove default thumb appearance */
  appearance: none;
  width: 20px; /* Width of the thumb */
  height: 20px; /* Height of the thumb */
  background: var(--green); /* Thumb color */
  border-radius: 50%; /* Circular thumb */
  cursor: pointer; /* Change cursor to pointer */
}

.custom-slider::-moz-range-thumb {
  /* Firefox */
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  cursor: pointer;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/*Fortschrittsanzeige*/
.container .steps {
  display: flex;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .steps .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background-color: #fff;
  border-radius: 20px;
  color: var(--gray);
  font-size: 10px;
  font-weight: 500;
}

.container .steps .circle.active {
  border-color: #fff;
  color: var(--green);
}

.container .steps .progress-bar {
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--gray);
  z-index: -1;
  transition: all 0.3s ease;
}

.green-icon {
  color: var(--green); /* Or use your desired green color code */
}

.circle-link {
  /* Add any styling you want for the clickable circle area */
  display: inline-block;
  text-decoration: none;
}

.circle-link:hover {
  /* Add a hover effect (optional) */
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
}

/* Style the icon when active */
.circle.icon-active i {
  color: var(--green); /* Or use your desired green color code */
}

i.ph.ph-dog {
  margin-right: 3vw;
}

i.ph.ph-house {
  margin-right: 3vw;
  margin-left: 3vw;
}

i.ph.ph-user {
  margin-right: 3vw;
  margin-left: 3vw;
}

i.ph.ph-check-circle {
  margin-left: 3vw;
}

.steps a {
  text-decoration: none;
}

.steps {
  margin-bottom: 30px;
}

.container .steps .progress-bar .indicator .one {
  position: absolute;
  height: 100%;
  width: 33.33%;
  background-color: var(--green);
  transition: all 0.3s ease;
}

.container .steps .progress-bar .indicator .two {
  position: absolute;
  height: 100%;
  width: 66.66%;
  background-color: var(--green);
  transition: all 0.3s ease;
}

.container .steps .progress-bar .indicator .three {
  position: absolute;
  height: 100%;
  width: 99.99%;
  background-color: var(--green);
  transition: all 0.3s ease;
}

.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.container i {
  font-size: 40px;
}

.container button i {
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 32px;
}

.container .buttons button {
  border: none;
  outline: none;
  color: #fff;
  background-color: var(--green);
  border-radius: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
}

button a {
  text-decoration: none;
}

.container .buttons button a i {
  font-size: 25px;
  font-weight: 500;
  color: white;
}

.container .buttons button:active {
  transform: scale(0.97);
}

.container .buttons button:disabled {
  background-color: var(--gray);
  cursor: not-allowed;
}

/* Star Rating */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  font-size: 40px;
  letter-spacing: 14px;
}

.star-rating input[type="radio"] {
  display: none;
}

.star-rating label {
  cursor: pointer;
  color: var(--gray);
  font-size: 40px;
}

.star-rating input[type="radio"]:checked ~ label,
.star-rating input[type="radio"]:checked ~ label ~ label {
  color: var(--green);
}

.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--green);
}

label.no-margin-bottom {
  margin-bottom: 0; /* Kein Abstand für Labels mit dieser Klasse */
}

.form-pair {
  margin-bottom: 30px;
}

.custom-form-pair {
  margin-bottom: 0px;
}

.container .buttons .button-long {
  width: 220px !important;
  border-radius: 8px;
}

/* Style the new rectangular submit button */
.buttons .button[type="submit"] {
  background-color: var(--green);
  color: white;
  padding: 0.5rem 1.5rem 0.5rem 1.5rem; /* Adjust padding as needed */
  text-decoration: none;
  border-radius: 5px; /* Adjust border-radius for rounded corners */
  border: none; /* Remove default button border */
  cursor: pointer;
  transition: all 0.2s ease; /* Optional: Add a transition effect */
}

.buttons .button[type="submit"]:hover {
  background-color: var(--darkgreen); /* Darker green on hover */
}

/*Footer bei hohem Bildschrim*/
@media (min-height: 950px) {
  footer {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 100%;
  }
}

/*Neues Layout grosser Bildschirm*/
@media (min-width: 1090px) {
  body {
    display: flex;
    flex-direction: column;
  }

  .header {
    display: block;
    text-align: center;
  }

  .text-wrapper-content {
    margin: 0 30vw;
  }

  .box {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
    background-color: #ffffff;
    margin: 100px 250px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    z-index: 10;
  }

  .picture-box {
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .picture-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .box-content {
    width: 60%;
    padding: 30px 5%;
    overflow-y: auto;
    overflow-x: hidden;
  }

  i.ph.ph-dog {
    margin-right: 1vw;
  }

  i.ph.ph-house {
    margin-right: 1vw;
    margin-left: 1vw;
  }

  i.ph.ph-user {
    margin-right: 1vw;
    margin-left: 1vw;
  }

  i.ph.ph-check-circle {
    margin-left: 1vw;
  }

  .container .buttons,
  .buttons {
    position: relative;
    justify-content: center;
  }

  footer {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--gray);
  }

  input {
    max-width: 50%;
  }

  body .box-content .form-wrapper {
    overflow-y: scroll;
  }
}

.form-flex-wrapper .form-wrapper.data-display p {
  margin-bottom: 15px;
  color: gray;
  color: var(--green);
}

.form-flex-wrapper .form-wrapper.data-display p strong {
  font-weight: 600;
  margin-bottom: 10px;
  color: gray;
}

input:focus {
  outline: none !important;
  border: 1px solid --darkgray;
}

input::-webkit-calendar-picker-indicator {
  filter: invert(34%) sepia(0%) saturate(0%) hue-rotate(185deg) brightness(84%)
    contrast(60%);
}

#visitDate {
  color: gray;
}

label[for="tätigkeit1"] {
  color: gray;
}

label[for="tätigkeit2"] {
  color: gray;
}

label[for="tätigkeit3"] {
  color: gray;
}

/* Grundelemente ändern */
#tätigkeit1,
#tätigkeit2,
#tätigkeit3 {
  accent-color: var(--green);
}

#quality1,
#quality2,
#quality3,
#quality4,
#quality5 {
  accent-color: var(--green);
}

@media (min-width: 800px) {
  .img-dog {
    background-position: center -100px;
    background-size: cover;
  }
}

@media (min-width: 1200px) {
  .img-dog {
    background-position: center -120px;
    background-size: cover;
  }
  .bestaetigung {
    background-position: center -120px;
    background-size: cover;
  }
}

@media (min-width: 1500px) {
  .img-dog {
    background-position: center -200px;
    background-size: cover;
  }
  .bestaetigung {
    background-position: center -200px;
    background-size: cover;
  }
}

@media (min-width: 2000px) {
  .img-dog {
    background-position: center -450px;
    background-size: cover;
  }
  .bestaetigung {
    background-position: center -400px;
    background-size: cover;
  }
}
