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

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #081b29;
    overflow: hidden;
}

.logo {
    position: absolute;
    display: flex;
    right: 219px;
    top: 85px;
    font-size: 20px;
    color: rgb(7, 240, 221);
}

.wrapper {
    position: relative;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bar-seconds,
.number_hours {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.bar-seconds span{
    position: absolute;
    transform: rotate(calc(var(--index) * 6deg));
    inset: -20px;
    text-align: center;
}

.bar-seconds span p {
    display: inline-block;
    width: 2px;
    height: 12px;
    background: #0ef;
    border-radius: 2px;
    box-shadow: 0 0 10px #0ef;
}

.bar-seconds span:nth-child(5n) p {
    background: #0ef;
    width: 6px;
    height: 18px;
    transform: translateY(1px);
}

.number_hours span {
    position: absolute;
    transform: rotate(calc(var(--index) * 30deg));
    inset: 6px;
    text-align: center;
}

.number_hours span p {
    font-size: 52px;
    color: rgb(11, 231, 234);
    text-shadow: 0 0 10px rgb(6, 146, 148);
    transform: rotate(calc(var(--index) * -30deg));
}

.hands-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hands-box .hand {
    position:absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
}

.hands-box .hand i {
    display: inline-block;
    transform-origin: bottom;
    border-radius: 50%;
    box-shadow: 0 0 10px #0ef;
}

.hands-box .hours {
    width: 320px;
    height: 320px;
}

.hands-box .hours i{
    width: 10px;
    height: 160px;
    background: #0ef;
}

.hands-box .minutes {
    width: 450px;
    height: 450px;
}

.hands-box .minutes::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: #0ef;
    border-radius: 50%;
    box-shadow: 0 0 5px #0ef;
}

.hands-box .minutes i{
    width: 7px;
    height: 225px;
    background: #0ef;
}

.hands-box .seconds {
    width: 480px;
    height: 480px;
}

.hands-box .seconds::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
}

.hands-box .seconds i{
    width: 4px;
    height: calc(240px + 70px);
    background: white;
    box-shadow: none;
}

@media screen and (max-width: 500px) {
    .wrapper {
        position: fixed;
        width: 345px;
        height: 345px;
    }

    .logo {
        position: absolute;
        display: flex;
        right: 141px;
        top: 82px;
        font-size: 20px;
        color: rgb(7, 240, 221);
    }

    .hands-box .seconds {
        width: 365px;
        height: 365px;
    }

    .hands-box .minutes {
        width: 320px;
        height: 320px;
    }

    .hands-box .hours {
        width: 250px;
        height: 250px;
    }

    .hands-box .seconds i{
        width: 4px;
        height: calc(225px);
        background: white;
        box-shadow: none;
    }

    .hands-box .minutes i{
        width: 7px;
        height: 170px;
        background: #0ef;
    }

    .hands-box .hours i{
        width: 8px;
        height: 135px;
        background: #0ef;
    }
}

@media screen and (max-width: 400px) {
    .wrapper {
        position: fixed;
        width: 325px;
        height: 325px;
    }

    .logo {
        position: absolute;
        display: flex;
        right: 141px;
        top: 82px;
        font-size: 20px;
        color: rgb(7, 240, 221);
    }

    .number_hours span p {
        font-size: 38px;
    }

    .hands-box .seconds {
        width: 325px;
        height: 325px;
    }

    .hands-box .minutes {
        width: 290px;
        height: 290px;
    }

    .hands-box .hours {
        width: 220px;
        height: 220px;
    }

    .hands-box .seconds i{
        width: 4px;
        height: calc(225px);
        background: white;
        box-shadow: none;
    }

    .hands-box .minutes i{
        width: 7px;
        height: 170px;
        background: #0ef;
    }

    .hands-box .hours i{
        width: 8px;
        height: 135px;
        background: #0ef;
    }
}