.ua:hover {
  background-color: #FFC04C;
}

.ar:hover {
  background-color: #52C2AE;
}

.dafa:hover {
  background-color: #69BAF7;
}

.so:hover {
  background-color: #B09653;
}

.de:hover {
  background-color: #F77E63;
}

.hidden-lang {
  display: none !important;
}
/* Menu end */



/* Slider */

.kompetenz {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}
/* Slider end */



/* Audio buttons */
.speaker-play {
	padding: 10px;
  background-color: var(--incorrect);
}

.speaker-play img {
  width: 30px;
}


.speaker-task, .speaker-background {
	background-color: var(--alpha);
}

.lang-background,
.speaker-task,
.speaker-background {
  transition: opacity 0.3s;
}

.lang-background:hover,
.speaker-task:hover,
.speaker-background:hover {
  opacity: 0.8;
}
/* Audio buttons end */



.text-img-task {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.task {
  display: flex;
  display: inline-block;
  justify-content: center;
  align-items: center;
  gap: 5px;
}



.check-button {
  min-width: 150px;
  height: 50px;
	background-color: var(--incorrect);
	border: none;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: box-shadow .3s ease;
	cursor: pointer;
  margin: 50% 0 0;
}

.check {
	height: 20px;
}















/* 1.-4. Seite: Scrollen / klicken */
.container-scrollen {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.container-swipen {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
}

.play-animation-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}













.animation-img {
  width: 70px;
  height: 70px;
}

.animation-img.down {
  animation: moveDown 2s ease-in-out infinite;
  padding-bottom: 30px;
}

.animation-img.scroll-down {
  animation: moveUp 2s ease-in-out infinite;
  padding: 350px 0;
}

.animation-img.swipe-left {
  animation: moveLeft 2s ease-in-out infinite;
  margin: 50px 100% 50px 50%;
}

.animation-img.swipe-right {
  animation: moveRight 2s ease-in-out infinite;
  margin: 50px 50% 50px 100%;
}

.animation-img.up {
  animation: moveUp 2s ease-out infinite;
  padding: 15px 0 0;
}



.right {
  display: flex;
  align-self: end;
  margin: 50px 0 0;
}

.rtl {
  direction: rtl;
}

.letter-in-word.example {
  animation: exampleCorrect 2s steps(1, end) infinite;
}

@keyframes moveDown {
  0% { transform: translateY(0); opacity: 1}
  70% { transform: translateY(30px); opacity: 1}
  100% { transform: translateY(30px); opacity: 0}
}

@keyframes moveLeft {
  0% { transform: translatex(0); opacity: 1}
  70% { transform: translatex(-40px); opacity: 1}
  100% { transform: translatex(-40px); opacity: 0}
}

@keyframes moveRight {
  0% { transform: translatex(0); opacity: 1}
  70% { transform: translatex(40px); opacity: 1}
  100% { transform: translatex(40px); opacity: 0}
}

@keyframes moveUp {
  0% { transform: translateY(0); opacity: 1}
  70% { transform: translateY(-40px); opacity: 1}
  100% { transform: translateY(-40px); opacity: 0}
}

@keyframes exampleCorrect {
  0% { background-color: white}
  70% { background-color: #248724}
  90% { background-color: white}
}



.animation-img.drag {
  animation: dragBox 3s ease-in-out infinite;
  padding: 20px 0 0;
}


@keyframes dragBox {
  0% { transform: translateY(0); opacity: 0}
  1% { transform: translateY(-50px); opacity: 0}
  10% { transform: translateY(-50px); opacity: 1}
  70% { transform: translateY(-150px); opacity: 1}
  100% { transform: translateY(-150px); opacity: 0}
}













/* 5. Seite: Audio abspielen */
.active {
  background-color: var(--correct);
}






/* 7. Seite: Buchstaben markieren */
.word {
  display: flex;
  flex-direction: row;
}

.letter-in-word {
  font-size: 40px;
  user-select: none;
  cursor: pointer;
}

.letter-in-word:hover {
  background-color: var(--selected);
}



/* 8. Seite: Ins Feld ziehen */
.drag-drop-container {
  display: flex; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.dropzone {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 4px);
  max-width: 300px;
  height: 120px;
  position: relative;
  border: 10px solid var(--border);
}

.draggable {
  width: 150px;
  height: 50px;
  background-color: var(--incorrect);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.draggable:active {
  cursor: grabbing;
}

.dropzone.dropped {
  border: 10px solid var(--correct);
}

.play-animation-container.dragging {
  min-height: 300px;
}



/*9. Seite: Markieren und gedrückt halten */
.feld {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
}

.felder {
  width: 100%;
  height: auto; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.letter-in-feld {
  border: 1px solid var(--border);
  width: 50px;
  height: 50px;
}

.letter-in-feld.grey{
  background-color: var(--place);
}

.letter-in-feld:hover {
cursor: pointer;
background-color: var(--selected);
}


.letter-in-feld.selected {
  background-color: var(--selected);
}

.letter-in-feld.correct {
  background-color: var(--correct);
}

.letter-in-feld.incorrect {
  background-color: var(--incorrect);
}

.markiert-right {
  animation: markierenRight 3s ease-in-out infinite;
  margin: 0 0 0 50px;
}

@keyframes markierenRight {
  0% { transform: translateY(0); opacity: 0}
  1% { transform: translateY(-260px); opacity: 0}
  10% { transform: translateY(-260px); opacity: 1}
  70% { transform: translateY(-260px) translatex(100px); opacity: 1}
  100% { transform: translateY(-260px) translatex(100px); opacity: 0}
}



/* 10. Seite: Tippen */
.handy {
  width: 300px;
}

.handypfeil {
  width: 25px;
  height: 25px;
}

.correct {
  background-color: var(--correct);
}

.incorrect {
  background-color: var(--incorrect);
}

.animation-img.shift {
  animation: moveUpShift 3s ease-in-out infinite;
  padding: 20px 0 0;
}

@keyframes moveUpShift {
  0% { transform: translateY(0); opacity: 0}
  1% { transform: translateY(-60px) translatex(-120px); opacity: 0}
  10% { transform: translateY(-60px) translatex(-120px); opacity: 1}
  70% { transform: translateY(-100px) translatex(-120px); opacity: 1}
  100% { transform: translateY(-100px) translatex(-120px); opacity: 0}
}


/* Tippen, Laptop */
.keyboard {
  width: 600px;
}

.handy {
  width: 300px;
}

.keyboard-container {
  position: relative;
}

#h-gross, #h-klein {
  position: absolute;
  left: 281px;
  top: 149px;
  width: 34px;
  height: 34px;
  background-color: #248724;
  opacity: 0.5;
  border-radius: 5px;
}

#h-gross-handy, #h-klein-handy {
  position: absolute;
  left: 138px;
  top: 84px;
  width: 24px;
  height: 34px;
  background-color: #248724;
  opacity: 0.5;
  border-radius: 5px;
}

#shift {
  position: absolute;
  left: 10px;
  top: 188px;
  width: 86px;
  height: 34px;
  background-color: #248724;
  opacity: 0.5;
  border-radius: 5px;
}

#shift-handy {
  position: absolute;
  left: 6px;
  top: 126px;
  width: 36px;
  height: 34px;
  background-color: #248724;
  opacity: 0.5;
  border-radius: 5px;
}

