body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column; /* Arrange items vertically */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    background-color: #0000AA; /* C64 blue */
    color: #FFFFFF; /* C64 light gray/white text */
    font-family: 'C64 Pro', monospace; /* Use a C64 font if available */
}

.top-image {
    margin-bottom: 20px; /* Space between image and screen */
    width: 75px; /* Adjust as needed */
    height: auto;
}

.c64-screen {
    width: 80vw;
    height: 80vh;
    padding: 20px;
    background-color: #0000AA;
    color: #FFFFFF;
    font-family: "Courier New", monospace; /* Default monospace */
    font-size: 24px; /* Adjust to resemble the C64 screen */
    line-height: 1.5;
    border: 5px solid #FFFFFF; /* Optional border for screen frame effect */
    text-align: left;
    overflow-y: auto; /* Enable vertical scrolling */
    box-sizing: border-box; /* Ensure padding and border are included in width/height */
}

.c64-screen p {
    margin: 0;
    text-transform: uppercase;
    white-space: pre-wrap; /* Preserve whitespace and line breaks */
}

/* Blinking cursor animation */
.blinking-cursor {
    display: inline-block;
    background-color: #FFFFFF;
    width: 10px;
    height: 24px; /* Match the font size or adjust accordingly */
    vertical-align: bottom;
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.footer {
    font-size: 12px;
    color: #FFFFFF;
    text-align: center;
    margin-top: 20px;
}