changed width: 100% to max-width: 100%