@import '../../common/styles/pubgm/_layout.less';
@import '../../common/styles/pubgm/mixins.less';

.pmg-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pmg-separator {
  font-size: @font-xl; 
  color: @color-white;
  line-height: .66rem; 
  display: flex;
  align-items: flex-end;
  height: .66rem;
}
.pmg-flip-digit {
  position: relative;
  height: .66rem;
  width: .2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pmg-digit-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pmg-digit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: @font-xl; 
  color: @color-white;
  line-height: 1;
}

.pmg-digit-out {
  animation: slideOut .5s ease-in-out forwards;
}

.pmg-digit-in {
  animation: slideIn .5s ease-in-out forwards;
}

@keyframes slideOut {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes slideIn {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
