/* timer */
.countdown {
    display: flex;
}

.flip-wrapper {}

.deadline-text {
    font-size: 16px;
    margin-top: 10px;
    color: #fc328a;
    font-weight: 700;
}

.flip-unit {
    text-align: center;
}

.flip-card {
    position: relative;
    width: 40px;
    height: 60px;
    perspective: 1200px;
}

.top,
.bottom,
.top-flip,
.bottom-flip {
    position: absolute;
    width: 100%;
    height: 50%;
    overflow: hidden;
    background: linear-gradient(#444, #111);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
}

.top {
    top: 0;
    border-radius: 8px 8px 0 0;
}

.bottom {
    bottom: 0;
    border-radius: 0 0 8px 8px;
}

.top-flip {
    top: 0;
    transform-origin: bottom;
}

.bottom-flip {
    bottom: 0;
    transform-origin: top;
    transform: rotateX(90deg);
}

.flip-card.flip .top-flip {
    animation: flipTop 0.6s ease-in forwards;
}

.flip-card.flip .bottom-flip {
    animation: flipBottom 0.6s ease-out forwards;
}

@keyframes flipTop {
    to {
        transform: rotateX(-90deg);
    }
}

@keyframes flipBottom {
    to {
        transform: rotateX(0deg);
    }
}

.separator {
    font-size: 44px;
    font-weight: bold;
    margin: 0 10px;
}

/* timer */