
.clock {
    position: relative;
    width: 300px;
    height: 300px;
    border: 3px solid black;
    border-radius: 50%;
}

.hour-marker {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
}

.second-marker {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
}

.hour-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 16px;
    background-color: black;
}

.second-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background-color: black;
}

.hour-number {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
}

.hand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: bottom center;
}

.hour-hand {
    width: 4px;
    height: 96px;
    transform: translate(-50%, -100%);
    background-color: black;
}

.minute-hand {
    width: 2px;
    height: 128px;
    transform: translate(-50%, -100%);
    background-color: black;
}

.second-hand {
    width: 1px;
    height: 140px;
    transform: translate(-50%, -100%);
    background-color: red;
}

.center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background-color: black;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.newminutes-display {
    text-align: center;
    margin-top: 16px;
    font-size: 24px;
    font-weight: bold;
}

.digital-clock{
    text-align: center;
    margin-top: 16px;
    font-size: 24px;
    font-weight: bold;
    color: green;
}

@media (max-width: 600px) {
    .clock {
        width: 200px;
        height: 200px;
        border-width: 2px;
    }

    .hour-line {
        width: 3px;
        height: 10px;
    }

    .second-line {
        width: 1px;
        height: 5px;
    }

    .hour-number {
        top: 16px;
        font-size: 9px;
    }

    .hour-hand {
        width: 3px;
        height: 64px;
    }

    .minute-hand {
        width: 1.5px;
        height: 85px;
    }

    .second-hand {
        width: 0.67px;
        height: 93px;
    }

    .center-dot {
        width: 10.67px;
        height: 10.67px;
    }
}
