* {
  padding: 0;
  margin: 0;
}
body {
  background-color: white;
}
.image-container {
  margin: 1rem auto 0;
  width: 40vw;
  height: 40vw;
  background-image: url("images/clock.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  position: relative;
}
.hours {
  position: absolute;
  width: 1.75%;
  height: 24%;
  border-radius: 10px;
  background-color: red;
  z-index: 2;
  top: 26%;
  left: 50%;
  transform-origin: bottom;
}
.minutes {
  position: absolute;
  width: 1.5%;
  height: 30%;
  border-radius: 10px;
  background-color: green;
  z-index: 2;
  top: 20%;
  left: 50%;
  transform-origin: bottom;
}
.seconds {
  position: absolute;
  width: 1.25%;
  height: 35%;
  border-radius: 10px;
  background-color: blue;
  z-index: 2;
  top: 15%;
  left: 50%;
  transform-origin: bottom;
}
.digital-clock {
  position: absolute;
  height: 10%;
  width: 35%;
  left: 32.5%;
  top: 28%;
  z-index: 1;
  background-color: yellow;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.digital-clock div {
  color: white;
  height: 80%;
  width: 20%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
.night {
  background-color: black;
  filter: invert(1);
}
@media screen and (max-width: 778px) {
  .digital-clock div {
    font-size: small;
  }
}
@media screen and (max-width: 660px) {
  .digital-clock div {
    font-size: smaller;
  }
}
@media screen and (max-width: 550px) {
  .digital-clock div {
    font-size: x-small;
  }
}
@media screen and (max-width: 460px) {
  .digital-clock div {
    font-size: xx-small;
  }
}
