Help: CSS issue/Noobness

I’M JUST PRACTICING TO HONE THE LITTLE I’VE LEARNED… SHOULDN’T THE WHITE SQUARE ENVELOPE THE ANIMATIONS TOO? IF NOT, HOW?

<!DOCTYPE html>
<html>
<style>
html {
	background-color: gray;
}
body {
	margin:auto;
	font-family: arial;
	width: 940px;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	background-color: white;
}
#page-head {
	font-family: monospace;
	color: black;
}
.wheel {
	width: 200px;
	height: 200px;
	background-color: transparent;
	margin: auto;
	position: fixed;
	border-radius: 50%;
	margin: auto;
	animation-name: rotation;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function:linear;
}
.wheel-detail {
	width:40px;
	height:40px;
	background-color: orange;
	position: absolute;
	border-radius: 50%;
}
#left-wheel {
	left: 20%;
}
#right-wheel {
	left: 60%;
}
#dt1{
	top: 40px;
	left: 40px;
}
#dt2{
	top: 40px;
	left: 120px;
}
#dt3{
	top:120px;
	left:40px;
}
#dt4{
	top:120px;
	left:120px;
}
@keyframes rotation{
	100%{
		transform: rotate(360deg)
	}
}
</style>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title meta="project">Project</title>
	<link rel="stylesheet" href="css/bootstrap-reboot.min">
	

</head>

<body>
	<h1 id="page-head">Wheel</h1>
	<div class="wheel" id="left-wheel">
		<div class="wheel-detail" id="dt1"></div>
		<div class="wheel-detail" id="dt2"></div>
		<div class="wheel-detail" id="dt3"></div>
		<div class="wheel-detail" id="dt4"></div>
	</div>
	<div class="wheel" id="right-wheel">
		<div class="wheel-detail" id="dt1"></div>
		<div class="wheel-detail" id="dt2"></div>
		<div class="wheel-detail" id="dt3"></div>
		<div class="wheel-detail" id="dt4"></div>
	</div>
	<footer>Powered by me</footer>
</body>
</html>

thank you so much, i’m still new to this!

Thank you very much. Now I see clearly how the flow works and how the “position” breaks it.
I still haven’t learn “justify-content” and display yet but still it became study material.

thanks for the teaching.