@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300);
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: 300;
}
.textfield_orig {
  margin-top: 10px;
  background-color: white;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 4px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid #ccc;
}
body {
  font-family: "Segoe UI", "Tahoma", "Helvetica-Light", "Droid Sans Pro", sans-serif;
  color: black;
  font-weight: 300;
}
h3 {
  font-family: "Segoe UI", "Tahoma", "Helvetica-Light", "Droid Sans Pro", sans-serif;
}
.section-heading {
  font-family: "Segoe UI", "Tahoma", "Helvetica-Light", "Droid Sans Pro", sans-serif;
}
body ::-webkit-input-placeholder {
  /* WebKit browsers */
  font-family: "Segoe UI", "Tahoma", "Helvetica-Light", "Droid Sans Pro", sans-serif;
  color: black;
  font-weight: 300;
}
body :-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  font-family: "Segoe UI", "Tahoma", "Helvetica-Light", "Droid Sans Pro", sans-serif;
  color: black;
  opacity: 1;
  font-weight: 300;
}
body ::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  font-family: "Segoe UI", "Tahoma", "Helvetica-Light", "Droid Sans Pro", sans-serif;
  color: black;
  opacity: 1;
  font-weight: 300;
}
body :-ms-input-placeholder {
  /* Internet Explorer 10+ */
  font-family: "Segoe UI", "Tahoma", "Helvetica-Light", "Droid Sans Pro", sans-serif;
  color: black;
  font-weight: 300;
}
.wrapper {
  scroll-behavior: smooth;
  background-color: #fff; /* Fallback color */
  background-image: url('../bilder/HIntergrund_Bubbles.jpg');
  /*background: #50a3a2;
  background: -webkit-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
  background: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  position: fixed; /* Consider using 'fixed' if you want the background to stay in place as you scroll */
  top: 0;
  left: 0;
  right: 0; /* Added to ensure full width */
  bottom: 0; /* Added to ensure full height */
  overflow: auto; /* Change 'scroll' to 'auto' if you only want scrollbars when necessary */
}



.wrapper.form-success .container h1 {
  -webkit-transform: translateY(85px);
          transform: translateY(85px);
}
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 0;
  height: 400px;
  text-align: center;
}
.container h1 {
  font-size: 40px;
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
  -webkit-transition-timing-function: ease-in-put;
          transition-timing-function: ease-in-put;
  font-weight: 200;
}
form {
  padding: 20px 0;
  position: relative;
  z-index: 2;
}
form input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.2);
  width: 250px;
  border-radius: 3px;
  padding: 10px 15px;
  margin: 0 auto 10px auto;
  display: block;
  text-align: center;
  font-size: 18px;
  color: white;
  -webkit-transition-duration: 0.25s;
          transition-duration: 0.25s;
  font-weight: 300;
}
form input:hover {
  background-color: rgba(255, 255, 255, 0.4);
}
form input:focus {
  background-color: white;
  width: 300px;
  color: #47c693;
}
form button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: 0;
  background-color: white;
  border: 0;
  padding: 10px 15px;
  color: #53e3a6;
  border-radius: 3px;
  width: 250px;
  cursor: pointer;
  font-size: 18px;
  -webkit-transition-duration: 0.25s;
          transition-duration: 0.25s;
}
form button:hover {
  background-color: #f5f7f9;
}
.bg-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.bg-bubbles li {
  position: absolute;
  list-style: none;
  display: block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  bottom: -160px;
  -webkit-animation: square 25s infinite;
  animation: square 25s infinite;
  -webkit-transition-timing-function: linear;
  transition-timing-function: linear;
}
.bg-bubbles li:nth-child(1) {
  left: 10%;
}
.bg-bubbles li:nth-child(2) {
  left: 20%;
  width: 80px;
  height: 80px;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 17s;
          animation-duration: 17s;
}
.bg-bubbles li:nth-child(3) {
  left: 25%;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}
