#typing {
    color: #fff;
    font-size: 1rem;
    margin: 0;
    display: inline-block;
    font-family: 'Roboto Mono', monospace;
    white-space: nowrap;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    vertical-align: middle;
}

#cursor {
    color: #fff;
    animation: blink 1s infinite;
    font-family: 'Roboto Mono', monospace;
    display: inline-block;
    font-size: 1rem;
    vertical-align: middle;
    line-height: 1;
    margin-left: 2px;
}

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

/* Ensure the typing container stays on one line */
.hero-section span {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    vertical-align: middle;
    line-height: 1;
    margin-bottom: 0.25rem;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    #typing {
        white-space: normal;
        word-break: break-word;
        display: inline;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    #cursor {
        display: inline;
        font-size: 0.9rem;
        margin-left: 1px;
    }

    .hero-section span {
        white-space: normal;
        word-break: break-word;
        display: inline;
        line-height: 1.4;
        margin-bottom: 0.2rem;
    }
}

@media (max-width: 480px) {
    #typing {
        font-size: 0.85rem;
    }
    
    #cursor {
        font-size: 0.85rem;
    }
    
    .hero-section span {
        margin-bottom: 0.15rem;
    }
} 