
  const textLines = [

    { en: "I like walking in nature.", es: "Me gusta caminar en la naturaleza." },

    { en: "When I was younger, I went to the river often.", es: "Cuando era más joven, iba al río a menudo." },

    { en: "I walked with my family or alone.", es: "Caminaba con mi familia o solo." },

    { en: "The river was near the forest.", es: "El río estaba cerca del bosque." },

    { en: "I liked to hear the sound of water.", es: "Me gustaba escuchar el sonido del agua." },

    { en: "Sometimes I sat on a rock and relaxed.", es: "A veces me sentaba en una roca y me relajaba." },

    { en: "There were trees, birds, and flowers.", es: "Había árboles, pájaros y flores." },

    { en: "I felt happy and free.", es: "Me sentía feliz y libre." },

    { en: "Now, I still enjoy walking and hiking.", es: "Ahora, todavía disfruto caminar y hacer senderismo." }

  ];



  const contextualTranslations = [

  { "I": "Me", "like": "gusta", "walking": "caminar", "in": "en", "nature": "la naturaleza" },

  { "When": "Cuando", "I": "era", "was": "más joven", "younger": "", "went": "iba", "to": "al", "the": "el", "river": "río", "often": "a menudo" },

  { "I": "Caminaba", "walked": "Caminaba", "with": "con", "my": "mi", "family": "familia", "or": "o", "alone": "solo" },

  { "The": "El", "river": "río", "was": "estaba", "near": "cerca de", "the": "el", "forest": "bosque" },

  { "I": "Me", "liked": "gustaba", "to": "", "hear": "escuchar", "the": "el", "sound": "sonido", "of": "del", "water": "agua" },

  { "Sometimes": "A veces", "I": "me", "sat": "sentaba", "on": "en", "a": "una", "rock": "roca", "and": "y", "relaxed": "me relajaba" },

  { "There": "Había", "were": "había", "trees": "árboles", "birds": "pájaros", "and": "y", "flowers": "flores" },

  { "I": "Me", "felt": "sentía", "happy": "feliz", "and": "y", "free": "libre" },

  { "Now": "Ahora", "I": "todavía", "still": "disfruto", "enjoy": "caminar", "walking": "caminar", "and": "y", "hiking": "hacer senderismo" }

];



  let blanks = [];