@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
@media (max-width: 900px) {
  ul.job-list {
    margin-left: 8%;
	  width: 110%;
  }
  #job-list {
    margin-left: 8%;
  }
  .job-list {
    margin-left: 8%;
  }
}
@media (max-width: 1199px) {
  #job-list-container {
    contain: inline-size;
  }
	.job-info {
    align-items: center;
    margin-top: 10px;
    white-space: nowrap;
    gap: 17%;
}
}

.info-icon {
  width: 30px;
  /* height: 16px; */
  margin-right: 5px;
  vertical-align: middle;
}

.animate-bounce {
  animation: bounce 2s infinite;
}
.reset-filters-button {
  background-color: transparent; /* Transparentes Hintergrund für ein sauberes Icon */
  border: none; /* Kein Rand */
  cursor: pointer; /* Zeigt einen Zeiger-Cursor beim Überfahren des Buttons */
  padding: 0; /* Kein Padding, um das Icon nicht zu vergrößern */
  margin-left: 10px; /* Abstandsregelung zum vorherigen Element */
}

.reset-filters-button i {
  font-size: 2rem; /* Größe des Icons anpassen */
  color: #ffffff; /* Icon-Farbe (z.B. Rot, um das Löschen zu symbolisieren) */
  transition: transform 0.3s ease; /* Sanfte Transition für Hover-Effekte */
}

.reset-filters-button:hover i {
  transform: scale(1.1); /* Leichtes Vergrößern des Icons beim Hover */
}
.reset-all-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f44336; /* Red background */
  color: white; /* White text */
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.reset-all-filters:hover {
  background-color: #d32f2f; /* Darker red on hover */
}

.icon-text-container {
  display: flex;
  align-items: center;
}

.reset-all-filters i {
  font-size: 20px; /* Icon size */
  margin-right: 8px; /* Space between icon and text */
}

.button-text {
  display: inline-block;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f4f4f4;
}

.header {
  background-color: #ffffff;
  color: white;
  padding: 20px;
  text-align: center;
}

.header-title {
  margin: 0;
  font-size: 24px;
}

.header-info {
  color: #00b0f0;
  font-size: 40px;
  margin: 30px;
  margin: 10px 0 0;
  font-weight: 550;
}
.filter-form.no-results {
  margin-right: 40%;
  margin-top: 2%;
}

.no-results-message {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #60c0e2;
  margin: 40px 0;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-left: 10%;
}

