.rectangle-box {
    position: relative;
    width: 100%;
    height: 250px;
    border: 1px solid #000;
    overflow: visible;
    direction: ltr; /* Ensure the main container is LTR */

}

.rectangle-box .section {
    height: 20%;
    position: relative;
    border-bottom: 1px solid #000;
}

.rectangle-box .section .gray-bar {
    position: absolute;
    height:100%;
    background-color: gray;
}

.rectangle-box .red-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: red;
}

.rectangle-box .red-line .time-label {
    position: absolute;
    top: -25px;
    left: 50% !important;
    transform: translateX(-50%);
    background: white;
    padding: 2px 10px;
    border: 1px solid black;
    white-space: nowrap;
    font-size: 12px;
    transform: translateX(-50%); 

}

.time-labels {
    display: flex;
    justify-content: space-between; 
    width: 100%; 
    padding: 0; 
    margin-top: 5px;
    direction: ltr; 

}

.time-labels span {
    flex: 1; 
    text-align: center; 
}

.Sydney-text, .Tokyo-text, .London-text, .NY-text, .VOL-text {
    position: absolute;
    left: 50%; 
    transform: translateX(-50%);
    font-size: 16px; 
    font-weight: bold; /* Optional */
    z-index: 10; /* Ensure this is in front */
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;  
    color: #2C4719; 
}

#sydney-time, #tokyo-time, #london-time, #ny-time {
    /* margin-left: 10px; Adjust as needed */
    font-size: 12px; /* Match the text size */
    color: #2C4719;

}

.curvy-line {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Hide even numbers on screens narrower than a certain width */
@media (max-width: 1200px) {
    .time-labels .even {
        display: none; 
    }
}


