* {
    box-sizing: border-box;
}



#container {
    width: 200px;
    height: 80px;
    overflow: hidden;
    position: relative;
}

#container .page {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    transition: .4s;
    text-align: center!important;
}

.navButton {
    font-size: 16px;
    color: #f5f5f5;
    align-items: center;
    cursor: pointer;
    line-height: 0.8;
    font-weight: 500;
}

.navButton i {
    font-size: 18px;
    font-weight: 400;
}

/* Setting Page */
#timeSetPage {
    left: 0;
}

#container.page1 #timeSetPage {
    left: 0;
}

#container.page2 #timeSetPage {
    left: -100%;
}

#contButton {
    float: right;

}

#contButton i {
    margin-left: 5px;
}

#timeSetPage label {
    color: #999;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    display: block;
}

/* Counter Page */
#timeCounterPage {
    left: 100%;
}

#container.page1 #timeCounterPage {
    left: 100%;
}

#container.page2 #timeCounterPage {
    left: 0;
}

#backButton {
    margin-top: 0px;
    margin-bottom: 5px;
}

#backButton i {
    margin-right: 5px;
}

#timeCounterPage .clockWrapper {
    height: 35px;
    width: 100%;
    cursor: default;
    user-select: none;
    position: relative;
    animation: hue 2.5s linear infinite;
}

#timeCounterPage .clockFrame,
#timeCounterPage span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#timeCounterPage .clockFrame {

    height: calc(100% - 5px);
    width: calc(100% - 5px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#timeCounterPage span {
    height: 100%;
    width: 100%;
    background: inherit;
    border-radius: 10px;
}

#timeCounterPage span:first-child {
    filter: blur(5px);
}

#timeCounterPage span:last-child {
    filter: blur(10px);
}

#timeCounterPage .clockFrame #clock {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #2f2f2f, #f54703, #464545);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hue 2.5s linear infinite;
}

@keyframes hue {
    100% {
        filter: hue-rotate(360deg);
    }
}
@media (max-width: 768px) {
    #timeCounterPage .clockFrame #clock {
    color: #fff;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #2f2f2f, #f54703, #464545);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hue 2.5s linear infinite;
}
    .navButton {
    font-size: 13px;
    color: #f5f5f5;
    align-items: center;
    cursor: pointer;
    line-height: 0.8;
    font-weight: 500;
}
}
