* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

html,
body {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #091419, #172a30, #1b2f38);

}

.clock {
    position: relative;
    height: 70vmin;
    width: 70vmin;
    background: radial-gradient(circle, #0f2e3d, #0f181e);
    background-color: #243e4d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 9px 9px 30px rgba(0, 0, 0, 0.5),
        inset 0px 4px 20px 6px rgba(216, 216, 216, 0.2),
        inset -4px -4px 20px 10px rgba(0, 0, 0, 0.8);
}

.num {
    position: absolute;
    inset: 20px;
    text-align: center;
    transform: rotate(calc(30deg*var(--v)));
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.2);
}

.num b {
    transform: rotate(calc(-30deg*var(--v)));
    display: inline-block;
    font-size: 40px;
}

.dot {
    position: absolute;
    width: 10%;
    height: 10%;
    background-color: #021526;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5),
        inset 0px 4px 5px rgba(255, 255, 255, 0.2),
        inset 0px -4px 5px rgba(0, 0, 0, 0.8);
}

.digital_clock {
    position: absolute;
    width: 35%;
    height: 10%;
    background-color: #000;
    bottom: 30%;
    background: transparent;
    box-shadow: inset 1px 2px 10px rgba(0, 0, 0, 0.8), -1px -2px 10px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 8%;
    font-size: 32px;
    font-weight: 600;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
}

.dh {
    color: rgb(72, 242, 242);
}

.dm {
    color: rgb(72, 242, 117);
}

.ds {
    color: rgb(242, 72, 188);
}

.hour_hand,
.min_hand,
.sec_hand {
    position: absolute;
    background: #000;
    border-radius: 20px;
    transform-origin: bottom;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
}

.hour_hand {
    width: 1%;
    height: 30%;
    top: 20%;
    left: 49.5%;
    background-color: rgb(72, 242, 242);
    box-shadow: 0px 0px 15px cyan;
}

.min_hand {
    width: 1%;
    height: 35%;
    top: 15%;
    left: 49.5%;
    background-color: rgb(72, 242, 117);
    box-shadow: 0px 0px 15px lime;
}

.sec_hand {
    width: 0.5%;
    height: 40%;
    top: 10%;
    left: 49.75%;
    background-color: rgb(242, 72, 188);
    box-shadow: 0px 0px 15px rgb(241, 109, 230);
}
@media (max-width:700px) {
    .digital_clock{
        display: none;
        /* width: 25%;
        height: 12%;
        font-size: 20px; */
    }
    .num b{
        font-size: 20px;
    }
}