/* Reset CSS */

html, body {
  background: none;
  z-index: 1;
  height: 100vh;
  width: 100vw;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  font-family: Founders Grotesk;
}

a, button, input, label {
  cursor: pointer
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}
 @font-face {
  font-family: Founders Grotesk;
  src: url(../font/founders/FoundersGrotesk-Regular.otf);
 }

 @font-face {
  font-family: Synt;
  src: url(../font/ABCSynt/ABCSynt-Regular-Trial.otf);
 }

 @font-face {
  font-family: Synt Turbo;
  src: url(../font/ABCSynt/ABCSynt-Turbo-Trial.otf);
 }

/* Your CSS */

.bg {
  position:absolute;
  top:0;
  left:0;
  width: 100vw;
  height: 100vh;
}

.bg img {
  object-fit: cover;
  width: 100%;
}



nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.headline{
  top: 2vw;
  font-size: 7rem;
  overflow:hidden;
  font-family: Synt;
  padding-left: 2vw;
  padding-right: 2vw;
  z-index: 1;

}

.fadeout {
  display: none !important;
}

.fadein {
  display: block !important;
}

.headline2 {
  top: 2vw;
  font-size: 7rem;
  overflow:hidden;
  font-family: Synt Turbo;
  display: none;
  padding-left: 2vw;
  padding-right: 2vw;

}

.headline3 {
  top: 2vw;
  font-size: 7rem;
  overflow:hidden;
  font-family: Synt;
  display: none;
}

.headline4 {
  top: 2vw;
  font-size: 7rem;
  overflow:hidden;
  font-family: Synt;
  display: none;
}

.headline5 {
  top: 2vw;
  font-size: 7rem;
  overflow:hidden;
  font-family: Synt;
  display: none;
}

.headline6 {
  top: 2vw;
  font-size: 7rem;
  overflow:hidden;
  font-family: Synt;
  display: none;
}


    
/* .headline:hover ~ .headline2 {
display: block;
} */


/* .headline:hover a{
  visibility: hidden;
  opacity: 0;
}

.headline:hover::before{
  content: "SpeedUpHalle";
  font-family: Synt Turbo;
  visibility: visible;
  opacity: 1;
} */

button {
	width: 50px;
	height: 50px;
	font-size: 12px;
	border: 2px solid;
  background: transparent;
	border-radius: 35px;
	margin: 12px;
	outline:none;
  z-index: 1;
}

#randomizeButton {
  border: 2px solid rgb(33, 103, 33);
  color:rgb(33, 103, 33);
  top: 2vh;
}

#resetButton{
  border: 2px solid orange;
  color:orange;
  top: 2vh;
}

#aboutButton{
  border: 2px solid rgb(0, 102, 255);
  color:rgb(0, 102, 255);
  top: 2vh;
}

#imprintButton{
  border: 2px solid rgb(255, 0, 195);
  color:rgb(255, 0, 195);
  top: 2vh;
}

/*#karteButton{
  border: 2px solid rgb(189, 18, 18);
  color:rgb(189, 18, 18);
}*/

/*.notRec{
	
}

.Rec{
	animation-name: pulse;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

@keyframes pulse{
	0%{
		box-shadow: 0px 0px 5px 0px rgba(173,0,0,.3);
	}
	65%{
		box-shadow: 0px 0px 5px 13px rgba(173,0,0,.3);
	}
	90%{
		box-shadow: 0px 0px 5px 13px rgba(173,0,0,0);
	}
}*/

/* Optional: Stil für das Bild */
/*#image {
  max-width: 100%;
  height: auto;
  display: none; /* Bild standardmäßig ausgeblendet */
  /*opacity: 0.2;
  overflow: hidden;
}*/

#L {
  position: absolute;
  top: 50vh;
  left: 1vw;
  z-index: 1;
}

#R {
  position: absolute;
  top: 50vh;
  right: 1vw;
  z-index: 1;
}

#C {
  position: absolute;
  top: 50vh;
  left: 50vw;
  z-index: 1;
}

#container {
  position: relative;
  width: 100vw;
  height: 70vh;
  background: none;
  text-align: center;
  line-height: 50%;
  z-index: 1;
}

/* .BallContainer {
  justify-content: center;
} */

#ball1 {
  position: absolute;
  top: 35vh;
  left: 31vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: red;
  cursor: grab;
  mix-blend-mode: multiply;
}


#ball2 {
  position: absolute;
  top: 12vh;
  left: 90vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: blue;
  cursor: grab;
  mix-blend-mode: multiply;
}

#ball3 {
  position: absolute;
  top: 30vh;
  left: 30vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(220, 141, 200);
  cursor: grab;
  mix-blend-mode: multiply;
}

#ball4 {
  position: absolute;
  top: 12vh;
  left: 13vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(167, 220, 141);
  cursor: grab;
  mix-blend-mode: multiply;
}

