add rem as font size and fixed s3 transition bug