@font-face {
  font-family: 'Quicksand';
  src: url('quicksand.ttf') format('truetype');
  font-weight: semi-bold;
  font-style: normal;
}

:root {
  --alpha: #EB5D40;
  --letter: #f0f0f0;

  --speaker: #bcbcbc;
  --speaker-task: #F77E63;
  --check-button: orange;

  --reading-card: rgb(255 255 0 / 25%);
  --place: #99999966;

  --selected: #316DD380;
  --correct: #72c172;
  --incorrect: #fb9090;

  --correct-answers: #72c17273;

  --border: #ccc;
  --background: #f3f3f3;
  --white: #fff;
}

body {
  font-family: "Quicksand", sans-serif;
  display: flex;
  text-align: center;
  margin-top: 40px;
}

p, div, li {
  font-size: 1.5rem;
}

p {
  margin: 0;
}

.main-container {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.lang-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}



/* Progress-bar for a chapter */
.progress-container-chapter {
  position: fixed;
  top: 0;
  left: 0px;
  right: 0px;
  background-color: var(--background);
  border: 1px solid var(--border);
  overflow: hidden;
  z-index: 1000;
}

.progress-bar-chapter {
  height: 30px;
  background-color: var(--place);
  width: 0%;
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
}

.chapter-letter{
  position: fixed;
  left: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  color: var(--letter);
}



/* Upper menu */
.bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.menu {
  width: 30px;
  background-color: var(--place);
  padding: 11px 50px;
  transition: background-color 0.3s;
}

.menu:hover {
  background-color: #aaa;
}

/* Language selection */
.dropdown {
  position: relative;
  display: inline-block;
  color: white;
  text-align: center;
}

.dropdown-selected {
  border: 1px solid var(--border);
  padding: 10px;
  cursor: pointer;
  position: relative;
  width: 200px;
}

/* Arrow */
.dropdown-selected::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  border: 6px solid transparent;
  border-top-color: white;
  transition: transform 0.3s ease;
}

.dropdown.open .dropdown-selected::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-options {
  display: none;
  position: absolute;
  border: 1px solid var(--border);
  z-index: 10;
}

.dropdown-option {
  padding: 10px;
  cursor: pointer;
  background-color: var(--white);
  color: gray;
  width: 200px;
}

.dropdown.open .dropdown-options {
  display: block;
  width: fit-content;
}

.dropdown-option:hover {
  color: white;
}

.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 */
.slider-container {
  display: flex;
  flex-direction: column;
  margin: auto;
  width: 100%;
  gap: 20px;
}

.slider {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.exercise {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  width: fit-content;
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
}

.nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--place);
  color: white;
  padding: 11px;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background-color 0.3s;
}

.nav-button:hover {
  background-color: #aaa;
}

.nav-button-image {
  width: 30px;
  height: auto;
}

.nav-button {
  user-select: none;
}
/* Slider end */



/* Audio buttons */
.speaker-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.speaker-task, .speaker-background,
.lang-background, .speaker-play {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow .3s ease;
  cursor: pointer;
}

.lang-background {
  transition: box-shadow .3s ease;
}

.speaker-task {
	background-color: var(--speaker-task);
}

.speaker-background, .speaker-play {
	background-color: var(--speaker);
}

.speaker {
  width: 20px;
	padding: 8px;
}

.speaker-play {
	padding: 12px;
}
/* Audio buttons end */


.check-button {
	background-color: #fb9090;
	border: none;
	border-radius: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: box-shadow .3s ease;
	cursor: pointer;
}

.check {
	width: 30px;
	padding: 10px 50px;
}


.container-animation-scrollen {
  position: relative;
  margin: 50px 0;
}


.text-img-task {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0 0;
  text-align: left;
}

.task {
  display: flex;
  display: inline-block;
  justify-content: center;
  align-items: center;
  gap: 5px;
}



.animation-img {
  width: 70px;
  height: 70px;
}

.animation-img.down {
  animation: moveDown 2s ease-in-out infinite;
  padding-bottom: 30px;
}

.animation-img.scroll-down {
  width: 100px;
  height: 100px;
  animation: moveUp 2s ease-in-out infinite;
  padding: 350px 0;
}

.right {
  display: flex;
  align-self: end;
}

@keyframes moveUp {
0% { transform: translateY(0); opacity: 1}
70% { transform: translateY(-30px); opacity: 1}
100% { transform: translateY(-30px); opacity: 0}}

@keyframes moveDown {
0% { transform: translateY(0); opacity: 1}
70% { transform: translateY(30px); opacity: 1}
100% { transform: translateY(30px); opacity: 0}}








