/* C64 Terminal Style CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #7C70DA; /* Background color */
    font-family: 'C64 Pro Mono', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.c64-terminal {
    width: 80vw; /* 4/3 ratio with 10% outer borders */
    height: 60vh;
    border: none;
    background-color: #40318D; /* Background color */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Terminal lines styling */
.terminal-line {
    color: #6C5EB5; /* Text color */
    font-size: 16px;
    line-height: 1.2;
    padding: 4px 8px;
    flex-shrink: 0;
}

.first-line {
    color: #6C5EB5; /* Text color */
    text-align: center;
    font-weight: bold;
    margin-top: 5px;
}

.second-line {
    color: #6C5EB5; /* Text color */
    text-align: center;
    margin-bottom: 5px;
}

.third-line {
    color: #6C5EB5; /* Text color */
    text-align: center;
    margin-bottom: 10px;
}

.bottom-line {
    text-align: center;
    padding: 4px 0;
    border-top: 1px solid #6C5EB5;
}

.cookie-banner {
    text-align: center;
    padding: 4px 0;
    color: #6C5EB5;
    font-size: 14px; /* Slightly smaller than other lines */
}

/* Navigation links styling */
a[data-page="home"],
a[data-page="services"], 
a[data-page="contact"] {
    color: #C18178;
    text-decoration: none;
}

.content-area {
    color: #6C5EB5; /* Text color */
    flex-grow: 1;
    overflow-y: auto;
    padding: 8px;
    margin-bottom: 25px; /* Space for bottom line */
}

/* Custom scrollbar styling to match C64 theme */
.content-area::-webkit-scrollbar {
    width: 8px;
}

.content-area::-webkit-scrollbar-track {
    background: #40318D;
}

.content-area::-webkit-scrollbar-thumb {
    background: #6C5EB5;
    border-radius: 4px;
}

/* Flashing cursor effect for C64 terminal */
.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: #6C5EB5;
    animation: blink 1s infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsive design */
@media (max-width: 768px) {
    .c64-terminal {
        width: 95vw;
        height: 70vh;
    }
    
    .terminal-line {
        font-size: 14px;
    }
}
