I've already found a way to solve this with this line of code:
app = Flask(__name__, template_folder="../templates", static_folder="../static")
after setting the static folder it worked, but remember! use the 2 points before the slash or it won't work.