:root{
    --diametro: 500px;
    --raio: calc(var(--diametro) / 2);
    --raio-texto: calc(var(--raio) - 35px);
    --espessura-da-borda: 60px;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: #464646;
}

.moldura-externa{
    width: calc(var(--diametro) + var(--espessura-da-borda));
    height: calc(var(--diametro) + var(--espessura-da-borda));
    border-radius: 50%;
    box-shadow: inset 0px 0px 20px rgb(77, 55, 0);
    background-color: rgb(145, 123, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.moldura{
    width: var(--diametro);
    height: var(--diametro);
    background-color: #dedede;
    border: 1px solid #000;
    border-radius: 50%;
    box-shadow: inset 0px 0px 50px #313300;
    position: relative;
}

#ponteiro_hora, #ponteiro_minuto, #ponteiro_segundo, .eixo{
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 3px;
    transform-origin: bottom center;
    box-shadow: 2px 2px 3px #00000065;
}

#ponteiro_hora{
    height: calc(0.50 * var(--diametro) / 2);
    background-color: #690000;
    z-index: 4;
}

#ponteiro_minuto{
    height: calc(0.70 * var(--diametro) / 2);
    background-color: #006900;
    z-index: 3;
}

#ponteiro_segundo{
    height: calc(0.90 * var(--diametro) / 2);
    background-color: #000069;
    z-index: 2;
}

#medidor_hora, #medidor_minuto{
    position: absolute;
    left: 50%;
    transform-origin: 0px var(--raio);
    background-color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-stretch: condensed;
    font-weight: bold;
}

#medidor_hora{
    width: 2px;
    height: 20px;
    bottom: calc(50% + var(--diametro) / 2 - 20px);
}

#medidor_minuto{
    width: 1px;
    height: 15px;
    bottom: calc(50% + var(--diametro) / 2 - 15px);
    transform: rotate(6deg);
}

.eixo{
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #000;
    transform: translate(-2px, 3px);
    z-index: 5;
}

#numeral{
    text-align: center;
    line-height: 30px;
    width: 30px;
    height: 30px;

    position: absolute;

    left: calc(50% - 15px);
    bottom: calc(50% - 15px + var(--raio-texto));
    z-index: 1;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-stretch: condensed;
    font-weight: bold;
}