/* Zoomen*/

.zoom-container {
  width: 250px;
  height: 250px;
  border: 10px solid #ffffff;
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s ease;
}

.zoom-container.correct {
  border: 10px solid var(--correct);
}

.zoom-bild {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
  touch-action: none;
  cursor: grab;
}

.zoom-bild:active {
  cursor: grabbing;
}

.hand-zoom {
  animation: zoom 3s ease-in-out infinite;
}

@keyframes zoom {
  0% { transform: translateY(-100px); opacity: 0}
  1% { transform: translateY(-100px); opacity: 0}
  10% { transform: translateY(-100px); opacity: 1}
  70% { transform: translateY(-100px); opacity: 1}
  100% { transform: translateY(-100px); opacity: 0}
}

.zoom-left {
  animation: zoomLeft 3s ease-in-out infinite;
}

@keyframes zoomLeft {
  0% { transform: translateY(-220px); opacity: 0}
  1% { transform: translateY(-220px); opacity: 0}
  10% { transform: translateY(-220px); opacity: 1}
  50% { transform: translateY(-220px) translatex(-20px); opacity: 1}
  70% { transform: translateY(-220px) translatex(-20px); opacity: 1}
  100% { transform: translateY(-220px) translatex(-20px); opacity: 0}
}

.zoom-right {
  animation: zoomRight 3s ease-in-out infinite;
}

