modified the index and css. build the construture. use flexbox.