
*, *::after, *::before {
    box-sizing: border-box;
    font-family: rubik moonrocks;
    --backgroundColor: rgb(255, 136, 0);
}

@font-face {
    font-family: rubik;
    src: url(../resources/Rubik/Rubik-Italic-VariableFont_wght.ttf)
}

.clock {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid rgb(255, 136, 0);
    position: relative;
    text-align: center;
    margin: auto;
}
.clock .hand {
    --rotation: 0;
    position: absolute;
    left: 50%;
    bottom: 50%;
    z-index: 10;
    transform-origin: bottom;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
}
.clock::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: black;
    border-radius: 50%;
    z-index: 11;
    border: white 1px solid;
}
.clock .hand.second {
    height: 45%;
    width: 2px;
    background-color: red;
}
.clock .hand.minute {
    height: 40%;
    width: 7px;
    background-color: black;
    border: white 1px solid;
}
.clock .hand.hour {
    height: 35%;
    width: 10px;
    background-color: black;
    border: white 1px solid;
}
.clock .number {
    --rotation: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(var(--rotation));
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
    font-family: rubik;
}
.clock .number1 {--rotation: 30deg;}
.clock .number2 {--rotation: 60deg;}
.clock .number3 {--rotation: 90deg;}
.clock .number4 {--rotation: 120deg;}
.clock .number5 {--rotation: 150deg;}
.clock .number6 {--rotation: 180deg;}
.clock .number7 {--rotation: 210deg;}
.clock .number8 {--rotation: 240deg;}
.clock .number9 {--rotation: 270deg;}
.clock .number10 {--rotation: 300deg;}
.clock .number11 {--rotation: 330deg;}
.clock .number12 {--rotation: 0deg;}