* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: aquamarine;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    color: #000;
    margin-bottom: 20px;
}

.relogio {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #222 60%, #000 100%);
    border: 10px solid #999;
    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.1),  /* borda metálica e vidro fosco*/
        0 0 30px rgba(0, 0, 0, 0.7);
    position: relative;
}

.riscos {
    width: 100%;
    height: 100%;
    padding-left: 50%;
    padding-top: 50%;
    margin-top: -3px;
}
.risco {
    width: 145px;
    height: 5px;
    position: absolute;
    transform-origin: left;
    display: flex;
    justify-content: flex-end;
}
.risco .ponto {
    width: 15px;
    height: 100%;
    background-color: #FFF;
}

.ponteiros {
    width: 100%;
    height: 100%;
    padding-left: 50%;
    padding-top: 50%;
    margin-top: -100%;
}
.p {
    transform-origin: left;  /* a raiz do elemento está no lado esquerdo do próprio elemento, coincidindo com o centro do relógio e podendo assim rotacionar os ponteiros da maneira correta */
    transform: rotate(0deg);  /* 0 é a posição que ele está */
    border-radius: 50%;
    position: absolute;
}

.p_s {
    width: 100px;
    height: 3px;
    background-color: #F00;
}
.p_m {
    width: 120px;
    height: 7px;
    background-color: #FFF;
}
.p_h {
    width: 70px;
    height: 10px;
    background-color: #FFF;
}
.encaixe {
    width: 20px;
    height: 20px;
    background-color: #FFF;
    border-radius: 50%;
    position: absolute;
    margin-top: -5px;
    margin-left: -5px;
}
.digital {
    color: #000;
    font-size: 40px;
    margin-top: 20px;
}

footer {
    margin-top: 20px;
    color: #222;
    font-size: 13px;
    text-align: center;
}