.clocks-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Adjusted gap */
}
.clock-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.city-name {
    font-size: 1rem; /* Adjusted font size */
    font-weight: bold;
    margin-bottom: 8px; /* Adjusted margin */
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px; /* Adjusted gap */
}
.digital-time {
    font-size: 1rem; /* Adjusted font size */
    font-weight: bold;
    margin-top: 3px; /* Adjusted margin */
    color: #333;
    font-family: 'Courier New', monospace;
}
.clock {
    width: 100px; /* Updated width */
    height: 100px; /* Updated height */
    position: relative;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2); /* Adjusted shadow */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.5s ease;
}
.clock-face {
    width: 90px; /* Adjusted width */
    height: 90px; /* Adjusted height */
    border-radius: 50%;
    position: relative;
    background-color: #fff;
    transition: background-color 0.5s ease;
}

/* Night mode for clocks */
.night-mode {
    background-color: #111;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.1); /* Adjusted shadow */
}

.night-mode .clock-face {
    background-color: #222;
}
/* Clock numbers - day mode */
.clock-face::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 15%, #000 1px, transparent 1px),    /* 12 */
        radial-gradient(circle at 85% 30%, #000 1px, transparent 1px),    /* 1 */
        radial-gradient(circle at 95% 50%, #000 1px, transparent 1px),    /* 3 */
        radial-gradient(circle at 85% 70%, #000 1px, transparent 1px),    /* 5 */
        radial-gradient(circle at 50% 85%, #000 1px, transparent 1px),    /* 6 */
        radial-gradient(circle at 15% 70%, #000 1px, transparent 1px),    /* 7 */
        radial-gradient(circle at 5% 50%, #000 1px, transparent 1px),     /* 9 */
        radial-gradient(circle at 15% 30%, #000 1px, transparent 1px);    /* 11 */
}

/* Clock numbers - night mode */
.night-mode .clock-face::before {
    background:
        radial-gradient(circle at 50% 15%, #fff 1px, transparent 1px),    /* 12 */
        radial-gradient(circle at 85% 30%, #fff 1px, transparent 1px),    /* 1 */
        radial-gradient(circle at 95% 50%, #fff 1px, transparent 1px),    /* 3 */
        radial-gradient(circle at 85% 70%, #fff 1px, transparent 1px),    /* 5 */
        radial-gradient(circle at 50% 85%, #fff 1px, transparent 1px),    /* 6 */
        radial-gradient(circle at 15% 70%, #fff 1px, transparent 1px),    /* 7 */
        radial-gradient(circle at 5% 50%, #fff 1px, transparent 1px),     /* 9 */
        radial-gradient(circle at 15% 30%, #fff 1px, transparent 1px);    /* 11 */
}
.hour-hand,
.minute-hand,
.second-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: 50% 100%;
}
.hour-hand {
    width: 3px; /* Adjusted width */
    height: 25px; /* Adjusted height */
    background-color: black;
    border-radius: 1.5px; /* Adjusted border-radius */
    transform: translateX(-50%);
    z-index: 3;
    transition: background-color 0.5s ease;
}
.minute-hand {
    width: 2px; /* Adjusted width */
    height: 35px; /* Adjusted height */
    background-color: black;
    border-radius: 1px; /* Adjusted border-radius */
    transform: translateX(-50%);
    z-index: 2;
    transition: background-color 0.5s ease;
}
.second-hand {
    width: 1px; /* Adjusted width */
    height: 45px; /* Adjusted height */
    background-color: red;
    border-radius: 0.5px; /* Adjusted border-radius */
    transform: translateX(-50%);
    z-index: 1;
}
.center-circle {
    width: 6px; /* Adjusted width */
    height: 6px; /* Adjusted height */
    background-color: #555;
    border: 1px solid black; /* Adjusted border */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    transition: border-color 0.5s ease;
}

/* Night mode clock hands */
.night-mode .hour-hand,
.night-mode .minute-hand {
    background-color: white;
}

.night-mode .center-circle {
    border-color: white;
}
.time-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px; /* Adjusted margin */
    text-align: center;
}
.time-list li {
    font-size: 1rem; /* Adjusted font size */
    margin: 8px 0; /* Adjusted margin */
}


.city-name img {
    width: 30px; /* Adjusted image size */
}