Modified CSS to adapt responsive layouts