/* Import a developer-style monospace font */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

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

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Roboto Mono', monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents scrollbars */
}

.header {
    text-align: center;
    margin-bottom: 2rem;
    z-index: 10; /* Keeps text above the globe if they overlap */
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.header p {
    color: #888888;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.globe-container {
    width: 100%;
    max-width: 600px; /* Limits how big it gets on desktop */
    aspect-ratio: 1 / 1; /* Keeps it a perfect square */
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    width: 100% !important;
    height: 100% !important;
    cursor: grab;
    opacity: 0;
    animation: fadeIn 2s forwards ease-in-out; /* Smooth load in */
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
