Interface to prioritize multiple criteria of results when searching

I would like to present a user multiple aspects to prioritize, e.g. do you want a hotel room to be close to your location, cheap, comfortable, ….

I’m thinking about making three buttons, [Close][Cheap][Comfortable]. When you click on one button, it means that it’s important to you, and the button grows bigger and the others get smaller, showing that you have to make a trade-off and choose to prioritize one or two aspects. I did a proof of concept in CodePen:

What are your priorities? (cheap) (close) (comfortable)

Live example on CodePen

What do you think of this design? Are there good alternatives?