html,
body {
    margin: 0;
    padding: 0;
    background: #000;
    width: 100%;
    height: 100%;
    position: absolute;
    min-width: 900px;
}

.clock {
    height: 200px;
    width: 1067px;
    text-align: center;
}

.digit {
    width: 120px;
    height: 200px;
    margin: 0 20px;
    position: relative;
    display: inline-block;
}

.digit .segment {
    background: #0ff;
    border-radius: 50px;
    position: absolute;
    opacity: 0.15;
    transition: opacity 0.2s;
    -webkit-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
}

.digit .segment.on,
.separator {
    opacity: 1;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.7);
    transition: opacity 0s;
    -webkit-transition: opacity 0s;
    -ms-transition: opacity 0s;
    -moz-transition: opacity 0s;
    -o-transition: opacity 0s;
}

.separator {
    width: 20px;
    height: 20px;
    background: #0ff;
    border-radius: 100%;
    display: inline-block;
    position: relative;
    top: -110px;
}

.separator:after {
    content: "";
    display: inline-block;
    position: absolute;
    width: 20px;
    height: 20px;
    background: #0ff;
    top: 40px;
    left: 0px;
    border-radius: 100%;
}

.digit .segment:nth-child(1) {
    top: 0px;
    left: 20px;
    right: 20px;
    height: 20px;
}

.digit .segment:nth-child(2) {
    top: 20px;
    right: 0px;
    width: 20px;
    height: 75px;
    height: calc(50% - 25px);
}

.digit .segment:nth-child(3) {
    bottom: 20px;
    right: 0px;
    width: 20px;
    height: 75px;
    height: calc(50% - 25px);
}

.digit .segment:nth-child(4) {
    bottom: 0px;
    right: 20px;
    height: 20px;
    left: 20px;
}

.digit .segment:nth-child(5) {
    bottom: 20px;
    left: 0px;
    width: 20px;
    height: 75px;
    height: calc(50% - 25px);
}

.digit .segment:nth-child(6) {
    top: 20px;
    left: 0px;
    width: 20px;
    height: 75px;
    height: calc(50% - 25px);
}

.digit .segment:nth-child(7) {
    bottom: 90px;
    bottom: calc(50% - 10px);
    right: 20px;
    left: 20px;
    height: 20px;
}