/* Drag and Drop */
.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: 100%;
  max-width: 400px;
  height: 120px;
  position: relative;
  border: 2px solid var(--border);
}



/* Schreiben */
.handypfeil {
  width: 25px;
  height: 25px;
}

.correct {
  background-color: var(--correct);
}

.incorrect {
  background-color: var(--incorrect);
}



/* QR-Code */
.qr-code-scannen-container {
  margin: 0 60px;
  display: flex;
  flex-direction: column;
}


























/* ВЫЧИСТИТЬ!!! */
/* Mobile */
@media screen and (max-width: 1060px) {
.main-container {
width: 100%;
gap: 10px;
}
}
@media screen and (max-width: 600px) {
.right {
width: 80px;
}

body {
margin-top: 30px;
}

.progress-bar-chapter {
height: 20px;
}

.chapter-letter {
font-size: 1rem;
left: 5px;
}

.menu {
padding: 11px;
}

.dropdown-option, .dropdown-selected {
font-size: 1rem;
}

.dropdown-selected, .dropdown-option {
width: 150px;
}

audio {
width: 100%;
}

h2 {
font-size: 1.5rem;
}

.random-container {
gap: 10px;
}

.options.random-container {
width: 100%;
}

.speaker.play-button {
height: 16px;
width: 16px;
padding: 8px;
}

.progress-container {
height: 15px;
}

p, div, li {
font-size: 1.2rem;
}

.lesen-sentence p,
.sentence-word p {
margin: 0 0;
}

.letter-in-word {
font-size: 1.5rem;
}

.words {
gap: 5px 40px;
}

.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 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 20px;
}



















#markieren-bild {
width: 60px;
height: 100px;
}

#markieren-bild1{
width: 65px;
height: 100px;
}
.kompetenz .bild-handytastatur{
margin-right: 50px;
}

.button-aufgabe {
border: 1px 30px rgba(220,220,220);
width: 50px;
height: auto;
}


.aufgabe-nextside {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 10px;
}





h2 {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 10px;
}








#container-scrollen{
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}


#scrollen-rechts, #scrollen-links{
width: 450px;
height: 200px;
overflow-x: auto;
white-space: nowrap;
background-color:rgb(95,158,160, 0.2);
display: flex;
align-items: center;
flex-direction: row; 
gap: 100px;
justify-content: center;
scrollbar-width: none;
-ms-overflow-style: none;
margin-bottom: 20px;
}


.scrollen-nummer{
display: flex;
flex-direction: center;
width: 100%;
justify-content: center;
height: 200px;
background-color: grey;
}

#scrollen-links{
direction: rtl;
}

.pfeil {
width: 40px;
display: flex;
justify-content: center;
margin: 10px 0;
}


.pfeil-wischen {
width: 50px;
height:50px;
display: flex;
justify-content: center;
flex-shrink: 0; 
}

.scroll-arrows{
display: flex;
justify-content: center;
flex-direction: column;
gap: 70px;
}






.schreiben-container{
display: flex;
justify-content: center;
margin-bottom: 70px;
}


.letter-orange{
color: var(--alpha);
margin: 0;
}

.letter-blau{
color: #0029ff96;
}

/*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;
}

/* Grüne Farbe für den kurzen Effekt */
.green-img {
background-color: #78B880;
border: 0 solid #78B880;
border-radius: 100px;
transition: background-color 0.3s ease;
}


/*Kompetenz: Schreiben/Tippen */
.schreiben-input {
font-family: "Quicksand", sans-serif;
font-weight: 400;
text-align: center;
height: 10px;
font-size: 1.5rem;
padding: 10px;
border: 2px solid #ccc;
}

.bild-handytastatur {
width: 500px;
height: 250px;   
}





.draggable {
width: 200px;
height: 60px;
background-color: var(--incorrect);
display: flex;
align-items: center;
justify-content: center;
cursor: grab;
touch-action: none;
user-select: none;
border-radius: 10px;
}

.draggable:hover {
background-color: #fd7f7f;
transition: box-shadow .3s ease;
}



.dropzone.dropped {
border: 2px solid var(--correct);
}

.option-container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 20px;
position: relative;
z-index: 1;
min-height: 200px;
min-width: 600px;
overflow: visible;
background-color: gray;
}




















/* Markieren Aufgabe */

.word {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
gap: 1px;
}

.feld {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
gap: 3px;
}

.felder {
width: 100%;
height: auto; 
display: flex;
flex-direction: column;
gap: 3px;
justify-content: center;
}

