@media screen all {
	p {
	width: 100%;
	height: 100%
	}
}

html, body {
	max-height: 100%;
 	max-width: 100%;
	background-color: black;
}

.ball {
	width: 200px;
	height: 200px;
	position: relative;
	background: lightgray;
	animation-name: move;
	animation-duration: 10s;
	animation-iteration-count: infinite;
	animation-delay: 4;
	animation-timing-function: ease-in-out;
	animation-direction: alternate;
}

@keyframes move {
	0% {background-color: black; 
		left: 0%; top: 10%; 
		border-radius: 80% 50% 80% 50%;}
	20% {background-color: black; 
		left: 0%; top: 10%; 
		border-radius: 80% 50% 80% 50%;}
	50% {background-color: white; 
		left: 40%; top: 10%; 
		border-radius: 50% 50% 50% 50%;}
	80% {background-color: black; 
		left: 80%; top: 10%; 
		border-radius: 50% 80% 50% 80%;}
	100% {background-color: black; 
		left: 80%; top: 10%; 
		border-radius: 50% 80% 50% 80%;}
}
.ball2 {
	width: 200px;
	height: 200px;
	position: relative;
	background: lightgray;
	animation-name: moves;
	animation-duration: 10s;
	animation-iteration-count: infinite;
	animation-delay: 4;
	animation-timing-function: ease-in-out;
	animation-direction: alternate-reverse;
}

@keyframes moves {
	0% {background-color: black; 
		left: 0%; top: 10%; 
		border-radius: 80% 50% 80% 50%;}
	20% {background-color: black; 
		left: 0%; top: 10%; 
		border-radius: 80% 50% 80% 50%;}
	50% {background-color: white; 
		left: 40%; top: 10%; 
		border-radius: 50% 50% 50% 50%;}
	80% {background-color: black; 
		left: 80%; top: 10%; 
		border-radius: 50% 80% 50% 80%;}
	100% {background-color: black; 
		left: 80%; top: 10%; 
		border-radius: 50% 80% 50% 80%;}
}

.linkit {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
}
.linkki {
	flex: 1;
}

.linkki:nth-child(1) {
	cursor:  w-resize;
}
.linkki:nth-child(2) {
	cursor: e-resize;
}