* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.time {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(45deg, #08001f, #30197d);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.container {
    width: 800px;
    height: 180px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.clock {
    width: 100%;
    height: 100%;
    background: rgba(235, 0, 255, 0.11);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(40px);
    flex-direction: row; /* Align horizontally */
}

.clock span {
    font-size: 80px;
    display: inline-block;
    text-align: center;
    position: relative;
    margin: 0 5px; /* Add margin between time elements */
}

.clock span::after {
    font-size: 16px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translate(-50%);
}

#hrs::after {
    content: 'HOURS';
}

#mins::after {
    content: 'MINS';
}

#sec::after {
    content: 'SEC';
}

/* Style for AM/PM */
#period {
    font-size: 32px;
    color: #f0f0f0;
    font-weight: bold;
    margin-left: 5px; /* Space between seconds and AM/PM */
}

#period.AM {
    color: #32CD32; /* Green for AM */
}

#period.PM {
    color: #FF6347; /* Red for PM */
}

#timezone {
    text-align: center;
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
}
