* {
  -webkit-font-smoothing: antialiased;
}

/****fonts****/
@font-face {
  font-family: 'Gotham-Bold';
  src: url('Gotham-Bold.eot?#iefix') format('embedded-opentype'),  url('Gotham-Bold.otf')  format('opentype'),
       url('Gotham-Bold.woff') format('woff'), url('Gotham-Bold.ttf')  format('truetype'), url('Gotham-Bold.svg#Gotham-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'ds-digitalnormal';
    src: url('ds-digi-webfont.woff2') format('woff2'),
         url('ds-digi-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


html,body, p {
  margin: 0;
  text-transform: uppercase;
}

.main {
  width: 300px;
  height: 100px;
  background: url('bg.png');
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

p {
  position: absolute;;
  top: 32px;
  width: 168px;
  text-align: center;
  color: white;
  font-family: 'Gotham-Bold';
  font-size: 8px;
  text-transform: uppercase;
}

.countdown {
  color: #f5d6a7;
  font-family: 'ds-digitalnormal';
  text-align: center;
  width: 168px;
  position: absolute;
  top: 59px;
}

.time {
  font-size: 42px;
  text-transform: uppercase;
}

.ampm {
  font-size: 16px;
  text-transform: uppercase;
}

.watch {
  position: absolute;;
  left: 166px;
  top: -67px;
}

.clock {
  position: absolute;
  width: 111px;
  height: 111px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0);
  left: 182px;
  top: -6px;
}

.minutes-container, .hours-container, .seconds-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.hours {
  background: transparent;
  height: 20%;
  left: 48.75%;
  position: absolute;
  top: 30%;
  transform-origin: 50% 100%;
  width: 2.5%;
}

.minutes {
  background: transparent;
  height: 40%;
  left: 49%;
  position: absolute;
  top: 10%;
  transform-origin: 50% 100%;
  width: 2%;
}

.seconds {
  background: transparent;
  height: 45%;
  left: 49.5%;
  position: absolute;
  top: 14%;
  transform-origin: 50% 80%;
  width: 1%;
  z-index: 8;
}

.hours img {
  position: absolute;
  left: -3px;
  top: -9px;
}

.minutes img {
  position: absolute;
  left: -2px;
  top: 0px;
}

.seconds img {
  position: absolute;
  left: -4px;
  top: -8px;
}

.dates {
  position: absolute;
  left: 201px;
  top: 13px;
}

@keyframes rotate {
  100% {
    transform: rotateZ(360deg);
  }
}

.hours-container {
  animation: rotate 43200s infinite linear;
}

.minutes-container {
  transition: transform 0.1s linear;
}
.seconds-container {
  animation: rotate 60s infinite linear;
}
