body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: mediumspringgreen;
  font-family: Lato, arial;
}
* {
  box-sizing: border-box;
}
.transitions-off * {
  -webkit-transition: none !important;
  transition: none !important;
}
.clock{
  height: 200px;
}
time {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  display: block;
  text-align: center;
  width: 100%;
}
.dial-container {
  display: inline-block;
  position: relative;
  text-align: center;
  margin: auto;
  -webkit-perspective: 1000;
          perspective: 1000;
  height: 200px;
  width: 126px;
  cursor: default;
}
.dial-container.dial-container--ss,.dial-container.dial-container--s{
  height: 100px;
  width: 65px;
}
span {
  width: 130px;
  height: 100px;
}

.dial {
  top: 0;
  height: 50px;
/* overflow: hidden */
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  position: absolute;
  z-index: 3;
  -webkit-transform-origin: 100px 100px;
          transform-origin: 100px 100px;
}
.dial-container--ss .dial,.dial-container--s .dial{
  height: 25px;
  -webkit-transform-origin: 50px 50px;
  transform-origin: 50px 50px;
}
span {
  display: block;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  height: 100px;
  overflow: hidden;
  background: #462c2e;
  color: #fff;
  text-align: center;
  line-height: 200px;
  font-size: 160px;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
}
.dial-container--ss span,
.dial-container--mm span,
.dial-container--hh span {
  text-align: right;
  padding-right: 4px;
  border-radius: 10px 0 0 0;
}
.dial-container--yyy span,
.dial-container--yy span{
  border-radius: 0 0 0 0;
}

.dial-container--yyyy span,
.dial-container--dd span,
.dial-container--ff span {
  /*text-align: right;*/
  padding-left: 2px;
  border-radius: 2px 0 0 0;
}
.dial-container--ss span,
.dial-container--s span {
  width: 65px;
  height: 50px;
  line-height: 100px;
  font-size: 80px;
}

.dial-container--s span,
.dial-container--m span,
.dial-container--h span {
  text-align: left;
  padding-left: 4px;
  border-radius: 0 10px 0 0;
}

.dial-container--y span ,
.dial-container--d span ,
.dial-container--f span {
  /*text-align: left;*/
  padding-right: 2px;
  border-radius: 0 2px 0 0;
}
.dial-date span {
  width: 13px;
  height: 10px;
  line-height: 20px;
  font-size: 16px;
}
span:first-child {
  z-index: 2;
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
  background-color: #3c2527;
  color: #ccc;
}
span:first-child:after {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(0,0,0,0.2);
  content: ' ';
  position: absolute;
  bottom: 0;
  left: 0;
}
span:last-child {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  border-radius: 0 0 10px 10px;
  line-height: 0;
  -webkit-transform: rotateX(180deg);
          transform: rotateX(180deg);
}
.dial-container--ss span:last-child,
.dial-container--mm span:last-child,
.dial-container--hh span:last-child {
  border-radius: 0 0 0 10px;
}

.dial-container--yyyy span:last-child,
.dial-container--dd span:last-child,
.dial-container--ff span:last-child {
  border-radius: 0 0 0 2px;
}
.dial-container--s span:last-child,
.dial-container--m span:last-child,
.dial-container--h span:last-child {
  border-radius: 0 0 10px 0;
}

.dial-container--y span:last-child,
.dial-container--d span:last-child,
.dial-container--f span:last-child {
  border-radius: 0 0 2px 0;
}
.dial-container--yyy span:last-child,
.dial-container--yy span:last-child {
  border-radius: 0 0 0 0;
}
.dial--static,
.dial--next {
  -webkit-transform: rotateX(0deg) !important;
          transform: rotateX(0deg) !important;
}
.dial--flipped {
  z-index: 2;
  -webkit-transform: rotateX(180deg) !important;
          transform: rotateX(180deg) !important;
}
.dial--next {
  z-index: 2;
}
.dial--later {
  z-index: 1;
}
.dial-container--third {
  display: inline-block;
  position: relative;
  text-align: center;
  margin: auto;
  -webkit-perspective: 1000;
  perspective: 1000;
  height: 200px;
  width: 144px;
  cursor: default;
}
.dial-container--date{
  display: block;
  position: relative;
  top: -25px;
  left: 0;
  height: 40px;
  width: 140px;
  line-height: 20px;
  font-size: 10px;
  font-weight: bold;
  /*background: #462c2e;*/
  color: #fff;
}


.dial-date{
  height: 20px;
  width: 13px;
}

.dial-date .dial{
  height: 5px;
  width: 13px;
  -webkit-transform-origin: 10px 10px;
  transform-origin: 10px 10px;
}