@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


body {
    background-color: #1a1a1a;
}

a {
    text-decoration: none;
    text-underline-offset: -90000px;
}

h1 {
    color: #fffff3;
    font-family: Poppins;
    font-weight: 400;
    font-size: 50px;
}

table {
    width: 20%;
    /* Adjust the width as needed */
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    overflow: hidden;
    /* Ensure the rounded corners are visible */
    /* border: 1px solid #fffff3; */
}

tr {
    height: 0px;
}

td {
    padding: 8px;
    text-align: center;
    height: 0px;
}

.rainbow-element {
    font-size: 44px;
    color: #fffff3;
    text-decoration: none; /* Add this line to remove the underline */
}

.rainbow-element:hover {
    background-image: linear-gradient(90deg, #fd004c, #fe9000, #fff020, #3edf4b, #3363ff, #b102b7, #fd004c, #fe9000);
    background-size: 600% 600%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: rainbow 2s linear infinite;
    transition: color 0.5s ease-in-out, background 0.5s ease-in-out;
}

@keyframes rainbow {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

#time-container {
    width: 100%; /* Set a fixed width for the container */
    text-align: center; /* Center the content within the container */
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally */
}

#time, #ampm {
    margin-right: 10px; /* Adjust margin for spacing between time and AM/PM */
}