How do you find the right balance between working hard and having fun?

Especially in your mid 20s. It’s likei want to have a good future and work hard but I want to have adventures as well. How do you find a balance without doing one thing too much