I want to put 2 different sized texts on the same line. Below are my criteria:

* Right side is right justified and is normalsize
* left side is left justified and is large
* must dynamically change to fit depending on the size of the text, i.e. no predefined minipages

Currently, I am trying to use \hfill, but it is putting the right side on a new line, like shown in the picture. Any help would be greatly appreciated!

```
\newcommand{\resumesection}[2]{
    \bigskip
    {\color{heading}\LARGE\bfseries\MakeUppercase{#1} \hfill \color{heading}\normalsize\bfseries\vfill\RaggedRight{#2}}\\
    {\color{heading}\rule{\linewidth}{1pt}\par}\medskip
}

```

[![Output from above text, not what I am looking for](https://i.stack.imgur.com/40Hqe.png)](https://i.stack.imgur.com/40Hqe.png)