/* styles.css */
body, html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    background-color: #202120;
    color: #bbbbbb;
    position: relative;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.names {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 200px; /* Adjust this value based on the image width */
    font-size: 18px; /* Increased font size */
    font-weight: bold;
    margin-top: 10px;
}
.right-name {
    margin-top: 2px;
    transform: rotate(1deg);
    position: relative;
    transition: transform 0.1s linear;
    color: #bbbbbb; /* Ensure the same color */
}
.subtext {
    font-size: 12px; /* Smaller font size for subtext */
    margin-top: 5px;
    width: 100%;
    max-width: 200px;
}
img {
    max-width: 100%;
    height: auto;
}
.footer {
    position: fixed;
    bottom: 5px; /* Slightly above the bottom to avoid the very edge */
    right: 5px; /* Positioned to the right */
    background-color: #202120;
    color: #bbbbbb;
    text-align: right; /* Align text to the right */
    padding: 10px;
    font-size: 12px;
}
#counter {
    position: fixed;
    bottom: 0;
    left: 0;
    font-size: 18px;
    font-weight: bold;
    color: #bbbbbb; /* Ensure the same color */
    font-family: 'Roboto Mono', monospace; /* Use monospace for digital clock style */
    padding: 10px;
    z-index: 9999; /* High z-order to ensure it's always visible */
}
.hidden {
    display: none;
}
#initialsContainer {
    display: none; /* Hide by default */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #202120; /* Same background color as the site */
    padding: 20px;
    border-radius: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000; /* High z-order to ensure it's above everything else */
}

.initials-fields {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.congrats-message {
    font-size: 18px;
    margin-bottom: 20px;
}

.initials-field {
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 2px solid #bbb;
    border-radius: 10px;
    margin: 10px;
    font-size: 36px;
    text-align: center;
    line-height: 60px;
    background-color: #444;
    color: #fff;
    cursor: pointer;
}

#submitBtn {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 24px;
}

#loadingDots {
    display: inline-block;
    width: 1em;
    text-align: left;
}

.blinking-cursor {
    border-right: 2px solid #fff;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

#leaderboard {
    margin-top: auto; /* Centering the table */
    margin-bottom: auto; /* Centering the table */
}