.words{
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
margin-bottom: 40px;
}


.letter-in-word {
font-size: 40px;
}

.letter-in-feld {
font-size: 22px;
border: 1px solid rgb(189, 189, 189);;
background-color:  #D3d3d3;
width: 50px;
height: 50px;
}

.letter-in-feld-white{
background-color: white;
border: 1px solid rgb(189, 189, 189);
width: 50px;
height: 50px;
}


.letter-in-word:hover, .letter-in-feld-white:hover {
cursor: pointer;
background-color: #316DD380;
}

.letter-in-feld:hover {
background-color: #DAD4EF;
cursor: pointer;
}



/* Zoomen*/

.zoom-container {
width: 300px;
height: 200px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
position: relative;
transition: background-color 0.3s ease-in-out;
border: 10px solid #ffffff;
}

    .zoom-container.gruen {
        border: 10px solid #78B880;
    }

    .zoom-bild {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    }


  
  #moveLeft{
    width: 100px;
    height: 100px;
    animation: moveLeft 3s ease-in-out infinite;
}

#moveRight{
  width: 100px;
  height: 100px;
  animation: moveRight 3s ease-in-out infinite;
}

#moveRight1{
width: 100%;
width: 100px;
height: 100px;
animation: moveRight 3s ease-in-out infinite;
}

/*#moveUp { animation-name: moveUp; }*/
#moveLeft { animation-name: moveLeft; }
#moveRight { animation-name: moveRight; }
#moveRight1 { animation-name: moveRight1; }


@keyframes moveLeft {
      0% { transform: translatex(0); opacity: 0}
      50% { transform: translatex(0); opacity: 1 }
      100% { transform: translatex(-100px); opacity: 1}}

@keyframes moveRight {
      0% { transform: translatex(0); opacity: 0}
      50% { transform: translatex(0); opacity: 1}
      100% { transform: translatex(100px); opacity: 1}}

@keyframes moveRight1 {
0% { transform: translate(0px, 0); opacity: 0; }
50% { transform: translate(60px, 20px); opacity: 1; }
100% { transform: translate(100px, 55px); opacity: 1; }
}


.hand {
width: 70px;
height: auto;
position: absolute;
animation: moveHand 4s ease-in-out infinite;
}

.play-button{
width: 50px; 
height: auto; 
}

.qr-code {
width: 50px; 
height: 100px; 
}

.qr-code1{
width: 50px; 
height: 100px; 
margin-top: -15px;
}

.qr-code-scan {
width:65px;
}




.bilder-container {
display: flex;
flex-direction: center;
padding: 10px;
position: relative;
margin: -30px 0 90px 0;
}


/*@media screen and (max-width: 800px) {  

.kompetenz {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.kompetenz .bild-handytastatur{
  margin-right: 40px;
}

.kompetenz video {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 10px;
}

.text-img h2, .text-img-task h3, h3, .text-img-task h4, h4 {
  width: 100%;
  height: auto;
  display: flex; 
  flex-direction: row; 
  flex-wrap: wrap;
  margin: 10px 0;
  padding: 0 10px;
  justify-content: flex-start;
  align-items: center;
}

#aufgabe-weniger-abstand, .text-img-task, .text-img{
  width: 100%;
  height: auto;
  display: flex; 
  justify-content: start;
  flex-direction: row; 
  flex-wrap: nowrap;
  padding: 0 10px;
  margin-bottom: 30px;
  text-align: left;
}


.qr-code-scan{
  width: 65px;
}

.qr-code1 {
  width:60px;
  margin-top: -30px;
}

.qr-code, .qr-code-scan {
  margin-top: -20px;
}

.text-img {
  margin-bottom: 10px;
}

.text-img-task{
  justify-content: flex-start;
  margin: 0 0 30px 0;
}

.text-img-task img {
display: flex;
justify-content: start;
align-items: center;
width:10px;
}

.text-img-task img{
width: 17px;
}

.play-pause-container {
margin: 0 0 30px 0;
}


#scrollen-rechts, #scrollen-links{
width:100%;
height: 200px;
gap: 100px; 
padding:10px;
}


.letter-in-word {
  font-size: 22px;
}

.bild-handytastatur {
  width: 300px;
  height: auto;   
}


  @keyframes moveRight1 {
    0% { transform: translate(0px, 0); opacity: 0; }
    50% { transform: translate(60px, 20px); opacity: 1; }
    100% { transform: translate(100px, 55px); opacity: 1; }
  }
}

*/






