/* Import Google Fonts for IBM Plex Mono */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;1,400&display=swap');

/* Official VCR OSD Mono font load */
@font-face {
    font-family: 'VCR OSD Mono';
    src: url('https://raw.githubusercontent.com/yocontra/yocontra.github.io/master/fonts/vcr_osd_mono_1.001-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --yeezy-gray: #767676;
    --hover-color: #b2aeae; 
}

html, body {
    height: 100%;
    width: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

.site-header {
    height: 40px;
    width: 100%;
}

.site-content {
    flex: 1;
}

.site-footer {
    padding-bottom: 20px;
    text-align: center;
}

/* Footer CONTACT button using exact VCR OSD Mono and Yeezy Gray */
.contact-trigger {
    background: none;
    border: none;
    color: var(--yeezy-gray);
    font-family: 'VCR OSD Mono', monospace;
    font-size: 20px;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.2s ease;
}

.contact-trigger:hover {
    color: var(--hover-color);
}

/* Modal Overlay */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 100;
    cursor: pointer; /* Indicates clicking anywhere closes modal */
}

.contact-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
}

.modal-content {
    position: relative;
    z-index: 10;
    padding: 40px;
    max-width: 700px;
    width: 90%;
}

/* Contact text content explicitly set to IBM Plex Mono */
.contact-text-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    font-family: 'IBM Plex Mono',monospace;
}

.text-block h2 {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    color: var(--text-color);
}

.text-block p {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--text-color);
}

.text-block a {
    color: var(--text-color);
    cursor: pointer;
}
