body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    margin: 0; /* Remove default margin */
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #191919;
        color: white;
    }
}

.clock-container {
    width: 90vw; /* Adjust the size of the clock based on the viewport width */
    height: 90vw; /* Keep the height equal to the width for a perfect circle */
    max-width: 95%; /* Maximum size */
    max-height: 95%; /* Maximum size */
    border-radius: 50%; /* Perfect circle */
    padding: 1%; /* Relative padding */
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1.55px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    border: 3% solid white; /* Relative border size */
    box-shadow: inset 2px 3px 9px 0 rgba(0, 0, 0, 0.25);
}

.wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 2px 3px 8px 0 rgba(0, 0, 0, 0.1);
}

.minute, .hour, .second {
    position: absolute;
    left: 50%; /* Center horizontally */
    bottom: 50%; /* Set bottom to the middle of the parent */
    transform-origin: bottom center;
    background: black;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
    z-index: 1;
    transform: translateX(-50%) rotate(0deg); /* Adjust for centering and initial rotation */
}

.hour {
    height: 25%; /* Relative to parent */
    width: 3%;
    /* Other styles */
}

.minute {
    height: 35%;
    width: 2%;
    transform: translateX(-50%) rotate(90deg); /* Adjust for centering and initial rotation */
}

.second {
    height: 40%;
    width: 1%;
    background: #FF4B3E;
    transform: translateX(-50%) rotate(180deg); /* Adjust for centering and initial rotation */
}


.dot {
    width: 4%;
    height: 4%;
    border-radius: 50%;
    background: white;
    border: 2px solid #1b1b1b;
    position: absolute;
    top: 50%;
    left: 51%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