#ball5 {
  position: absolute;
  top:32vh;
  left: 32vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(151, 44, 175);
  cursor: grab;
  mix-blend-mode: multiply;
}

#ball6 {
  position: absolute;
  top: 70vh;
  left: 80vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(252, 92, 33);
  cursor: grab;
  mix-blend-mode: multiply;
}

#ball7 {
  position: absolute;
  top: 14vh;
  left: 14vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(33, 150, 252);
  cursor: grab;
  mix-blend-mode: multiply;
}

#ball8 {
  position: absolute;
  top: 15vh;
  left: 78vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(11, 131, 41);
  cursor: grab;
  mix-blend-mode: multiply;
}

#ball9 {
  position: absolute;
  top: 27vh;
  left: 29vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(239, 53, 155);
  cursor: grab;
  mix-blend-mode: multiply;
}

#ball10 {
  position: absolute;
  top: 37vh;
  left: 29vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(79, 155, 167);
  cursor: grab;
  mix-blend-mode: multiply;
}

#ball11 {
  position: absolute;
  top: 0vh;
  left: 50vw;
  width: 53px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(255, 149, 0);
  cursor: grab;
  mix-blend-mode: multiply;
}

#ball12 {
  position: absolute;
  top: 22vh;
  left: 25vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(255, 247, 0);
  cursor: grab;
  mix-blend-mode: multiply;
}

#ball13 {
  position: absolute;
  top: 33vh;
  left: 91vw;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(255, 0, 221);
  cursor: grab;
  mix-blend-mode: multiply;
}

.ballText {
  padding: 10px;
    text-align: center;
    width: auto; /* Passt die Breite an den Inhalt an */
    max-width: 100%; /* Sicherstellen, dass es nicht die Container-Breite überschreitet */
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 16px;
    line-height: 16px;
    margin-left: 1vw;
    margin-top: 0.4vh;
  }

  #aboutContainer {
    position: relative;
    width: 45vw;
    height: 70vh;
    background: none;
    text-align: justify;
    line-height: 50%;
    z-index: 1;
    display: none;
    margin-left: 5vw;
    margin-right: 50vw;
    margin-top: 2vh;
    font-size: 20px;
    line-height: 18px;
  }

  #about2Container {
    position: relative;
    width: 45vw;
    height: 70vh;
    background: none;
    text-align: justify;
    line-height: 50%;
    z-index: 1;
    display: none;
    margin-right: 5vw;
    margin-left: 50vw;
    margin-top: 2vh;
    font-size: 20px;
    line-height: 18px;
  }


/* Allgemeine Styles für den Range-Input */
input[type="range"] {
  -webkit-appearance: none; /* WebKit-basierte Browser */
  width: 100vw;
  height: 3px;
  background: transparent;
  outline: none;
  z-index: 1;
}

/* Styles für den Track */
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  background: transparent;
  border-radius: 5px;
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8px;
  background: transparent;
  border-radius: 5px;
}

input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 5px;
}

input[type="range"]::-ms-track {
    width: 100%;
    height: 8px;
    background: transparent; /* Hintergrund des Tracks auf transparent gesetzt */
    border-color: transparent;
    color: transparent;
    border-radius: 5px;
}

/* Remove default progress track colors */
input[type="range"]::-moz-range-progress {
  background: black; /* Farbe für den Fortschrittsbalken */
  height: 8px;
  border-radius: 5px;
}

input[type="range"]::-ms-fill-lower {
  background: black; /* Farbe für den unteren Teil des Tracks */
  border-radius: 5px;
}

input[type="range"]::-ms-fill-upper {
  background: transparent; /* Hintergrund des oberen Teils des Tracks auf transparent gesetzt */
  border-radius: 5px;
}

/* Styles für den Thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  margin-top: -10.5px;
  background: black;
  cursor: grab;
  border-radius: 50%;
  box-shadow: 0 0 2px 0 rgba(0,0,0,0.3);
  background-color: var(--thumb-color, #000);
}

input[type="range"]::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: black;
  cursor: grab;
  border-radius: 50%;
  box-shadow: 0 0 2px 0 rgba(0,0,0,0.3);
  background-color: var(--thumb-color, #000);
}

/* Damit der Thumb mittig auf dem Track liegt für Firefox */
input[type="range"]::-moz-range-thumb {
  transform: translateY(-10.5px);
  background-color: var(--thumb-color, #000);
}

#volume {
  position: absolute;
  bottom: 8vh;
}

#volume-text {
  position: fixed;
  bottom: 7vh;
  right: 0vw;
  margin-left:10px;
  margin-right: 2vw;
}

#speed {
  position: absolute;
  bottom: 3vh;
}

#speed-text {
  position: fixed;
  bottom: 2vh;
  right: 0vw;
  margin-left:10px;
  margin-right: 2vw;

}

/* Media Queries */

@media screen and (max-width:500px){
}
