Configured css and php logic to change the background color when it is day or night