.typewriter-container {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.5;
}

.typewriter-text {
    display: inline-block;
}

.cursor {
    animation: blink 1s step-end infinite;
    margin-left: 2px;
    display: inline-block;
}

/* Size classes */
.typewriter-sm {
    font-size: 0.875rem;
    opacity: 0.9;
}

.typewriter-md {
    font-size: 1rem;
}

.typewriter-lg {
    font-size: 1.25rem;
}

@keyframes blink {
    from, to {
        color: transparent;
    }
    50% {
        color: inherit;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .typewriter-sm {
        font-size: 0.8rem;
    }
    
    .typewriter-md {
        font-size: 0.9rem;
    }
    
    .typewriter-lg {
        font-size: 1.1rem;
    }
}
