@font-face {
    font-family: 'ibm';
    src: url(IBM.woff);
    font-display: swap;
}

body {
    font-family: 'ibm', monospace;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #ffffff;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#loading-gif {
    max-width: 300px;
    width: 80%;
    height: auto;
}

#content {
    text-align: center;
    padding: 20px;
}

.hidden {
    display: none;
}

#header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

#title-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 20px;
}


h1 {
    color: #000000;
    font-size: 48px;
    margin: 0;
    padding: 0;
    text-rendering: pixelated;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
    /* font-smooth: never; */
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    white-space: nowrap;
}

#subtitle {
    color: #000000;
    font-size: 11.5px;
    margin: 5px 0 0 0;
    padding: 0;
    max-width: 100%;
    text-align: left;
    line-height: 1.2;
    white-space: nowrap;
}


html, body {
    font-size: 16px;
}

h1 { font-size: 3rem; }
.social-link { font-size: 1rem; }

#logo {
    height: 100px;
    width: auto;
}

#social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    text-decoration: none;
    color: #000000;
    background-color: #ffffff;
    padding: 0px 0px;
    border-radius: 0px;
}

.social-link:hover {
    color: #ffffff;
    background-color: #000000;
}

.email-link {
    text-decoration: none;
    color: #000000;
    font-size: 11.5px;  /* Match the subtitle font size */
    background-color: transparent;
}

.email-link:hover {
    color: #ffffff;
    background-color: #000000;
}

#bio-text {
    font-family: 'ibm', monospace;
    font-size: 11.5px;  /* Same as subtitle text */
    color: #000000;
    text-align:justify;
    text-align-last:justify;
    max-width: 230px;  /* Controls text wrapping width */
    margin: 0 auto 30px auto;  /* Centers the text and adds space before social links */
    line-height: 1.4;  /* Provides nice spacing between lines */
}