.bg-bubbles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  -webkit-animation-duration: 22s;
          animation-duration: 22s;
  background-color: rgba(255, 255, 255, 0.25);
}
.bg-bubbles li:nth-child(5) {
  left: 70%;
}
.bg-bubbles li:nth-child(6) {
  left: 80%;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
  background-color: rgba(255, 255, 255, 0.2);
}
.bg-bubbles li:nth-child(7) {
  left: 32%;
  width: 160px;
  height: 160px;
  -webkit-animation-delay: 7s;
          animation-delay: 7s;
}
.bg-bubbles li:nth-child(8) {
  left: 55%;
  width: 20px;
  height: 20px;
  -webkit-animation-delay: 15s;
          animation-delay: 15s;
  -webkit-animation-duration: 40s;
          animation-duration: 40s;
}
.bg-bubbles li:nth-child(9) {
  left: 25%;
  width: 10px;
  height: 10px;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 40s;
          animation-duration: 40s;
  background-color: rgba(255, 255, 255, 0.3);
}
.bg-bubbles li:nth-child(10) {
  left: 90%;
  width: 160px;
  height: 160px;
  -webkit-animation-delay: 11s;
          animation-delay: 11s;
}
@-webkit-keyframes square {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
            transform: translateY(-700px) rotate(600deg);
  }
}
@keyframes square {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
            transform: translateY(-700px) rotate(600deg);
  }
}
.fa{
  color: #039a9a;
}
.fas{
  color: #039a9a;
}
.maleButton, .femaleButton {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: 0;
  background-color: white;
  border: 0;
  padding: 10px 15px;
  color: grey;
  border-radius: 3px;
  width: 250px; /* Adjust width as necessary */
  cursor: pointer;
  font-size: 18px;
  -webkit-transition-duration: 0.25s;
          transition-duration: 0.25s;
  text-align: center;
  display: block; /* Adjust display as necessary, might use inline-block */
  margin: 10px auto; /* Center button horizontally, adjust as necessary */
}
.maleButton.active, .femaleButton.active {
  background-color: lightgreen;
  color: black;
}

.maleButton.active:hover, .femaleButton.active:hover {
  background-color: lightgreen;
  color: black;
}


.maleButton:hover, .femaleButton:hover {
  background-color: lightgrey;
  color: black;
}
.log-container-sub {
    height: 150px;
    width: 100%; /* Adjusted for demonstration */
    overflow-y: auto; /* Only vertical scrollbar will appear when content overflows */
    font-size: 12px;
    padding: 10px; /* Adjusted padding */
    box-sizing: border-box; /* Includes padding in the element's total width and height */
}

.submit-container {
  margin-top: 10px;
}
.voice-model-container {
  z-index: 99;
}
.voice-model-container, .container {
  position: relative;
  z-index: 100; /* Ensures these containers are above the .bg-bubbles */
}

.bg-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Lower than content but above the default stacking order */
}
.submitbutton {
  color: black;
}
.submitbutton:hover {
background-color: lightgreen;
color: black;
}
.introtext {
  font-size: 18px;
}
.texteingabe {
  font-size: 18px;
  font-weight: 400;
}
textarea {
    resize: none;
    width: calc(100% - 20px); /* Adjust width to account for margin */
    height: 170px; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    font-size: 16px; 
    box-sizing: border-box; 
    margin-left: 10px; /* Add left margin */
    margin-right: 10px; /* Add right margin */
}

/* Adjustments for smaller screens, typical of iPhones */
@media only screen and (max-width: 375px) { /* iPhone 6, 7, 8, X, and similar */
    textarea {
        margin-left: 15px; /* Increase left margin */
        margin-right: 15px; /* Increase right margin */
        width: calc(100% - 50px); /* Adjust width to account for margin */
      }
    
}

.loader {
    width: 28px;
    height: 28px;
    border: 3px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    } 

@media only screen and (max-width: 414px) { /* iPhone 6+, 7+, 8+, Xs Max, and similar */
    textarea {
        margin-left: 20px; /* Further increase for larger phones */
        margin-right: 20px;
        width: calc(100% - 50px); /* Adjust width to account for margin */
    }
}


.logo {
  width: 60px;
  position: absolute;
  top: 50px;  /* Space from the top */
  right: 50px;  /* Space from the right */
  z-index: 1000; /* Ensures the logo stays on top of other content */
}

/* Responsive adjustments for mobile devices */
@media (max-width: 600px) { /* Adjust the max-width as needed for your target devices */
  .logo {
    top: 15px; /* Adjust top position to add space above the logo */

  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Adjust for the logo's width to ensure it's truly centered */
  z-index: 1000; /* Ensures the logo stays on top of other content */
  }
}
#login-button {
  color: #039a9a;
}

.button-style {
   -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: 0;
  background-color: white;
  border: 0;
  padding: 10px 15px;
  color: black;
  border-radius: 3px;
  width: 250px; /* Adjust width as necessary */
  cursor: pointer;
  font-size: 18px;
  -webkit-transition-duration: 0.25s;
          transition-duration: 0.25s;
  text-align: center;
  display: block; /* Adjust display as necessary, might use inline-block */
  margin: 10px auto; /* Center button horizontally, adjust as necessary */
}
.button-style:hover {
  text-decoration: none;
}
footer {
  
  text-decoration: none;
  color: black;
  
  text-align: center;
  
  width: calc(100%); /* Adjust width to account for margin */
  
}

