html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background: #81868b;
    display: flex;
    align-items: center;
    justify-content: center;
	min-width: 510px;
    min-height: 800px;
	overflow: auto;
}

div {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock {
	background: radial-gradient(farthest-corner at 0px 0px, #959595, #6f7478) top left;
    width: 550px;
    height: 800px;
    border-radius: 20px;
    box-shadow: -4px -4px 16px 0 rgba(255 255 255 / 50%),
                4px 4px 16px 0 rgba(0 0 0 / 50%);
}

.time {
    width: 100%;
    height: 60px;
    justify-content: space-between;
    /* box-shadow: 0 0 15px 0 rgba(0 0 0 / 20%); */
}

.container {
    width: 170px;
    height: 40px;
    align-items: baseline;
    position: relative;
    overflow: visible;
    /* box-shadow: 0 0 15px 0 rgba(0 0 0 / 20%); */
}

.counter {
    width: 40px;
    height: 400px;
    display: block;
    background: rgba(0 0 0 /20%);
    border-radius: 5px;
    box-shadow: -4px -4px 16px 0 rgba(255 255 255 / 50%),
                4px 4px 16px 0 rgba(0 0 0 / 50%);
    transition: all 0.3s;
}

.number {
    width: 40px;
    height: 40px;
    color: #eee;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: bold;
    font-size: 20px;
    text-shadow: 0 0 4px #fff;
}

.tens {
    width: 40px;
    display: block;
    position: absolute;
    left: 30px;
}

.ones {
    width: 40px;
    display: block;
    position: absolute;
    right: 30px;
}

.hours .tens {
    height: 120px;
}

.minutes .tens {
    height: 240px;
}

.seconds .tens {
    height: 240px;
}

.circle {
    text-align: center;
    align-items: center;
    display: flex;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: bold;
    font-size: 24px;
    text-shadow: 0 0 8px #fff;
    color: #fff;

    background: rgba(0 0 0 /20%);
    border-radius: 50%;
    box-shadow: -4px -4px 16px 0 rgba(255 255 255 / 50%),
                4px 4px 16px 0 rgba(0 0 0 / 50%);
    transition: all 0.3s;
}

.tens.circle {
    width: 60px;
    height: 60px;
    position: absolute;
    top: -10px;
    left: 20px;
}

.ones.circle {
    width: 60px;
    height: 60px;
    position: absolute;
    top: -10px;
    right: 20px;
}