/* Uhr-Kachel */

.kachel-uhr {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Erzeugt die Optik der Zahnräder */
.zahnrad {
  position: absolute;
  border-radius: 50%;
  border: 12px dashed rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 0 10px rgba(0, 0, 0, 0.2);
}

.zahnrad1 {
  width: 100px;
  height: 100px;
  top: -20px;
  left: -20px;
  animation: drehen 12s linear infinite;
}

.zahnrad2 {
  width: 80px;
  height: 80px;
  bottom: 10px;
  right: -10px;
  animation: drehen-zurueck 8s linear infinite;
}

.zahnrad3 {
  width: 60px;
  height: 60px;
  top: 40px;
  left: 60px;
  animation: drehen 6s linear infinite;
}

/* Die Bewegung für die Zahnräder */
@keyframes drehen {
  100% { transform: rotate(360deg); }
}

@keyframes drehen-zurueck {
  100% { transform: rotate(-360deg); }
}

/* Die Gestaltung der Uhrzeiger */
.zeiger {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  background-color: #ffffff;
  border-radius: 5px;
  z-index: 10;
}

.zeiger-std {
  width: 6px;
  height: 35px;
  margin-left: -3px;
}

.zeiger-min {
  width: 4px;
  height: 50px;
  margin-left: -2px;
}

.zeiger-sek {
  width: 2px;
  height: 60px;
  margin-left: -1px;
  background-color: #cc0000;
}

.uhr-mitte {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  border-radius: 50%;
  z-index: 11;
}
