@charset "UTF-8";
/* Eigene Einträge */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p {
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}

body {
  height: 85vh;
  display: grid;
  background: #212121;
}
	
.zentriert {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 120;
	color: #D4AD00;
	font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, serif;
	font-weight: 300;
	font-size: xx-large;
	text-align: center;
	line-height: 1.6em;
	text-shadow: 0 0 24px #B09D50;
	width: 90%;
}
	
.move {
  margin: auto;
  height: 1000px;
  width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
}
.quadrat {
  color: grey;

}
.quadrat:nth-child(even) {
  background: #212121;
  animation-delay: 1s;
}
.quadrat:nth-child(odd) {
  background: #3A3222;
  z-index: 1;
  position: relative;
}

.quadrat:nth-child(5n + 1) {
  animation: rotate linear 20s infinite;
}
.quadrat:nth-child(5n + 2) {
  animation: rotate linear 20s infinite;
  animation-delay: 2.25s;
}
.quadrat:nth-child(5n + 3) {
  animation: rotate linear 20s infinite;
  animation-delay: 3.5s;
}
.quadrat:nth-child(5n + 4) {
  animation: rotate linear 20s infinite;
  animation-delay: 4.75s;
}
.quadrat:nth-child(5n + 5) {
  animation: rotate linear 20s infinite;
  animation-delay: 5s;
}

@keyframes rotate {
  10% {
    transform: rotate(45deg);
  }
  50% {
    transform: rotate(45deg);
  }
  75% {
    transform: rotate(0);
  }
}