/*jump.css*/
* {
	padding: 0;
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	box-sizing: border-box;
}

body {
	display: grid;
	place-items: center;
	overflow-x: hidden;
	background-image: linear-gradient(to right, #fa709a 0%, #fee140 100%);
	gap: clamp(10rem, 1vh, 4rem);
	margin-top: 20px;

}
@media (max-width: 600px) {
	.dialog {
	  width: 90%;

	}
  }
 
 
 
  @media (min-width: 768px) {
	#loslegen-dialog {
	  width: 70%;
	}
  }



  @media (max-width: 600px) {
	#container {
	  width: 90%;
	}
  }
  
  @media (min-width: 768px) {
	#container {
	  width: 70%;
	}
}

.modus {
	display: flex;
	justify-content: center;
	align-items: center;

}

.box {
	display: flex;
	text-align: left;
	justify-content: left;
	align-items: left;
	grid-template-columns: 1fr 1fr;
	display: grid;
	margin: -100px;



}

a {
	text-decoration: none;
	font-family: sans-serif;
	font-weight: bold;
	color: aliceblue;
	text-shadow: 1px 1px 1px black;
}




.dinogame2 {
	position: relative;
	text-decoration: none;
	box-shadow: 0 4px 8px rgba(255, 255, 255, 0.696);

	border-radius: 10px;
	width: 150px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	margin: 10px;
	background-color: transparent;
}

.dinogame2::before {
	content: "";
	width: 100%;
	height: 100%;
	border-radius: 10px;
	background-image: linear-gradient(var(--rotate), #fc5185, #fdb827);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	animation: com 5s linear infinite;
	filter: brightness(150%) contrast(150%);
	/* Erhöhte Helligkeit und Kontrast */
}

.dinogame2 a {
	color: white;
	z-index: 1;
}

.dinogame2:before,
.dinogame2:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 10px;
}

.dinogame2:before {
	background: linear-gradient(45deg, #fc5185, #fdb827);
	top: -2px;
	left: -2px;
	background-size: 400%;
	z-index: -1;
	filter: blur(5px);
	opacity: 1;
	animation: glow 20s linear infinite;
}

.dinogame2:after {
	background-image: linear-gradient(var(--rotate), #fc5185, #fdb827);
	top: 0;
	left: 0;
	z-index: -1;
	animation: com 3s linear infinite;
}

@keyframes glow {
	0% {
		background-position: 0 0;
	}

	50% {
		background-position: 400% 0;
	}

	100% {
		background-position: 0 0;
	}
}

@keyframes com {
	0% {
		--rotate: 0deg;
	}

	100% {
		--rotate: 360deg;
	}
}

@property --rotate {
	syntax: "<angle>";
	initial-value: 132deg;
	inherits: false;
}







.computer2 {
	position: relative;
	text-decoration: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	width: 150px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	margin: 10px;
	background-image: linear-gradient(var(--rotate), #fa709a, #fee140 100%, #fa709a);
}





.multiplayer {
	position: relative;
	text-decoration: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	width: 150px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	margin: 10px;
	background-image: linear-gradient(var(--rotate), #fa709a, #fee140 100%, #fa709a);
}


.computer {
	position: relative;
	text-decoration: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	width: 150px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	margin: 10px;
	background-image: linear-gradient(var(--rotate), #fa709a, #fee140 100%, #fa709a);
}


.dinogame {
	position: relative;
	text-decoration: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	width: 150px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	margin: 10px;
	background-image: linear-gradient(var(--rotate), #fa709a, #fee140 100%, #fa709a);
}





#container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  width: 90%;
  height: 300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.349);
}

#container #cactus {
	position: absolute;
	bottom: -20px;
	height: 80px;
	width: 125px;
	right: -50px;
	z-index: 1;

}

#container #cactus img {
	height: 40px;
	width: 40px;
	border-radius: 100px;
}

.cactusActive {
	animation: cactusanimate 3s linear infinite;
}

@keyframes cactusanimate {
	0% {
		right: -225px;
	}

	100% {
		right: 100%;
	}
}





#container #dino {
	position: absolute;
	bottom: 28px;
	height: 50px;
	width: 50px;
	left: 20px;
	z-index: 1;
}

#container #dino img {
	height: 50px;
	width: 50px;

}

.dinoActive {
	animation: dinoanimate 0.8s linear infinite;
}


@keyframes dinoanimate {
    0%,
    100% {
        bottom: 30px;
    }

    45%,
    55% {
        bottom: 200px;
    }
}









#container #road {
	bottom: 0;
	position: absolute;
	width: 1200px;
	height: 30px;
}

#container #road img {
	position: absolute;
	animation: none;
	left: 0;
	width: 2000px;
	height: 30px;
}

@keyframes roadanimate {
	0% {
		left: 0;
	}

	100% {
		left: -800px;
	}
}

#container #cloud {
    height: 80px;
    width: 1200px;
    border-radius: 40px;
    position: absolute;
    top: 30px;
}

#container #cloud img {
    height: 80px;
    width: 2000px;
    position: absolute;
    left: -100px;
    animation: none;
}

@keyframes cloudanimate {
    0% {
        left: -2000px;
    }

    100% {
        left: 100%;
    }
}


#score {
	height: auto;
	width: auto;
	position: absolute;
	top: 20px;
	right: 10px;
}

#gameover {
	display: none;
	font-size: 70px;
	position: absolute;
	left: calc(50% - 181px);
	top: calc(50% - 40px);
	width: 362px;
	height: 80px;
    color: #525252;

}