changing calc() to value percentual