.search-form {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  background: linear-gradient(24deg, #00bcff, #2d61ff);
  padding: 30px;
  border-radius: 40px 40px 40px 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.content-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  padding: 20px;
  background-color: white;
}

.loading-indicator {
  /* Standardmäßig ausgeblendet */
  position: fixed; /* Fixiert das Element, damit es unabhängig vom Scrollen sichtbar ist */
  top: 50%; /* Zentriert vertikal */
  left: 50%; /* Zentriert horizontal */
  transform: translate(
    -50%,
    -50%
  ); /* Korrigiert die Position, um die exakte Mitte zu treffen */
  text-align: center;
  z-index: 1001; /* Stellt sicher, dass es über anderen Elementen liegt */
  background-color: rgba(
    255,
    255,
    255,
    0.8
  ); /* Halbtransparenter Hintergrund */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Leichter Schatten für besseren Kontrast */
}

.loading-indicator gif {
  max-width: 100px; /* Begrenzung der GIF-Größe */
  margin-bottom: 10px; /* Abstand zwischen GIF und Text */
}

.loading-indicator p {
  font-size: 16px;
  color: #333; /* Textfarbe */
}
.reset-filters {
  display: block;

  margin-top: 10px;
  color: red;
  text-decoration: none;
}

.reset-filters:hover {
  background-color: darkred;
}

.reset-filters-button {
  font-size: 11px;
  padding: 2px 5px;
}
.search-filters-button {
  padding: 1px 30px;
  font-size: 23px;
  background-color: #60c0e2;
  color: white;
  border: none;
  cursor: pointer;
  margin-left: 7px;
  margin-right: 8px;
  border-radius: 40px 40px 40px 40px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 53%);
}
.search-filters-button:hover {
  background-color: #01b9ff; /* Dunkleres Rot beim Hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-filters-button:hover {
  background-color: #01b9ff; /* Dunkleres Rot beim Hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.reset-filters-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-filters-button:active,
.reset-filters-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.container {
  width: 75%;
}

.job-card {
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  min-height: 200px;
  
  margin-left: 5%;
  width: 90%;
  border-radius: 50px 50px 50px 50px;
  border: 2px solid #6ec1e4;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
}
.job-card:hover {
  background-color: whitesmoke;
}
.job-image img {
  max-width: 100px;
  max-height: 100px;
  margin-right: 20px;
  object-fit: cover;
}

.job-details {
  flex: 1;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 1200px) {
.job-info {
  display: flex;

  align-items: center;
  margin-top: 10px;
  white-space: nowrap;
  gap: 17%;
}
}
.job-info p {
  margin: 0;
  font-size: 18px;
  white-space: nowrap; /* Prevents text wrapping */
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-details h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #333;
}

.job-details p {
  margin: 5px 0;
  line-height: 1.5;
}

.underline-text {
  position: relative;
  display: inline;
  background-image: linear-gradient(to right, #60c0e2, #2b60eb);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease-in-out;
}

.job-card:hover .underline-text {
  background-size: 100% 2px;
}
.job-link {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #00b0f0;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  align-self: flex-start;
}
.job-link:hover,
.job-link:focus,
.job-link:active {
    color: white !important;
  background-color: #004999;
}

.pagination a {
  padding: 5px 20px;
  width: 20;
  font-size: 20px;
  margin: 0 5px;
  background-color: #00b0f0;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 8px; /* Neues Attribut für den unteren Abstand */
  left: 0;
  bottom: 0;
  width: 70%;
  margin-left: 15%;
  background-color: rgba(244, 244, 244, 0.5);
  padding: 7px 0; /* Innenabstand für Pagination-Elemente */
  z-index: 1000;
  border-radius: 5px;
}
.pagination-link {
  padding: 10px 15px;
  margin: 0 5px;
  background-color: #60c0e2;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.pagination-link:hover {
  background-color: #004999;
}
.pagination-dots {
  padding: 10px 15px;
  margin: 0 5px;
  color: #666;
}

.pagination a:hover {
  background-color: #004999;
}
.pagination .pagination-current {
  background-color: #004999;
}

.pagination a:hover {
  background-color: #004999;
}
.pagination .pagination-page.active {
  background-color: #004999;
  color: white;
  font-weight: bold;
}

.pagination .pagination-page:not(.active):hover {
  background-color: #004999;
  color: #e0f0ff;
}

.search-form input[type="text"] {
  padding: 12px 15px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  margin-right: 10px;
  flex-grow: 1;
  transition: box-shadow 0.3s ease;
  width: 100%;
}
.search-form input[type="text"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #60c0e2;
}

.filter-form {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 10px;
  color: white;
  margin-right: 20px;
  background: linear-gradient(164deg, #00bcff, #2d61ff);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.filter-form button {
  padding: 10px 12px;
  background-color: #f04545;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
.filter-form button:hover {
  background-color: #ff0000;
}

.filter-form label {
  align-items: center; /* Zentrieren von Inhalten vertikal */
  justify-content: space-between; /* Platz zwischen Label und Checkbox */
  cursor: pointer;
  padding: 10px;
  display: flex;
}
.filter-form label span {
  margin-right: 10px; /* Abstand zwischen Checkbox und Label-Text */
}

.filter-form input[type="checkbox"] + span {
  font-size: 16px;
  color: #333;
  width: 20px; /* Größe der benutzerdefinierten Checkbox */
  height: 20px; /* Größe der benutzerdefinierten Checkbox */
  display: flex; /* Flexbox verwenden */
  align-items: center; /* Zentrieren von Inhalten vertikal */
}

.filter-form input[type="checkbox"] + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; /* Größe der benutzerdefinierten Checkbox */
  height: 20px; /* Größe der benutzerdefinierten Checkbox */
  border: 2px solid #004999; /* Farbe des Rahmens */
  background-color: #fff; /* Hintergrundfarbe */
  border-radius: 3px;
}
#job-list-container {
  width: 100%;
}
.job-list-container {
  width: 100%;
}
.filter-form input[type="checkbox"]:checked + span::before {
  content: "\2714"; /* Haken-Symbol */
  font-size: 20px;
  text-align: center;
  line-height: 20px; /* Zentrierung des Hakens */
  background-color: #004999;
  color: #fff;
}

.filter-form input[type="checkbox" i] {
  height: 20px;
  width: 20px;
}
@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column;
  }
.job-card h2 {
    font-size: clamp(12px, 3vw, 18px);
  }

  .job-card p {
    font-size: clamp(11px, 2.5vw, 13px);
  }
	.job-link {
   
    font-size: clamp(12px, 2vw, 15px); /* automatisch skalierende Schriftgröße */
    font-weight: 600;
   
}
  .filter-container {
    position: fixed;
    top: 0;
    right: -300px; /* Startposition außerhalb des Bildschirms */
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
  }
  .filter-container.visible {
    right: 0; /* Sichtbare Position */
  }
  .filter-toggle-btn {
    display: block;
    margin-bottom: 30px;
    padding: 20px 40px;
    margin-left: 65%;
    font-size: 20px;
    font-weight: 600;
    align-self: center;
    background-color: #60c0e2;
    color: white;
    border: none;
    border-radius: 0 20px 0 20px;
    cursor: pointer;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: -2px 0 5px rgba(0.3, 0, 0, 0.6);
  }
  .filter-toggle-btn:hover {
    background-color: #01b9ff; /* Dunkleres Rot beim Hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  .job-card {
    margin-left: -8%;
  }
  .filter-back-btn {
    display: block;
    margin: 20px;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 600;
    align-self: center;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    border-radius: 0 20px 0 20px;
  }
}