audio
{
-webkit-transition:all 0.5s linear;
-moz-transition:all 0.5s linear;
-o-transition:all 0.5s linear;
transition:all 0.5s linear;
}
.welcome {
  width: calc(100% - 20px); /* Adjust width to account for margin */
  margin-left: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px; /* Rounded corners */
  /* Additional styles for padding and background color might be needed */
  padding: 20px; /* Adds some space inside the div */
}
.titlebox {
  color: black;
  background-color: lightgreen;
  width: calc(100% - 20px); /* Adjust width to account for margin */
  margin-left: 10px;
  
  
  border-radius: 10px; /* Rounded corners */
  /* Additional styles for padding and background color might be needed */
  padding: 10px; /* Adds some space inside the div */
}
ul {
    list-style-type: none; /* Removes default list bullets */
    padding: 0;
    margin: 0;
}

li {
    background-color: #f2f2f2; /* Light grey background */
    margin-bottom: 8px; /* Adds space between list items */
    padding: 10px; /* Adds space inside each list item */
    border-radius: 5px; /* Rounded corners for the list items */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Adds a subtle shadow */
    transition: background-color 0.3s; /* Smooth background color change on hover */
}

li a {
    text-decoration: none; /* Removes underline from links */
    color: #333; /* Dark grey text color */
    display: block; /* Makes the whole area clickable */
    transition: color 0.3s; /* Smooth color change on hover */
}

li:hover {
    background-color: #e9e9e9; /* Changes background on hover */
}

li a:hover {
    color: #000; /* Changes text color on hover */
}
/* Style for new buttons with Font Awesome icons */
.styleButton {
    background-color: lightgreen; /* Matching your theme's color */
    color: black; /* White text for contrast */
    border: none; /* No border */
    padding: 10px 20px; /* Adequate padding for visual comfort */
    font-size: 16px; /* Legible font size */
    cursor: pointer; /* Cursor pointer to indicate action */
    border-radius: 5px; /* Rounded corners to match your theme */
    font-family: 'Source Sans Pro', sans-serif; /* Consistent font family */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
    margin: 5px; /* Space between buttons */
    display: inline-block; /* Ensures buttons are in a line */
    outline: none; /* Removes the outline to keep the design clean */
}

.styleButton:hover {
    background-color: #039a9a; /* Darker shade on hover for feedback */
    color: white;
}

.styleButton:before {
    margin-right: 8px; /* Space between icon and text */
    font-family: 'Font Awesome 5 Free'; /* Ensures we can use Font Awesome icons */
    display: inline-block; /* Ensures the icon aligns correctly with the text */
    font-weight: 900; /* Required for solid icons */
}

#styleButton1:before {
    content: "\f0e3"; /* Icon for "seriös" (balance scale, representing seriousness) */
    color: #039a9a;
}

#styleButton2:before {
    content: "\f508"; /* Icon for "normal" (question circle, representing standard queries) */
    color: #039a9a;
}

#styleButton3:before {
    content: "\f0e7"; /* Icon for "agil" (bolt, representing agility/speed) */
    color: #039a9a;
}

#styleButton1:hover:before,
#styleButton2:hover:before,
#styleButton3:hover:before {
  color: white;
}

#styleButton1.active:before,
#styleButton2.active:before,
#styleButton3.active:before {
  color: white;
}

.styleButton.active {
    background-color: #039a9a; /* Darker shade for active state */
    color: white;
}
.history-section {
  margin-top: 30px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 5px;
}
.history-entries {
  margin-top: 15px;
}
.history-entry {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.history-date {
  font-weight: bold;
  margin-bottom: 10px;
  color: #555;
}
.history-text {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
  border-left: 3px solid #ddd;
}
.speech-text-preview {
  font-style: italic;
  margin-bottom: 8px;
}
.show-full-text-btn {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  padding: 0;
  font-size: 0.85em;
  text-decoration: underline;
}
.files-table {
  width: 100%;
  border-collapse: collapse;
}
.files-table th {
  background-color: #f0f0f0;
  text-align: left;
  padding: 8px;
}
.files-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
  text-align: center;
}
.play-button, .download-button {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  color: #333;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9em;
}
.play-button:hover, .download-button:hover {
  background-color: #e0e0e0;
}
.local-player-container {
  background-color: #f8f8f8;
  border-radius: 4px;
  padding: 12px;
  margin-top: 15px;
  border: 1px solid #e0e0e0;
}
.local-player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.currently-playing {
  font-weight: bold;
  font-size: 0.9em;
}
.close-player-btn {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 1.2em;
  padding: 0;
  margin: 0;
}
.close-player-btn:hover {
  color: #333;
}
.local-audio-player {
  width: 100%;
}
/* Modal Styles */
.text-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.text-modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}
.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close-modal:hover {
  color: black;
}
#fullTextContent {
  margin-top: 15px;
  white-space: pre-wrap;
  line-height: 1.5;
}

