body {
  font-family: Arial, sans-serif;
  background-color: #333;
  color: white;
  margin: 0;
  padding: 20px;
}

.card {
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  color: black;
}
.progress-bar {
  height: 20px;
  background-color: #4CAF50;
  text-align: center;
  line-height: 20px;
  color: white;
  border-radius: 5px;
}
.toxicity-title {
  font-weight: bold;
}

h1 {
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.left-column {
  padding-right: 40px;
  border-right: 1px solid white;
}

.right-column {
  padding-left: 20px;
}

form {
  margin-bottom: 20px;
  text-align: center;
}

.modal-body p, .modal-body hr, .modal-body h5 {
  color: black !important;
}

.modal-title {
  color: black !important;
}

.main-h1 {
  background: linear-gradient(to right, #198754, #147749); /* Farbverlauf */
  color: white;
  padding: 10px;
  border-radius: 10px;
  display: inline-block; /* Setzt das Element als Inline-Block */
}

.unterteilte-ueberschrift {
  display: inline-block;
  position: relative;
  padding-top: 10px; /* Abstand oben hinzugefügt */
  padding-bottom: 10px;
}

.unterteilte-ueberschrift::before, .unterteilte-ueberschrift::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #e31818;
}


.unterteilte-ueberschrift::before {
  top: 0; /* Positioniert die Linie oben */
}

.unterteilte-ueberschrift::after {
  bottom: 0; /* Positioniert die Linie unten */
}

.unterteilte-ueberschrift2 {
  display: inline-block;
  position: relative;
  padding-top: 10px; /* Abstand oben hinzugefügt */
  padding-bottom: 10px;
}

.unterteilte-ueberschrift2::before, .unterteilte-ueberschrift2::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #1852e3;
}


.unterteilte-ueberschrift2::before {
  top: 0; /* Positioniert die Linie oben */
}

.unterteilte-ueberschrift2::after {
  bottom: 0; /* Positioniert die Linie unten */
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-container {
  margin-top: 10px; /* Abstand von der Oberseite */
  max-width: 100px; /* Maximale Breite des Logos */
  padding-bottom: 20px;
}

.logo {
  width: 100%;
  height: auto;
}


label {
  display: block;
  margin-bottom: 10px;
}

.hidden {
  display: none;
}

textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  resize: both;
  margin-top: 10px;
  margin-bottom: 5px;
}

input[type="submit"], input[type="button"], button {
  background-color: #e31818;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
}

.results-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

.results-column h2 {
  text-align: center;
}

.results-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.results-list-item {
  margin-bottom: 10px;
  cursor: pointer;
}

.results-label {
  font-weight: bold;
}

.results-probability {
  margin-left: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid white;
  background-color: #ffffff !important;
}

th {
  background-color: #ffffff !important;
  font-weight: bold;
}

tr:hover {
  background-color: #e31818;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-image: url(top_arrow_icon_238720.png);
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-to-top:hover {
  opacity: 1;
}

.conversario-label {
  font-weight: bold;
  margin-top: 20px;
}

.conversario-content {
  margin-bottom: 20px;
}

.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  animation: fadeEffect 1s;
}

.leeren-button {
  background-color: #104E8B !important;
  margin: 10px;
}

.hr2 { 
  height: 5px !important;
  margin-top: 30px;
  margin-bottom: 30px;
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Medienabfragen */
@media (max-width: 768px) {
  .left-column, .right-column {
    padding: 10px;
  }

  .results-column {
    flex-basis: 100%;
  }

  .tab button {
    display: block;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .results-column {
    flex-basis: 45%;
  }
}

/* Stile für die Schieberegler */
.slider {
  -webkit-appearance: none;
  width: 200px;
  height: 15px; /* Erhöhte Dicke für bessere Bedienbarkeit */
  background: #104E8B;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px; /* Erhöhte Breite für bessere Bedienbarkeit */
  height: 25px;
  background: #e31818;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 15px;
  height: 25px;
  background: #e31818;
  cursor: pointer;
}

