Heavy rain has led to road closures and affected rail travel in some parts of the country as weather warnings remain in place.A Met Office yellow alert for rain in Perth and Kinross, the Stirling area and parts of north-east Scotland is in force until midnight and warns there may be flooding.Perth and Kinross Council said many roads in the area were closed due to flooding as of 6am on Friday including the A94 between A93 Meiklour crossroads and A923 Bendochy crossroads, and the Queen’s Bridge in Perth.On the railways, ScotRail said speed restrictions will be in place on the Inverness to Edinburgh/Glasgow/Aberdeen, the Glasgow to Dumfries, the Stranraer to Ayr/Kilmarnock and the Glasgow to Mallaig/Oban lines.