body {
  font-family: sans-serif;
  padding: 2rem;
  background-color: #f2f2f2;
}

.lesson {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.input-area {
  width: 100%;
  font-size: 1.5rem;
  padding: 0.5rem;
}

.correct {
  color: green;
}

.incorrect {
  color: red;
}

#progressContainer {
  width: 100%;
  background-color: #ddd;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem 0;
}

#progressBar {
  height: 100%;
  width: 0%;
  background-color: #4CAF50;
  transition: width 0.3s;
}

#progressPercent {
  font-weight: bold;
}


#virtualKeyboard {

  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 600px;
}




.keyboard-row {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

.key {
  width: 40px;
  height: 40px;
  margin: 2px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-weight: bold;
  user-select: none;
  text-transform: uppercase;
}

.key.highlight {
  background-color: gold;
}


.key-left {
  background-color: #cce5ff; /* hellblau */
}

.key-right {
  background-color: #ffe5b4; /* hellorange */
}

.key-space {
  background-color: #dddddd; /* neutral */
}

.key.highlight {
  outline: 2px solid #000;
  background-color: gold !important; /* hebt aktuelle Taste hervor */
}


/* Handfarben */
.key-left {
  background-color: #cce5ff; /* hellblau */
}
.key-right {
  background-color: #ffe5b4; /* hellorange */
}

/* Fingerfarben */
.finger-left-pinky { background-color: #f8c8dc; }
.finger-left-ring { background-color: #c2f0c2; }
.finger-left-middle { background-color: #d4d4fa; }
.finger-left-index { background-color: #fff3b0; }

.finger-right-index { background-color: #ffe0ac; }
.finger-right-middle { background-color: #cdeac0; }
.finger-right-ring { background-color: #ffcbcb; }
.finger-right-pinky { background-color: #c2e7ff; }

.key-space {
  background-color: #dddddd;
}

.key.highlight {
  outline: 2px solid #000;
  background-color: gold !important;
}


.lesson-tip {
  padding: 0.5rem;
  background-color: #f9f9f9;
  border-left: 4px solid #ccc;
  font-style: italic;
}



.feedback-message {
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  display: none; /* Standard: unsichtbar und kein Platz */
}


footer {
    position: fixed;
    bottom: 0;
    left:0;
    width: 100%;
    background-color: #333;
    padding: 20px 0; 
}

footer nav ul {
    list-style: none; 
    margin: 0;
    padding: 0;
    text-align: center; 
}

footer nav ul li {
    display: inline-block; 
    margin-right: 20px; 
}

footer nav ul li:last-child {
    margin-right: 0;
}

footer nav ul li a {
    color: #fff; 
    text-decoration: none;
    font-weight: bold; 
    transition: color 0.3s; 
}

footer nav ul li a:hover {
    color: #ccc; 
}

