@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');

.container {
    display: flex;
    gap: 2rem;
    gap: 2rem;
    padding: 5rem 2rem;
    height: 100vh;
}

.editor {
    width: 100%;
    height: 100%;
    font-family: 'Google Sans Code';
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.2;
    background: #111;
    color: white;
    padding: 1rem;
    border-radius: 12px;
    outline: 2px solid var(--accent-100);
}

.preview-container {
    position: relative;
    display: flex;
    aspect-ratio: 1 / 1;
    outline: 2px solid var(--accent-100);
}

.preview {
    width: 100%;
    height: 100%;
    background: #ffffff11;
}

#cursorPos {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 999;
    margin: 0.2rem;
    font-size: 0.8rem;
    color: var(--text-100);
    user-select: none;
    pointer-events: none;
}