@media (min-width: 901px) {
  .filter-back-btn,
  .filter-toggle-btn {
    display: none;
  }
}
@media screen and (max-width: 740px) {
  .search-form {
    flex-direction: column;
    padding: 15px;
  }

  .search-form input[type="text"] {
    width: 100%;
    margin-bottom: 10px;
  }

  .search-filters-button,
  .reset-filters-button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 740px) {
  .location-container {
    width: 100%; /* This makes it half the width of its parent */
  }
  #custom-dropdown {
    width: 80%;
  }
}

@media screen and (min-width: 740px) {
  .location-container {
    position: relative;
    width: 100%; /* This makes it half the width of its parent */
    display: inline-block; /* This allows it to sit inline with other elements */
  }
  #custom-dropdown {
    width: 100%;
  }
}
#location {
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}
#location123 {
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.location-input {
  width: 100%; /* This ensures the input takes full width of its container */
}
#custom-dropdown {
  position: absolute;
  max-height: 200px;
  overflow-y: auto;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 5px;
  display: none;

  background: linear-gradient(24deg, #00bcff, #2d61ff);
}

#custom-dropdown .option {
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  color: #333;
}

#custom-dropdown .option:hover {
  background-color: #00bcff;
}

#custom-dropdown .state {
  font-weight: bold;
  color: #fff;
}

#custom-dropdown .city {
  margin-left: 10px;
  color: #fff;
}

#custom-dropdown .city:hover {
  background-color: #00bcff;
}

#custom-dropdown.show {
  opacity: 1;
  visibility: visible;
}