@keyframes zoomRight {
  0% { transform: translateY(-264px); opacity: 0}
  1% { transform: translateY(-264px); opacity: 0}
  10% { transform: translateY(-264px); opacity: 1}
  50% { transform: translateY(-264px) translatex(20px); opacity: 1}
  70% { transform: translateY(-264px) translatex(20px); opacity: 1}
  100% { transform: translateY(-264px) translatex(20px); opacity: 0}
}


/* 12. Seite: So scannen Sie einen QR-Code */
.qr-code-scannen-container {
  margin: 0 60px;
  display: flex;
  flex-direction: column;
}

.qr-code {
  height: 100px;
  margin: 10px;
}

.sprachportal {
  width: 200px;
}


/* Animation */
.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}

.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}























.kompetenz .bild-handytastatur{
margin-right: 50px;
}

.letter-orange {
  color: var(--alpha);
  margin: 0;
  font-weight: 600;
}




/* ВЫЧИСТИТЬ!!! */


/* Mobile */
@media screen and (max-width: 600px) {
.random-container {
gap: 10px;
}

.options.random-container {
width: 100%;
}

.speaker.play-button {
height: 16px;
width: 16px;
padding: 8px;
}

.progress-container {
height: 15px;
}

.lesen-sentence p,
.sentence-word p {
margin: 0 0;
}

.sentences {
gap: 0 0;
}

.sentence-word {
gap: 0 10px;
}

.reading-word1{
gap: 5px;
}

.reading-card1 {
padding: 0 10px;
}

.reading-card1, .reading-card2 {
height: 70px;
}

.reading-letter {
font-size: 2rem;
}

.matrix {
grid-template-columns: repeat(7, 40px);
grid-gap: 3px; 
}

.cell {
width: 40px;
height: 40px;
font-size: 1.2rem;
}

.word-list {
margin: 0 0;
}

li {
font-size: 1.2rem;
}

.image-container {
gap: 20px 10px;
}

.dropzones {
gap: 20px 30px;
}

.lesen-mit-container {
gap: 10px;
}

.lesen-sentence p {
font-size: 1.2rem;
}


.hotspot-container {
display: none;
}

.hotspot-container-mobile {
position: relative;
display: inline-block;
}

.target-image {
width: 300px;
padding: 10px;
border: 1px solid var(--white);
}

}










/*Kompetenz: Audio abspielen/pausieren*/
.playing {
background-color: #78B880;
border: 2px solid #78B880;
transition: background-color 0.3s ease;
}

.bild, .bild-play, .bild-pause {
width: 80px;
height:80px;
}


.bild-play.active {
width: 80px;
height:80px;
border-radius: 80px;
background-color:#78B880;

}

.Pluszeichen {
color: #909090;
}

.play-pause-container {
display: flex;
gap: 30px;
}

.play-pause, .pausieren {
cursor: pointer;
display: inline-block;
}






/*Kompetenz: Schreiben/Tippen */
  .schreiben-input {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  text-align: center;
  height: 10px;
  font-size: 24px;
  padding: 15px 0;
  border: 2px solid #ccc;
}

.bild-handytastatur {
  width: 500px;
  height: 250px;   
}


.center {
  display: flex;
  justify-content: center;
}